rpms/par2cmdline/devel par2cmdline-reedsolomon.cpp.patch, NONE, 1.1 par2cmdline.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Laurent Rineau (rineau)
fedora-extras-commits at redhat.com
Tue May 9 06:59:19 UTC 2006
Author: rineau
Update of /cvs/extras/rpms/par2cmdline/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11192/devel
Modified Files:
.cvsignore sources
Added Files:
par2cmdline-reedsolomon.cpp.patch par2cmdline.spec
Log Message:
auto-import par2cmdline-0.4-7 on branch devel from par2cmdline-0.4-7.src.rpm
par2cmdline-reedsolomon.cpp.patch:
--- NEW FILE par2cmdline-reedsolomon.cpp.patch ---
diff -u -r par2cmdline-0.4.orig/reedsolomon.cpp par2cmdline-0.4/reedsolomon.cpp
--- par2cmdline-0.4.orig/reedsolomon.cpp 2003-05-26 20:01:31.000000000 +0200
+++ par2cmdline-0.4/reedsolomon.cpp 2006-04-11 19:44:52.000000000 +0200
@@ -51,6 +51,7 @@
}
}
+template <>
bool ReedSolomon<Galois8>::SetInput(const vector<bool> &present)
{
inputcount = (u32)present.size();
@@ -80,6 +81,7 @@
return true;
}
+template <>
bool ReedSolomon<Galois8>::SetInput(u32 count)
{
inputcount = count;
@@ -101,6 +103,7 @@
return true;
}
+template <>
bool ReedSolomon<Galois8>::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer)
{
// Look up the appropriate element in the RS matrix
@@ -189,6 +192,7 @@
// Set which of the source files are present and which are missing
// and compute the base values to use for the vandermonde matrix.
+template <>
bool ReedSolomon<Galois16>::SetInput(const vector<bool> &present)
{
inputcount = (u32)present.size();
@@ -233,6 +237,7 @@
// Record that the specified number of source files are all present
// and compute the base values to use for the vandermonde matrix.
+template <>
bool ReedSolomon<Galois16>::SetInput(u32 count)
{
inputcount = count;
@@ -267,6 +272,7 @@
return true;
}
+template <>
bool ReedSolomon<Galois16>::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer)
{
// Look up the appropriate element in the RS matrix
--- NEW FILE par2cmdline.spec ---
Summary: PAR 2.0 compatible file verification and repair tool
Name: par2cmdline
Version: 0.4
Release: 7%{?dist}
License: GPL
Group: Applications/Archiving
Source: http://dl.sourceforge.net/parchive/%{name}-%{version}.tar.gz
Patch0: par2cmdline-reedsolomon.cpp.patch
URL: http://parchive.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Obsoletes: parchive <= 1.1.4
Provides: parchive = 1.1.4.0.par2.%{version}
%description
par2cmdline is a program for creating and using PAR2 files to detect damage
in data files and repair them if necessary. PAR2 files are usually
published in binary newsgroups on Usenet; they apply the data-recovery
capability concepts of RAID-like systems to the posting and recovery of
multi-part archives.
%prep
%setup
%patch0 -p1
sed -i 's/\r//' AUTHORS PORTING README ROADMAP
%build
%configure
make %{_smp_mflags}
chmod 644 ChangeLog galois.h par1repairer.cpp par2repairer.cpp par2repairersourcefile.cpp par2repairersourcefile.h
%install
%makeinstall
ln -sf par2 $RPM_BUILD_ROOT/%{_bindir}/par
%clean
rm -rf $RPM_BUILD_ROOT
%check
make check-TESTS
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog PORTING README ROADMAP
%{_bindir}/*
%changelog
* Fri Apr 28 2006 Laurent Rineau <laurent.rineau__fc_extra at normalesup.org> - 0.4-7
- Change the description. Thanks to Jason Tibbitts (tibbs at math.uh.edu) for his help.
- Add %check section
* Thu Apr 27 2006 Laurent Rineau <laurent.rineau__fc_extra at normalesup.org> - 0.4-6
- chmod 644 several files, in %build
- fix the Source: tag.
- new %description
- changed the buildroot to the one recommanded for Fedora Extras
* Wed Apr 12 2006 Laurent Rineau <laurent.rineau__fc_extra at normalesup.org> - 0.4-5
- Added the dist tag.
- Recode several file with sed, to remove DOS end-of-lines.
- Changed the URL: tag.
- Cleanup after a rpmlint pass.
* Tue Apr 11 2006 Laurent Rineau <laurent.rineau__fc_extra at normalesup.org> - 0.4-3
- updated for Fedora Core 4
- obsolete parchive 1.1.4
- provides parchive = 1.1.4.0.par2.%{version}
* Tue May 11 2004 - Thibaut Cousin <linux at thibaut-cousin.net>
- updated to version 0.4 for SUSE 9.1
* Tue Oct 21 2003 - Thibaut Cousin <linux at thibaut-cousin.net>
- first release of this package for SuSE 9.0
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/par2cmdline/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 9 May 2006 06:58:36 -0000 1.1
+++ .cvsignore 9 May 2006 06:59:19 -0000 1.2
@@ -0,0 +1 @@
+par2cmdline-0.4.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/par2cmdline/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 9 May 2006 06:58:36 -0000 1.1
+++ sources 9 May 2006 06:59:19 -0000 1.2
@@ -0,0 +1 @@
+1551b63e57e3c232254dc62073b723a9 par2cmdline-0.4.tar.gz
More information about the fedora-extras-commits
mailing list