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

Last change on this file since 222 was 217, checked in by Yuri Dario, 14 years ago

spec: gcc&libc csd4 build update.

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1%global gcc_version 3.3.5
2
3Summary: Various compilers (C, C++, Objective-C, Java, ...)
4Name: gcc
5Version: %{gcc_version}
6Release: 5%{?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 -c
34
35
36%install
37rm -rf $RPM_BUILD_ROOT
38mkdir -p %{buildroot}%{_bindir}
39mkdir -p %{buildroot}%{_includedir}
40mkdir -p %{buildroot}%{_libdir}
41mkdir -p %{buildroot}%{_usr}/man
42mkdir -p %{buildroot}%{_usr}/share
43cp -p -r "usr/bin/*" %{buildroot}%{_bindir}
44cp -p -r "usr/include/*" %{buildroot}%{_includedir}
45cp -p -r "usr/lib/*" %{buildroot}%{_libdir}
46cp -p -r "usr/man/*" %{buildroot}%{_usr}/man
47cp -p -r "usr/share/*" %{buildroot}%{_usr}/share
48
49%clean
50rm -rf %{buildroot}
51
52
53%files
54%defattr(-,root,root,-)
55%{_usr}/bin
56%{_usr}/include
57%{_libdir}/*.*a
58%{_libdir}/gcc-lib/*
59%{_usr}/man
60%{_usr}/share
61
62
63%files -n libgcc335
64%defattr(-,root,root,-)
65%{_libdir}/gcc335.dll
66%doc usr/doc/gcc-3.3.5/*
67
68
69%changelog
70* Tue Sep 04 2011 yd
71- update to csd4
Note: See TracBrowser for help on using the repository browser.