source: spec/trunk/SPECS/gcc4.spec@ 17

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

spec: initial import for base .spec files.

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1%global gcc_version 4.4.4
2
3Summary: Various compilers (C, C++, Objective-C, Java, ...)
4Name: gcc
5Version: %{gcc_version}
6Release: 1
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
16Obsoletes: gcc < %{gcc_version}
17Requires: libgcc = %{gcc_version}
18Requires: libc-devel >= 0.6.3
19
20%description
21The gcc package contains the GNU Compiler Collection version 4.4.
22You'll need this package in order to compile C code.
23
24%package -n libgcc
25Summary: GCC version 4.4 shared support library
26Group: System Environment/Libraries
27Autoreq: false
28
29%description -n libgcc
30This package contains GCC shared support library which is needed
31e.g. for exception handling support.
32
33%prep
34%setup -q -n gcc-%{version}
35
36%install
37rm -rf $RPM_BUILD_ROOT
38mkdir -p %{buildroot}%{_usr}
39cp -r "*" %{buildroot}%{_usr}
40
41%clean
42rm -rf %{buildroot}
43
44%files
45%defattr(-,root,root,-)
46%{_usr}/bin
47%{_usr}/include
48%{_libdir}/*.*a
49%{_libdir}/*.spec
50%{_libdir}/gcc/*
51%{_usr}/libexec
52%{_usr}/man
53%{_usr}/share
54
55
56%files -n libgcc
57%defattr(-,root,root,-)
58%{_libdir}/gcc444.dll
59%doc %{_datadir}/doc/*
60
61%changelog
Note: See TracBrowser for help on using the repository browser.