1 Summary: PAR 2.0 compatible file verification and repair tool
2 Summary(pl): Narzêdzie do weryfikacji i naprawiania plików zgodne z PAR 2.0
7 Group: Applications/Archiving
8 Source0: http://dl.sourceforge.net/parchive/%{name}-%{version}.tar.gz
9 # Source0-md5: 1551b63e57e3c232254dc62073b723a9
10 Patch0: %{name}-fix-crash-in-quiet-mode.patch
11 Patch1: %{name}-gcc41.patch
12 URL: http://sourceforge.net/projects/parchive/
13 BuildRequires: automake
14 BuildRequires: libstdc++-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 par2cmdline is a program for creating and using PAR2 files to detect
19 damage in data files and repair them if necessary. It can be used with
23 par2cmdline to program do tworzenia i u¿ywania plików PAR2 do
24 wykrywania uszkodzeñ w plikach z danymi i naprawiania ich w razie
25 potrzeby. Mo¿e byæ u¿ywany na dowolnych rodzajach plików.
33 cp -f /usr/share/automake/config.* .
39 rm -rf $RPM_BUILD_ROOT
42 DESTDIR=$RPM_BUILD_ROOT
44 ln -sf par2 $RPM_BUILD_ROOT%{_bindir}/par
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %doc AUTHORS ChangeLog README
52 %attr(755,root,root) %{_bindir}/par
53 %attr(755,root,root) %{_bindir}/par2*