Browse Source

strip binaries

master
parent
commit
c4702f59d7
  1. 3
      bind/bind.spec
  2. 3
      expat/expat.spec
  3. 3
      glimpse/glimpse.spec
  4. 5
      minicom/minicom.spec
  5. 3
      samba/samba.spec
  6. 3
      uucp/uucp.spec

3
bind/bind.spec

@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE]
Group: DNS
License: ISC
Version: 9.2.1
Release: 20021029
Release: 20021111
# list of sources
Source0: ftp://ftp.isc.org/isc/bind9/%{version}/bind-%{version}.tar.gz
@ -85,6 +85,7 @@ AutoReqProv: no
%{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
# strip down installation
strip $RPM_BUILD_ROOT%{l_prefix}/sbin/* >/dev/null 2>&1 || true
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/isc-config.sh
rm -rf $RPM_BUILD_ROOT%{l_prefix}/include

3
expat/expat.spec

@ -33,7 +33,7 @@ Distribution: OpenPKG [PLUS]
Group: Converter
License: MIT/X11-style
Version: 1.95.5
Release: 20020907
Release: 20021111
# list of sources
Source0: http://download.sourceforge.net/expat/expat-%{version}.tar.gz
@ -64,6 +64,7 @@ AutoReqProv: no
%install
rm -rf $RPM_BUILD_ROOT
%{l_make} %{l_mflags} prefix=$RPM_BUILD_ROOT%{l_prefix} install
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files

3
glimpse/glimpse.spec

@ -33,7 +33,7 @@ Distribution: OpenPKG [PRIV]
Group: Text
License: Commercial/Non-Profit
Version: 4.17.1
Release: 20021011
Release: 20021111
# list of sources
Source0: http://webglimpse.net/trial/glimpse-%{version}.tar.gz
@ -71,6 +71,7 @@ AutoReqProv: no
rm -rf $RPM_BUILD_ROOT%{l_prefix}/man
%{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/man/man1
%{l_shtool} install -c -m 644 *.1 */*.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files

5
minicom/minicom.spec

@ -32,7 +32,7 @@ Distribution: OpenPKG [BASE]
Group: Communication
License: BSD
Version: 2.00.0
Release: 20020622
Release: 20021111
# list of sources
Source0: http://www.netsonic.fi/~walker/minicom-%{version}.src.tar.gz
@ -106,6 +106,9 @@ AutoReqProv: no
%{l_shtool} install -c -m 644 \
doc/minirc.dfl $RPM_BUILD_ROOT%{l_prefix}/etc/minicom/
# strip binaries
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
# determine installation files
attr="4755,uucp,%{l_mgrp}"
case "%{l_target}" in

3
samba/samba.spec

@ -38,7 +38,7 @@ Distribution: OpenPKG [BASE]
Group: Filesystem
License: GPL
Version: 2.2.6
Release: 20021017
Release: 20021111
# list of sources
Source0: http://download.samba.org/samba/ftp/samba-%{version}.tar.bz2
@ -140,6 +140,7 @@ AutoReqProv: no
rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/samba/images
rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/samba/include
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
strip $RPM_BUILD_ROOT%{l_prefix}/sbin/* >/dev/null 2>&1 || true
%{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d
%{l_shtool} install -c -m 755 -e 's;@l_prefix@;%{l_prefix};g' \
%{SOURCE rc.samba} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/

3
uucp/uucp.spec

@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE]
Group: Communication
License: GPL
Version: 1.06.1
Release: 20020816
Release: 20021111
# list of sources
Source0: ftp://ftp.gnu.org/gnu/uucp/uucp-%{version}.tar.gz
@ -117,6 +117,7 @@ AutoReqProv: no
$RPM_BUILD_ROOT%{l_prefix}/var/uucp/log/uucp.debug
rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* 2> /dev/null || true
strip $RPM_BUILD_ROOT%{l_prefix}/sbin/* 2> /dev/null || true
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%config %{l_prefix}/etc/uucp/*'

Loading…
Cancel
Save