tar/tar.spec

190 lines
6.1 KiB
RPMSpec
Raw Normal View History

Name: tar
Version: 1.35
Release: 1mamba
Summary: A GNU file archiving program
Group: Applications/Archiving
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.gnu.org/software/tar/tar.html
Source: https://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.xz
Patch0: %{name}-1.13.18-manpage.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libacl-devel
BuildRequires: libselinux-devel
## AUTOBUILDREQ-END
BuildRequires: gettext-devel
Requires: gzip
Requires: bzip2
Requires: xz
Requires: lzip
Requires(post):%{__install_info}
Provides: /bin/tar
Provides: /bin/gtar
Provides: /sbin/rmt
%description
The GNU tar program saves many files together into one archive and can restore individual files (or all of the files) from the archive.
Tar can also be used to add supplemental files to an archive and to update or list files in the archive.
Tar includes multivolume support, automatic archive compression/decompression, the ability to perform remote archives and the ability to perform incremental and full backups.
If you want to use Tar for remote backups, you'll also need to install the rmt package.
You should install the tar package, because you'll find its compression and decompression utilities essential for working with files.
%debug_package
%prep
%setup -q
# fixme: tar 1.14 has some new command line options, so this man page is obsolete
# (find for updates on Mandrake site).
%patch 0 -p1
%build
%configure \
--libexecdir=%{_sbindir}
# --enable-backup-scripts
%make
%install
[ "%buildroot" != / ] && rm -rf "%buildroot"
%makeinstall
ln -sf tar %{buildroot}%{_bindir}/gtar
install -p -D -m644 tar.1 %{buildroot}%{_mandir}/man1/tar.1
%find_lang %{name}
%clean
[ "%buildroot" != / ] && rm -rf "%buildroot"
%post
%install_info %{name}.info
:
%preun
%uninstall_info %{name}.info
:
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/tar
%{_bindir}/gtar
%{_sbindir}/rmt
%{_infodir}/tar.*
%{_mandir}/man1/tar.1*
%{_mandir}/man8/rmt.8*
%doc AUTHORS COPYING
#ChangeLog COPYING NEWS README THANKS TODO
%changelog
* Wed Jul 19 2023 Automatic Build System <autodist@mambasoft.it> 1.35-1mamba
- automatic version update by autodist
* Mon Apr 17 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.34-2mamba
- rebuilt after usr merge and with debug package
* Tue Feb 23 2021 Automatic Build System <autodist@mambasoft.it> 1.34-1mamba
- automatic version update by autodist
* Fri Jan 08 2021 Automatic Build System <autodist@mambasoft.it> 1.33-1mamba
- automatic version update by autodist
* Sat Feb 23 2019 Automatic Build System <autodist@mambasoft.it> 1.32-1mamba
- automatic version update by autodist
* Thu Jan 03 2019 Automatic Build System <autodist@mambasoft.it> 1.31-1mamba
- automatic version update by autodist
* Mon Dec 18 2017 Automatic Build System <autodist@mambasoft.it> 1.30-1mamba
- automatic update by autodist
* Tue May 17 2016 Automatic Build System <autodist@mambasoft.it> 1.29-1mamba
- automatic version update by autodist
* Tue Jul 29 2014 Automatic Build System <autodist@mambasoft.it> 1.28-1mamba
- automatic version update by autodist
* Fri Feb 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.27.1-2mamba
- require lzip
* Mon Nov 18 2013 Automatic Build System <autodist@mambasoft.it> 1.27.1-1mamba
- automatic version update by autodist
* Sun Oct 06 2013 Automatic Build System <autodist@mambasoft.it> 1.27-1mamba
- automatic version update by autodist
* Sun Feb 26 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.26-2mamba
- added requirement for gzip,bzip2 and xz
* Sat Mar 12 2011 Automatic Build System <autodist@mambasoft.it> 1.26-1mamba
- automatic update by autodist
* Mon Nov 08 2010 Automatic Build System <autodist@mambasoft.it> 1.25-1mamba
- automatic update to 1.25 by autodist
* Mon Oct 25 2010 Automatic Build System <autodist@mambasoft.it> 1.24-1mamba
- automatic update to 1.24 by autodist
* Fri Mar 12 2010 Davide Madrisan <davide.madrisan@gmail.com> 1.23-1mamba
- update to 1.23
* Thu Mar 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.22-1mamba
- automatic update to 1.22 by autodist
* Sat Dec 27 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.21-1mamba
- automatic update to 1.21 by autodist
* Tue Apr 15 2008 Aleph0 <aleph0@openmamba.org> 1.20-1mamba
- update to 1.20
- removed patch against CVE-2007-4476: merged upstream
* Thu Nov 29 2007 Aleph0 <aleph0@openmamba.org> 1.18-2mamba
- fix against tar stack crashing in safer_name_suffix (CVE-2007-4476)
* Mon Jul 02 2007 Aleph0 <aleph0@openmamba.org> 1.18-1mamba
- update to 1.18
* Mon Jun 11 2007 Aleph0 <aleph0@openmamba.org> 1.17-1mamba
- update to 1.17
* Wed Jan 17 2007 Davide Madrisan <davide.madrisan@qilinux.it> 1.16.1-1qilnx
- update to version 1.16.1 by autospec
- security update: fixes CVE-2006-6097
- dropped patch against CVE-2006-0300: fixed upstream
* Tue May 16 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.15.1-4qilnx
- rebuilt
* Wed Mar 01 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.15.1-3qilnx
- security update for CVE-2006-0300
* Fri Apr 08 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.15.1-2qilnx
- added scripts to install/remove info files
- added manpage for tar created by mandrake people
* Wed Jan 05 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.15.1-1qilnx
- update to version 1.15.1 by autospec
* Tue Dec 21 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.15-1qilnx
- update to version 1.15 by autospec
* Wed Sep 01 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.14-3qilnx
- moved executables into the /bin directory
- added a symbolic link for gtar
- added standard documentation files
* Tue Jul 27 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.14-2qilnx
- trivial fixes in the specfile needed by the QiLinux distromatic parser
* Tue May 11 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.14-1qilnx
- new version rebuild
* Tue Apr 22 2003 Silvan Calarco <silvan.calarco@qinet.it> 1.13-2qilnx
- relocation of info dir under usr/share/info
* Tue Apr 09 2003 Luca Tinelli <luca.tinelli@qinet.it> 1.13-1qilnx
- first build