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 |
|
---|
3 | Summary: Various compilers (C, C++, Objective-C, Java, ...)
|
---|
4 | Name: gcc
|
---|
5 | Version: %{gcc_version}
|
---|
6 | Release: 2%{?dist}
|
---|
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 | Requires: libgcc = %{gcc_version}
|
---|
17 | Requires: libc-devel >= 0.6.3
|
---|
18 |
|
---|
19 | %description
|
---|
20 | The gcc package contains the GNU Compiler Collection version 4.4.
|
---|
21 | You'll need this package in order to compile C code.
|
---|
22 |
|
---|
23 | %package -n libgcc335
|
---|
24 | Summary: GCC version 3.3 shared support library
|
---|
25 | Group: System Environment/Libraries
|
---|
26 | Autoreq: false
|
---|
27 |
|
---|
28 | %description -n libgcc335
|
---|
29 | This package contains GCC shared support library which is needed
|
---|
30 | e.g. for exception handling support.
|
---|
31 |
|
---|
32 | %prep
|
---|
33 | %setup -q -n gcc-%{version}
|
---|
34 |
|
---|
35 | %install
|
---|
36 | rm -rf $RPM_BUILD_ROOT
|
---|
37 | mkdir -p %{buildroot}%{_usr}
|
---|
38 | cp -r "*" %{buildroot}%{_usr}
|
---|
39 |
|
---|
40 | %clean
|
---|
41 | rm -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.