|
|
474f39d |
Summary: PAR 2.0 compatible file verification and repair tool
|
|
|
474f39d |
Name: par2cmdline
|
|
|
474f39d |
Version: 0.4
|
|
|
d250180 |
Release: 12%{?dist}
|
|
|
d250180 |
License: GPLv2+
|
|
|
474f39d |
Group: Applications/Archiving
|
|
|
474f39d |
Source: http://dl.sourceforge.net/parchive/%{name}-%{version}.tar.gz
|
|
|
474f39d |
Patch0: par2cmdline-reedsolomon.cpp.patch
|
|
|
9f64e0c |
Patch1: par2cmdline-packed.patch
|
|
|
4a91d7d |
Patch2: par2cmdline-Makefile.am.patch
|
|
|
474f39d |
URL: http://parchive.sourceforge.net/
|
|
|
474f39d |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
474f39d |
Obsoletes: parchive <= 1.1.4
|
|
|
474f39d |
Provides: parchive = 1.1.4.0.par2.%{version}
|
|
|
474f39d |
|
|
|
474f39d |
%description
|
|
|
474f39d |
par2cmdline is a program for creating and using PAR2 files to detect damage
|
|
|
474f39d |
in data files and repair them if necessary. PAR2 files are usually
|
|
|
474f39d |
published in binary newsgroups on Usenet; they apply the data-recovery
|
|
|
474f39d |
capability concepts of RAID-like systems to the posting and recovery of
|
|
|
474f39d |
multi-part archives.
|
|
|
474f39d |
|
|
|
474f39d |
%prep
|
|
|
d250180 |
%setup -q
|
|
|
474f39d |
%patch0 -p1
|
|
|
9f64e0c |
%patch1 -p1
|
|
|
4a91d7d |
%patch2 -p1
|
|
|
4a91d7d |
|
|
|
4a91d7d |
# fix end-of-lines of several files
|
|
|
474f39d |
sed -i 's/\r//' AUTHORS PORTING README ROADMAP
|
|
|
474f39d |
|
|
|
474f39d |
%build
|
|
|
474f39d |
%configure
|
|
|
474f39d |
make %{_smp_mflags}
|
|
|
474f39d |
chmod 644 ChangeLog galois.h par1repairer.cpp par2repairer.cpp par2repairersourcefile.cpp par2repairersourcefile.h
|
|
|
474f39d |
|
|
|
474f39d |
%install
|
|
|
d250180 |
rm -rf $RPM_BUILD_ROOT
|
|
|
d250180 |
|
|
|
474f39d |
%makeinstall
|
|
|
474f39d |
ln -sf par2 $RPM_BUILD_ROOT/%{_bindir}/par
|
|
|
474f39d |
|
|
|
474f39d |
%clean
|
|
|
474f39d |
rm -rf $RPM_BUILD_ROOT
|
|
|
474f39d |
|
|
|
474f39d |
%check
|
|
|
474f39d |
make check-TESTS
|
|
|
474f39d |
|
|
|
474f39d |
%files
|
|
|
474f39d |
%defattr(-,root,root,-)
|
|
|
4a91d7d |
%doc AUTHORS COPYING ChangeLog README
|
|
|
474f39d |
%{_bindir}/*
|
|
|
474f39d |
|
|
|
474f39d |
%changelog
|
|
|
d250180 |
* Fri Aug 24 2007 Laurent Rineau <laurent.rineau__fedora@normalesup.org> - 0.4-12
|
|
|
d250180 |
- New License: tag.
|
|
|
d250180 |
- rpmlint cleaning:
|
|
|
d250180 |
- clean the build root at the beginning of %%install
|
|
|
d250180 |
- use -q in %%setup
|
|
|
d250180 |
|
|
|
f8dc3b1 |
* Mon Aug 28 2006 Laurent Rineau <laurent.rineau__fedora_extras@normalesup.org> - 0.4-11
|
|
|
f8dc3b1 |
- Rebuild for FC-6.
|
|
|
f8dc3b1 |
- Change my email address in the %%changelog.
|
|
|
f8dc3b1 |
|
|
|
f8dc3b1 |
* Fri May 12 2006 Laurent Rineau <laurent.rineau__fedora_extras@normalesup.org> - 0.4-10
|
|
|
25820d3 |
- New %%changelog. Quote percent signs.
|
|
|
25820d3 |
|
|
|
f8dc3b1 |
* Wed May 10 2006 Laurent Rineau <laurent.rineau__fedora_extras@normalesup.org> - 0.4-9
|
|
|
4a91d7d |
- Remove PORTING and ROADMAP from doc files.
|
|
|
4a91d7d |
- Patch2: Remove explicit linking with -lstdc++ in Makefile.am, what required to call aclocal-1.9 and automake-1.9
|
|
|
4a91d7d |
|
|
|
f8dc3b1 |
* Tue May 9 2006 Laurent Rineau <laurent.rineau__fedora_extras@normalesup.org> - 0.4-8
|
|
|
9f64e0c |
- Added a new patch, to kill warnings, and try to fix ppc compilation error.
|
|
|
9f64e0c |
|
|
|
f8dc3b1 |
* Fri Apr 28 2006 Laurent Rineau <laurent.rineau__fedora_extras@normalesup.org> - 0.4-7
|
|
|
474f39d |
- Change the description. Thanks to Jason Tibbitts (tibbs@math.uh.edu) for his help.
|
|
|
25820d3 |
- Add %%check section
|
|
|
474f39d |
|
|
|
f8dc3b1 |
* Thu Apr 27 2006 Laurent Rineau <laurent.rineau__fedora_extras@normalesup.org> - 0.4-6
|
|
|
25820d3 |
- chmod 644 several files, in %%build
|
|
|
474f39d |
- fix the Source: tag.
|
|
|
25820d3 |
- new %%description
|
|
|
474f39d |
- changed the buildroot to the one recommanded for Fedora Extras
|
|
|
474f39d |
|
|
|
f8dc3b1 |
* Wed Apr 12 2006 Laurent Rineau <laurent.rineau__fedora_extras@normalesup.org> - 0.4-5
|
|
|
474f39d |
- Added the dist tag.
|
|
|
474f39d |
- Recode several file with sed, to remove DOS end-of-lines.
|
|
|
474f39d |
- Changed the URL: tag.
|
|
|
474f39d |
- Cleanup after a rpmlint pass.
|
|
|
474f39d |
|
|
|
f8dc3b1 |
* Tue Apr 11 2006 Laurent Rineau <laurent.rineau__fedora_extras@normalesup.org> - 0.4-3
|
|
|
474f39d |
- updated for Fedora Core 4
|
|
|
474f39d |
- obsolete parchive 1.1.4
|
|
|
25820d3 |
- provides parchive = 1.1.4.0.par2.%%{version}
|
|
|
474f39d |
|
|
|
474f39d |
* Tue May 11 2004 - Thibaut Cousin <linux@thibaut-cousin.net>
|
|
|
474f39d |
- updated to version 0.4 for SUSE 9.1
|
|
|
474f39d |
|
|
|
474f39d |
* Tue Oct 21 2003 - Thibaut Cousin <linux@thibaut-cousin.net>
|
|
|
474f39d |
- first release of this package for SuSE 9.0
|