*** empty log message ***
This commit is contained in:
parent
6977d63263
commit
d76f59ce70
29
tar.spec
29
tar.spec
@ -1,16 +1,17 @@
|
|||||||
Summary: A GNU file archiving program.
|
Summary: A GNU file archiving program.
|
||||||
Name: tar
|
Name: tar
|
||||||
Version: 1.14
|
Version: 1.14
|
||||||
Release: 2
|
Release: 3
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/Archiving
|
Group: Applications/Archiving
|
||||||
|
URL: http://www.gnu.org/software/tar/
|
||||||
Source0: ftp://ftp.gnu.org/pub/gnu/tar/tar-%{version}.tar.bz2
|
Source0: ftp://ftp.gnu.org/pub/gnu/tar/tar-%{version}.tar.bz2
|
||||||
Source1: ftp://ftp.gnu.org/pub/gnu/tar/tar-%{version}.tar.bz2.sig
|
Source1: ftp://ftp.gnu.org/pub/gnu/tar/tar-%{version}.tar.bz2.sig
|
||||||
Patch0: tar-1.13.18-manpage.patch
|
Patch0: tar-1.13.18-manpage.patch
|
||||||
Patch6: tar-1.14-nolibrt.patch
|
Patch6: tar-1.14-nolibrt.patch
|
||||||
Patch7: tar-1.14-err.patch
|
Patch7: tar-1.14-err.patch
|
||||||
Prereq: info
|
Prereq: info
|
||||||
BuildRequires: autoconf automake
|
BuildRequires: autoconf automake gzip
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -45,24 +46,14 @@ make
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%ifos linux
|
%ifos linux
|
||||||
make prefix=${RPM_BUILD_ROOT}%{_prefix} \
|
%makeinstall bindir=$RPM_BUILD_ROOT/bin libexecdir=$RPM_BUILD_ROOT/sbin
|
||||||
localedir=${RPM_BUILD_ROOT}%{_prefix}/share/locale \
|
|
||||||
bindir=${RPM_BUILD_ROOT}/bin \
|
|
||||||
libexecdir=${RPM_BUILD_ROOT}/sbin \
|
|
||||||
mandir=${RPM_BUILD_ROOT}%{_mandir} \
|
|
||||||
infodir=${RPM_BUILD_ROOT}%{_infodir} \
|
|
||||||
install
|
|
||||||
ln -s tar ${RPM_BUILD_ROOT}/bin/gtar
|
ln -s tar ${RPM_BUILD_ROOT}/bin/gtar
|
||||||
%else
|
%else
|
||||||
make prefix=${RPM_BUILD_ROOT}%{_prefix} \
|
%makeinstall
|
||||||
localedir=${RPM_BUILD_ROOT}%{_prefix}/share/locale \
|
|
||||||
mandir=${RPM_BUILD_ROOT}%{_mandir} \
|
|
||||||
infodir=${RPM_BUILD_ROOT}%{_infodir} \
|
|
||||||
install
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
( cd $RPM_BUILD_ROOT
|
( cd $RPM_BUILD_ROOT
|
||||||
for dir in ./bin ./sbin .%{_prefix}/bin .%{_prefix}/libexec
|
for dir in ./bin ./sbin .%{_bindir} .%{_libexecdir}
|
||||||
do
|
do
|
||||||
[ -d $dir ] || continue
|
[ -d $dir ] || continue
|
||||||
strip $dir/* || :
|
strip $dir/* || :
|
||||||
@ -100,14 +91,18 @@ fi
|
|||||||
/bin/gtar
|
/bin/gtar
|
||||||
%{_mandir}/man1/tar.1*
|
%{_mandir}/man1/tar.1*
|
||||||
%else
|
%else
|
||||||
%{_prefix}/bin/*
|
%{_bindir}/*
|
||||||
%{_prefix}/libexec/*
|
%{_libexecdir}/*
|
||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%{_infodir}/tar.info*
|
%{_infodir}/tar.info*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 11 2004 Peter Vrabec <pvrabec@redhat.com>
|
||||||
|
- URL added to spec file
|
||||||
|
- spec file clean up
|
||||||
|
|
||||||
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
||||||
- rebuilt
|
- rebuilt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user