Package par2: Specfile

Name: par2
Version: 0.4
Release: alt3

Summary: File verification and repair tool
Summary(ru_RU.CP1251): \xd3\xf2\xe8\xeb\xe8\xf2\xe0 \xe4\xeb\xff \xef\xf0\xee\xe2\xe5\xf0\xea\xe8 \xe8 \xe2\xee\xf1\xf1\xf2\xe0\xed\xee\xe2\xeb\xe5\xed\xe8\xff \xf4\xe0\xe9\xeb\xee\xe2

License: GPL
Group: Archiving/Other
Url: http://parchive.sourceforge.net/

Packager: Slava Dubrovskiy <dubrsl@altlinux.ru>

Source: http://dl.sf.net/parchive/par2cmdline-%version.tar.bz2
Patch0:     par2cmdline-reedsolomon.cpp.patch
Patch1:     par2cmdline-packed.patch
Patch2:     par2cmdline-Makefile.am.patch

# Automatically added by buildreq on Mon Mar 05 2007
BuildRequires: gcc-c++

%description
%name is a program for creating and using PAR2 files to detect
damage in data files and repair them if necessary.

%description -l ru_RU.CP1251
%name --- \xfd\xf2\xee \xef\xf0\xee\xe3\xf0\xe0\xec\xec\xe0 \xe4\xeb\xff \xf1\xee\xe7\xe4\xe0\xed\xe8\xff \xe8 \xe8\xf1\xef\xee\xeb\xfc\xe7\xee\xe2\xe0\xed\xe8\xff \xf4\xe0\xe9\xeb\xee\xe2 PAR2,
\xef\xee\xe7\xe2\xee\xeb\xff\xfe\xf9\xe8\xf5 \xed\xe0\xf5\xee\xe4\xe8\xf2\xfc \xee\xf8\xe8\xe1\xea\xe8 \xe2 \xf4\xe0\xe9\xeb\xe0\xf5 \xe4\xe0\xed\xed\xfb\xf5 \xe8 \xe8\xf1\xef\xf0\xe0\xe2\xeb\xff\xf2\xfc \xe8\xf5.

%prep
%setup -q -n par2cmdline-%version
%patch0 -p1
%patch1 -p1
%patch2 -p1


chmod a-x NEWS ChangeLog

%build
%configure
%make_build
%__make check

%install
%makeinstall

%files
%doc NEWS README PORTING ROADMAP ChangeLog
%_bindir/*

%changelog
* Mon Mar 05 2007 Slava Dubrovskiy <dubrsl@altlinux.org> 0.4-alt3
- Recovery from orphaned
- Update buildreq
- Add make check
- Add patches
  + par2cmdline-reedsolomon.cpp.patch
  + par2cmdline-packed.patch
  + par2cmdline-Makefile.am.patch

* Sat Jan 28 2006 Vitaly Lipatov <lav@altlinux.ru> 0.4-alt2
- NMU: fix bug #7990
- add URL to Source

* Tue Feb 22 2005 Andrey Astafiev <andrei@altlinux.ru> 0.4-alt1
- First version of RPM package for Sisyphus.