File pax.spec of Package pax
#
# spec file for package pax (Version 3.4)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: pax
Summary: POSIX File System Archiver
Version: 3.4
Release: 135
License: BSD 3-Clause
AutoReqProv: on
Prefix: %{_prefix}
Group: Productivity/Archiving/Backup
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Pax is the POSIX standard archive tool. It supports the two most
common forms of standard archive (backup) files - CPIO and TAR.
%prep
%setup -q
%build
export CFLAGS=$RPM_OPT_FLAGS
%ifarch %arm
export CFLAGS="$CFLAGS -Wno-cast-align"
%endif
./configure --prefix=%{_prefix} --mandir=%{_mandir} %{_target_cpu}-suse-linux
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/pax
%doc %{_mandir}/man1/*
%changelog
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Nov 15 2005 uli@suse.de
- disable alignment warnings on ARM
* Mon Aug 01 2005 kukuk@suse.de
- Fix LFS support on 64bit archs
* Fri Jul 29 2005 kukuk@suse.de
- Update to pax 3.3 (LFS and -O option added)
* Mon Apr 25 2005 kukuk@suse.de
- Fix -Wmissing-format-attribute warnings
* Fri Apr 01 2005 kukuk@suse.de
- Fix for gcc4
* Fri Oct 17 2003 kukuk@suse.de
- Update to pax 3.2 (sync with OpenBSD version, fix compiler
warnings).
* Fri Jan 17 2003 kukuk@suse.de
- Update to pax 3.1 (sync with OpenBSD version, fix compiler
warnings).
* Tue Jan 01 2002 kukuk@suse.de
- New version, passes now all LSB tests
* Fri Dec 14 2001 kukuk@suse.de
- Initial version