|
|
|
@ -1,7 +1,8 @@
|
|
|
|
|
## |
|
|
|
|
## gcc2.spec -- OpenPKG RPM Specification |
|
|
|
|
## Copyright (c) 2000-2001 Cable & Wireless Deutschland GmbH |
|
|
|
|
## Copyright (c) 2000-2001 Ralf S. Engelschall <rse@engelschall.com> |
|
|
|
|
## Copyright (c) 2000-2002 Cable & Wireless Deutschland GmbH |
|
|
|
|
## Copyright (c) 2000-2002 The OpenPKG Project <http://www.openpkg.org/> |
|
|
|
|
## Copyright (c) 2000-2002 Ralf S. Engelschall <rse@engelschall.com> |
|
|
|
|
## |
|
|
|
|
## Permission to use, copy, modify, and distribute this software for |
|
|
|
|
## any purpose with or without fee is hereby granted, provided that |
|
|
|
@ -24,15 +25,15 @@
|
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: gcc2 |
|
|
|
|
Summary: Old GNU C/C++ Compiler |
|
|
|
|
Group: Language |
|
|
|
|
Summary: Old GNU C/C++ Compiler (2.95) |
|
|
|
|
URL: http://gcc.gnu.org/ |
|
|
|
|
Vendor: Free Software Foundation |
|
|
|
|
Packager: rse@openpkg.org |
|
|
|
|
Packager: The OpenPKG Project |
|
|
|
|
Distribution: OpenPKG [EXP] |
|
|
|
|
Group: Language |
|
|
|
|
License: GPL |
|
|
|
|
Version: 2.95.3 |
|
|
|
|
Release: 20020206 |
|
|
|
|
Release: 20020311 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: ftp://gcc.gnu.org/pub/gcc/releases/%{version}/gcc-%{version}.tar.bz2 |
|
|
|
@ -42,13 +43,15 @@ Patch1: gcc-2.95.3.patch-freebsd
|
|
|
|
|
# build information |
|
|
|
|
Prefix: %{l_prefix} |
|
|
|
|
BuildRoot: %{l_buildroot} |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20020206.0.0, make |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20020206.0.0 |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20020206, make |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20020206 |
|
|
|
|
AutoReq: no |
|
|
|
|
AutoReqProv: no |
|
|
|
|
|
|
|
|
|
%description |
|
|
|
|
The GNU Compiler Collection (GCC) provides C and C++ compilers. |
|
|
|
|
This is an old version of GCC. Do not use it unless you have a good |
|
|
|
|
reason. |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup -q -n gcc-%{version} |
|
|
|
@ -159,10 +162,9 @@ AutoReqProv: no
|
|
|
|
|
|
|
|
|
|
# create file list |
|
|
|
|
%{l_rpmtool} files -v -o$RPM_BUILD_DIR/gcc-%{version}/files -r$RPM_BUILD_ROOT %{l_files_std} |
|
|
|
|
exit 0 |
|
|
|
|
|
|
|
|
|
%files -f files |
|
|
|
|
|
|
|
|
|
%clean |
|
|
|
|
# rm -rf $RPM_BUILD_ROOT |
|
|
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
|
|
|
|
|
|