pax/pax.spec

82 lines
2.0 KiB
RPMSpec
Raw Normal View History

Name: pax
Version: 3.4
Release: 4mamba
Summary: POSIX File System Archiver
Group: Applications/Archiving
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: ftp://ftp.suse.com/pub/people/kukuk/pax/
Source: ftp://ftp.suse.com/pub/people/kukuk/pax/pax-%{version}.tar.bz2
Patch0: pax-3.4-gcc-4.6.0.patch
Patch1: pax-3.4-gcc-8.patch
Patch2: pax-3.4-PATHMAX.patch
Patch3: pax-3.4-gcc-6.1.patch
Patch4: pax-3.4-options.c.patch
Patch5: pax-3.4-fix_for_x32.patch
Patch6: pax-3.4-unuse_warn.patch
Patch7: pax-3.4-abs_100.patch
Patch8: pax-3.4-rdtruncate.patch
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
## AUTOBUILDREQ-END
License: BSD
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
'pax' is the POSIX standard archive tool.
It supports the two most common forms of standard Unix archive (backup) files - CPIO and TAR.
%debug_package
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p2
%patch5 -p1
%patch6 -p0
%patch7 -p1
%patch8 -p1
autoreconf -fi
%build
%configure \
CFLAGS="%{optflags} -z muldefs"
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/pax
%{_mandir}/man1/pax.*
%doc AUTHORS COPYING
#ChangeLog NEWS README THANKS
%changelog
* Sun Sep 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4-4mamba
- rebuilt with debug package and build requirements
* Sun Oct 20 2013 Automatic Build System <autodist@mambasoft.it> 3.4-3mamba
- automatic rebuild by autodist
* Tue Nov 13 2007 Aleph0 <aleph0@openmamba.org> 3.4-2mamba
- rebuilt
* Tue Jun 20 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 3.4-1qilnx
- update to version 3.4 by autospec
* Fri Apr 08 2005 Davide Madrisan <davide.madrisan@qilinux.it> 3.2-1qilnx
- package created by autospec