File par.spec of Package par

#
# spec file for package par (Version 1.1)
#
# Copyright (c) 2004 SuSE Linux AG, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#

# norootforbuild
# usedforbuild    aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv kbd less libacl libattr libgcc libselinux libstdc++ libxcrypt m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt ps pwdutils rcs readline sed sendmail strace syslogd sysvinit tar texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils gcc gdbm gettext libtool perl rpm

Name:         par
URL:          http://parchive.sourceforge.net/
License:      GPL
Group:        System/Filesystems
Summary:      Parity File Generator
Version:      1.1
Release:      0
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
%patch

%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 -n par
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Feb 08 2004 - adrian@suse.de
- initial package of version 1.1
openSUSE Build Service is sponsored by