SPECS: spamassassin-plugin-fuzzyocr.spec - update to 3.5.1

glen glen at pld-linux.org
Tue Jan 9 15:58:21 CET 2007


Author: glen                         Date: Tue Jan  9 14:58:21 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- update to 3.5.1

---- Files affected:
SPECS:
   spamassassin-plugin-fuzzyocr.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/spamassassin-plugin-fuzzyocr.spec
diff -u SPECS/spamassassin-plugin-fuzzyocr.spec:1.2 SPECS/spamassassin-plugin-fuzzyocr.spec:1.3
--- SPECS/spamassassin-plugin-fuzzyocr.spec:1.2	Tue Jan  9 15:33:22 2007
+++ SPECS/spamassassin-plugin-fuzzyocr.spec	Tue Jan  9 15:58:16 2007
@@ -1,14 +1,15 @@
 # $Revision$, $Date$
 Summary:	FuzzyOcr SpamAssassin plugin
 Name:		spamassassin-plugin-fuzzyocr
-Version:	2.3b
-Release:	1
+Version:	3.5.1
+Release:	0.1
 License:	Apache 2.0
 Group:		Applications
-Source0:	http://users.own-hero.net/~decoder/fuzzyocr/fuzzyocr-%{version}.tar.gz
-# Source0-md5:	51edf3fa63a4438ce26b2fc15f28ff00
+Source0:	http://users.own-hero.net/~decoder/fuzzyocr/fuzzyocr-%{version}-devel.tar.gz
+# Source0-md5:	14e04c4768f57a39a4953a837766f772
 Patch0:		fuzzyocr-config.patch
 URL:		http://fuzzyocr.own-hero.net/
+BuildRequires:	sed >= 4.0
 Requires:	ImageMagick
 Requires:	giflib-progs >= 4.1.4-4
 Requires:	gifsicle
@@ -41,23 +42,31 @@
 %prep
 %setup -q -n FuzzyOcr-%{version}
 %patch0 -p1
+%{__sed} -i -e '1s,#!.*perl,#!%{__perl},' Utils/fuzzy-*
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{perl_vendorlib},%{_sysconfdir}}
-cp -a FuzzyOcr.cf $RPM_BUILD_ROOT%{_sysconfdir}
-cp -a FuzzyOcr.words.sample $RPM_BUILD_ROOT%{_sysconfdir}/FuzzyOcr.words
-cp -a FuzzyOcr.pm $RPM_BUILD_ROOT%{perl_vendorlib}
+install -d $RPM_BUILD_ROOT{%{perl_vendorlib},%{_sysconfdir},%{_bindir}}
+cp -a FuzzyOcr.words FuzzyOcr.cf FuzzyOcr.scansets FuzzyOcr.preps $RPM_BUILD_ROOT%{_sysconfdir}
+cp -a FuzzyOcr FuzzyOcr.pm $RPM_BUILD_ROOT%{perl_vendorlib}
+install Utils/fuzzy-* $RPM_BUILD_ROOT%{_bindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc FAQ INSTALL samples
+%doc FuzzyOcr.mysql samples
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/FuzzyOcr.cf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/FuzzyOcr.preps
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/FuzzyOcr.scansets
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/FuzzyOcr.words
 %{perl_vendorlib}/FuzzyOcr.pm
+%{perl_vendorlib}/FuzzyOcr
+
+%attr(755,root,root) %{_bindir}/fuzzy-cleantmp
+%attr(755,root,root) %{_bindir}/fuzzy-find
+%attr(755,root,root) %{_bindir}/fuzzy-stats
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -65,9 +74,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/01/09 14:58:16  glen
+- update to 3.5.1
+
 Revision 1.2  2007/01/09 14:33:22  glen
 - fix plugin load path
 
 Revision 1.1  2007/01/09 14:00:32  glen
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/spamassassin-plugin-fuzzyocr.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list