source: spec/trunk/SPECS/gcc3.spec@ 117

Last change on this file since 117 was 117, checked in by Yuri Dario, 15 years ago

spec: added dist tag to release build number.

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1%global gcc_version 3.3.5
2
3Summary: Various compilers (C, C++, Objective-C, Java, ...)
4Name: gcc
5Version: %{gcc_version}
6Release: 2%{?dist}
7# libgcc, libgfortran, libmudflap, libgomp, libstdc++ and crtstuff have
8# GCC Runtime Exception.
9License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
10Group: Development/Languages
11Source0: gcc-%{version}.zip
12URL: http://gcc.gnu.org
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
15
16Requires: libgcc = %{gcc_version}
17Requires: libc-devel >= 0.6.3
18
19%description
20The gcc package contains the GNU Compiler Collection version 4.4.
21You'll need this package in order to compile C code.
22
23%package -n libgcc335
24Summary: GCC version 3.3 shared support library
25Group: System Environment/Libraries
26Autoreq: false
27
28%description -n libgcc335
29This package contains GCC shared support library which is needed
30e.g. for exception handling support.
31
32%prep
33%setup -q -n gcc-%{version}
34
35%install
36rm -rf $RPM_BUILD_ROOT
37mkdir -p %{buildroot}%{_usr}
38cp -r "*" %{buildroot}%{_usr}
39
40%clean
41rm -rf %{buildroot}
42
43%files
44%defattr(-,root,root,-)
45%{_usr}/bin
46%{_usr}/include
47%{_libdir}/*.*a
48%{_libdir}/gcc-lib/*
49%{_usr}/man
50%{_usr}/share
51
52
53%files -n libgcc335
54%defattr(-,root,root,-)
55%{_libdir}/gcc335.dll
56%doc %{_datadir}/doc/*
57
58%changelog
Note: See TracBrowser for help on using the repository browser.