56 Source3: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{V_full}/gcc-java-%{V_full}.tar.bz2 |
56 Source3: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{V_full}/gcc-java-%{V_full}.tar.bz2 |
57 Source4: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{V_full}/gcc-fortran-%{V_full}.tar.bz2 |
57 Source4: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{V_full}/gcc-fortran-%{V_full}.tar.bz2 |
58 Patch0: gcc.patch |
58 Patch0: gcc.patch |
59 |
59 |
60 # build information |
60 # build information |
|
61 Prefix: %{l_prefix} |
|
62 BuildRoot: %{l_buildroot} |
61 BuildPreReq: OpenPKG, openpkg >= 20100101, make |
63 BuildPreReq: OpenPKG, openpkg >= 20100101, make |
62 PreReq: OpenPKG, openpkg >= 20100101 |
64 PreReq: OpenPKG, openpkg >= 20100101 |
63 %if "%{with_binutils}" == "yes" |
65 %if "%{with_binutils}" == "yes" |
64 BuildPreReq: binutils >= 2.14 |
66 BuildPreReq: binutils >= 2.14 |
65 PreReq: binutils >= 2.14 |
67 PreReq: binutils >= 2.14 |
72 %endif |
74 %endif |
73 %if "%{with_java}" == "yes" |
75 %if "%{with_java}" == "yes" |
74 BuildPreReq: zlib |
76 BuildPreReq: zlib |
75 PreReq: zlib |
77 PreReq: zlib |
76 %endif |
78 %endif |
|
79 AutoReq: no |
|
80 AutoReqProv: no |
77 |
81 |
78 %description |
82 %description |
79 The GNU Compiler Collection (GCC) provides standard conforming and |
83 The GNU Compiler Collection (GCC) provides standard conforming and |
80 highly portable compilers for the ISO C, ISO C++, Objective-C, |
84 highly portable compilers for the ISO C, ISO C++, Objective-C, |
81 Fortran and Java languages. |
85 Fortran and Java languages. |
273 LIBCFLAGS="${l_libcflags}" \ |
277 LIBCFLAGS="${l_libcflags}" \ |
274 LIBCXXFLAGS="${l_libcxxflags}" \ |
278 LIBCXXFLAGS="${l_libcxxflags}" \ |
275 $maketarget |
279 $maketarget |
276 |
280 |
277 %install |
281 %install |
|
282 rm -rf $RPM_BUILD_ROOT |
278 |
283 |
279 # fetch GNU platform triple |
284 # fetch GNU platform triple |
280 triple=`./config.guess` |
285 triple=`./config.guess` |
281 |
286 |
282 # perform the standard installation procedure |
287 # perform the standard installation procedure |