rebuilt after usr merge and with debug package [release 1.34-2mamba;Mon Apr 17 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 18:20:50 +01:00
parent 79781a016f
commit 84c1a9abe6

View File

@ -1,13 +1,13 @@
Name: tar
Version: 1.34
Release: 1mamba
Release: 2mamba
Summary: A GNU file archiving program
Group: Applications/Archiving
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.gnu.org/software/tar/tar.html
Source: ftp://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.bz2
Source: https://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.xz
Patch0: %{name}-1.13.18-manpage.patch
License: GPL
## AUTOBUILDREQ-BEGIN
@ -21,6 +21,9 @@ 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.
@ -29,6 +32,8 @@ Tar includes multivolume support, automatic archive compression/decompression, t
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
@ -37,8 +42,8 @@ You should install the tar package, because you'll find its compression and deco
%build
%configure \
--bindir=/bin \
--libexecdir=/sbin
--libexecdir=%{_sbindir}
# --enable-backup-scripts
%make
@ -47,7 +52,7 @@ You should install the tar package, because you'll find its compression and deco
[ "%buildroot" != / ] && rm -rf "%buildroot"
%makeinstall
ln -sf tar %{buildroot}/bin/gtar
ln -sf tar %{buildroot}%{_bindir}/gtar
install -p -D -m644 tar.1 %{buildroot}%{_mandir}/man1/tar.1
%find_lang %{name}
@ -57,17 +62,17 @@ install -p -D -m644 tar.1 %{buildroot}%{_mandir}/man1/tar.1
%post
%install_info %{name}.info
exit 0
:
%preun
%uninstall_info %{name}.info
exit 0
:
%files -f %{name}.lang
%defattr(-,root,root)
/bin/tar
/bin/gtar
/sbin/rmt
%{_bindir}/tar
%{_bindir}/gtar
%{_sbindir}/rmt
%{_infodir}/tar.*
%{_mandir}/man1/tar.1*
%{_mandir}/man8/rmt.8*
@ -75,6 +80,9 @@ exit 0
#ChangeLog COPYING NEWS README THANKS TODO
%changelog
* 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