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

# 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

Pax is the POSIX standard archive tool.  It supports the two most
common forms of standard archive (backup) files - CPIO and TAR.

%setup -q

%ifarch %arm
export CFLAGS="$CFLAGS -Wno-cast-align"
./configure --prefix=%{_prefix} --mandir=%{_mandir} %{_target_cpu}-suse-linux

mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1


%doc %{_mandir}/man1/*

* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Tue Nov 15 2005
- disable alignment warnings on ARM
* Mon Aug 01 2005
- Fix LFS support on 64bit archs
* Fri Jul 29 2005
- Update to pax 3.3 (LFS and -O option added)
* Mon Apr 25 2005
- Fix -Wmissing-format-attribute warnings
* Fri Apr 01 2005
- Fix for gcc4
* Fri Oct 17 2003
- Update to pax 3.2 (sync with OpenBSD version, fix compiler
* Fri Jan 17 2003
- Update to pax 3.1 (sync with OpenBSD version, fix compiler
* Tue Jan 01 2002
- New version, passes now all LSB tests
* Fri Dec 14 2001
- Initial version