|
|
|
|
@ -33,7 +33,10 @@ Distribution: OpenPKG [CORE]
|
|
|
|
|
Group: Development |
|
|
|
|
License: GPL |
|
|
|
|
Version: 1.6.2 |
|
|
|
|
Release: 20021102 |
|
|
|
|
Release: 20030417 |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
|
%option with_shtoolize yes |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: ftp://ftp.gnu.org/gnu/shtool/shtool-%{version}.tar.gz |
|
|
|
|
@ -42,7 +45,10 @@ Source0: ftp://ftp.gnu.org/gnu/shtool/shtool-%{version}.tar.gz
|
|
|
|
|
Prefix: %{l_prefix} |
|
|
|
|
BuildRoot: %{l_buildroot} |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20020206, perl |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20020206, perl |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20020206 |
|
|
|
|
%if "%{with_shtoolize}" == "yes" |
|
|
|
|
PreReq: perl |
|
|
|
|
%endif |
|
|
|
|
AutoReq: no |
|
|
|
|
AutoReqProv: no |
|
|
|
|
|
|
|
|
|
@ -66,7 +72,14 @@ AutoReqProv: no
|
|
|
|
|
%install |
|
|
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
|
%{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT |
|
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
|
|
|
|
%if "%{with_shtoolize}" != "yes" |
|
|
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/shtoolize |
|
|
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/shtoolize.1 |
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/shtool |
|
|
|
|
%endif |
|
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ |
|
|
|
|
%{l_files_std} \ |
|
|
|
|
'%not %dir %{l_prefix}/share/aclocal' |
|
|
|
|
|
|
|
|
|
%files -f files |
|
|
|
|
|
|
|
|
|
|