|
Last change
on this file since 54 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 |
|
|---|
| 3 | Summary: Various compilers (C, C++, Objective-C, Java, ...)
|
|---|
| 4 | Name: gcc
|
|---|
| 5 | Version: %{gcc_version}
|
|---|
| 6 | Release: 1
|
|---|
| 7 | # libgcc, libgfortran, libmudflap, libgomp, libstdc++ and crtstuff have
|
|---|
| 8 | # GCC Runtime Exception.
|
|---|
| 9 | License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
|
|---|
| 10 | Group: Development/Languages
|
|---|
| 11 | Source0: gcc-%{version}.zip
|
|---|
| 12 | URL: http://gcc.gnu.org
|
|---|
| 13 |
|
|---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
|
|---|
| 15 |
|
|---|
| 16 | Obsoletes: gcc < %{gcc_version}
|
|---|
| 17 | Requires: libgcc = %{gcc_version}
|
|---|
| 18 | Requires: libc-devel >= 0.6.3
|
|---|
| 19 |
|
|---|
| 20 | %description
|
|---|
| 21 | The gcc package contains the GNU Compiler Collection version 4.4.
|
|---|
| 22 | You'll need this package in order to compile C code.
|
|---|
| 23 |
|
|---|
| 24 | %package -n libgcc
|
|---|
| 25 | Summary: GCC version 4.4 shared support library
|
|---|
| 26 | Group: System Environment/Libraries
|
|---|
| 27 | Autoreq: false
|
|---|
| 28 |
|
|---|
| 29 | %description -n libgcc
|
|---|
| 30 | This package contains GCC shared support library which is needed
|
|---|
| 31 | e.g. for exception handling support.
|
|---|
| 32 |
|
|---|
| 33 | %prep
|
|---|
| 34 | %setup -q -n gcc-%{version}
|
|---|
| 35 |
|
|---|
| 36 | %install
|
|---|
| 37 | rm -rf $RPM_BUILD_ROOT
|
|---|
| 38 | mkdir -p %{buildroot}%{_usr}
|
|---|
| 39 | cp -r "*" %{buildroot}%{_usr}
|
|---|
| 40 |
|
|---|
| 41 | %clean
|
|---|
| 42 | rm -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.