File par.spec of Package par
#
# spec file for package par (Version 1.1)
#
# Copyright (c) 2009 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: par
Url: http://parchive.sourceforge.net/
License: GPL-2.0+
Group: System/Filesystems
Summary: Parity File Generator
Version: 1.1
Release: 166
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %name-v%version.tar.bz2
Patch0: %name.diff
%description
Parchive creates extra parity data over several volumes. These can be
used to restore the complete archive after some data loss or
corruption.
par is used by Dar.
Authors:
--------
Willem Monsuwe <willem@stack.nl>
%prep
%setup -q -n par-cmdline
%patch0
%build
export CFLAGS="$RPM_OPT_FLAGS"
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README AUTHORS COPYING NEWS
/usr/bin/par
%changelog