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 Name: tar
Version: 1.34 Version: 1.34
Release: 1mamba Release: 2mamba
Summary: A GNU file archiving program Summary: A GNU file archiving program
Group: Applications/Archiving Group: Applications/Archiving
Vendor: openmamba Vendor: openmamba
Distribution: 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 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 Patch0: %{name}-1.13.18-manpage.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -21,6 +21,9 @@ Requires: bzip2
Requires: xz Requires: xz
Requires: lzip Requires: lzip
Requires(post):%{__install_info} Requires(post):%{__install_info}
Provides: /bin/tar
Provides: /bin/gtar
Provides: /sbin/rmt
%description %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. 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. 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. You should install the tar package, because you'll find its compression and decompression utilities essential for working with files.
%debug_package
%prep %prep
%setup -q %setup -q
# fixme: tar 1.14 has some new command line options, so this man page is obsolete # 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 %build
%configure \ %configure \
--bindir=/bin \ --libexecdir=%{_sbindir}
--libexecdir=/sbin
# --enable-backup-scripts # --enable-backup-scripts
%make %make
@ -47,7 +52,7 @@ You should install the tar package, because you'll find its compression and deco
[ "%buildroot" != / ] && rm -rf "%buildroot" [ "%buildroot" != / ] && rm -rf "%buildroot"
%makeinstall %makeinstall
ln -sf tar %{buildroot}/bin/gtar ln -sf tar %{buildroot}%{_bindir}/gtar
install -p -D -m644 tar.1 %{buildroot}%{_mandir}/man1/tar.1 install -p -D -m644 tar.1 %{buildroot}%{_mandir}/man1/tar.1
%find_lang %{name} %find_lang %{name}
@ -57,17 +62,17 @@ install -p -D -m644 tar.1 %{buildroot}%{_mandir}/man1/tar.1
%post %post
%install_info %{name}.info %install_info %{name}.info
exit 0 :
%preun %preun
%uninstall_info %{name}.info %uninstall_info %{name}.info
exit 0 :
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
/bin/tar %{_bindir}/tar
/bin/gtar %{_bindir}/gtar
/sbin/rmt %{_sbindir}/rmt
%{_infodir}/tar.* %{_infodir}/tar.*
%{_mandir}/man1/tar.1* %{_mandir}/man1/tar.1*
%{_mandir}/man8/rmt.8* %{_mandir}/man8/rmt.8*
@ -75,6 +80,9 @@ exit 0
#ChangeLog COPYING NEWS README THANKS TODO #ChangeLog COPYING NEWS README THANKS TODO
%changelog %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 * Tue Feb 23 2021 Automatic Build System <autodist@mambasoft.it> 1.34-1mamba
- automatic version update by autodist - automatic version update by autodist