packages: gscan2pdf/gscan2pdf.spec, gscan2pdf/gscan2pdf-tessdata_prefix.pat...

wiget wiget at pld-linux.org
Sat Feb 12 23:22:00 CET 2011


Author: wiget                        Date: Sat Feb 12 22:22:00 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 0.9.31

---- Files affected:
packages/gscan2pdf:
   gscan2pdf.spec (1.10 -> 1.11) , gscan2pdf-tessdata_prefix.patch (1.1 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: packages/gscan2pdf/gscan2pdf.spec
diff -u packages/gscan2pdf/gscan2pdf.spec:1.10 packages/gscan2pdf/gscan2pdf.spec:1.11
--- packages/gscan2pdf/gscan2pdf.spec:1.10	Sat Feb 12 21:23:53 2011
+++ packages/gscan2pdf/gscan2pdf.spec	Sat Feb 12 23:21:54 2011
@@ -6,14 +6,13 @@
 %include	/usr/lib/rpm/macros.perl
 Summary:	A GUI to produce PDFs from scanned documents
 Name:		gscan2pdf
-Version:	0.9.29
-Release:	2
+Version:	0.9.31
+Release:	1
 License:	GPL
 Group:		Applications/Publishing
 Source0:	http://downloads.sourceforge.net/gscan2pdf/%{name}-%{version}.tar.gz
-# Source0-md5:	f660b73ec8a1cb7185c4de4005900496
+# Source0-md5:	e92ee7b07ffd3543faf8a64940ad65dc
 Patch0:		%{name}-tesseract_polish.patch
-Patch1:		%{name}-tessdata_prefix.patch
 URL:		http://gscan2pdf.sourceforge.net/
 BuildRequires:	desktop-file-utils
 BuildRequires:	gettext-devel
@@ -50,7 +49,6 @@
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -60,13 +58,18 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
-rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
+%{__rm} $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
 chmod -R u+w $RPM_BUILD_ROOT/*
 
+install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/scalable
+mv $RPM_BUILD_ROOT%{_datadir}/pixmaps/gscan2pdf.svg \
+   $RPM_BUILD_ROOT%{_iconsdir}/hicolor/scalable
+
 desktop-file-install --delete-original  --vendor="" \
   --dir=$RPM_BUILD_ROOT%{_desktopdir}         \
   $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
@@ -78,20 +81,23 @@
 
 %post
 update-desktop-database &> /dev/null ||:
-%update_icon_cache
+%update_icon_cache hicolor
 
 %postun
 update-desktop-database &> /dev/null ||:
-%update_icon_cache
+%update_icon_cache hicolor
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc LICENCE
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/gscan2pdf
+%attr(755,root,root) %{_bindir}/scanadf-perl
+%attr(755,root,root) %{_bindir}/scanimage-perl
 %{perl_vendorlib}/Gscan2pdf.pm
 %{_datadir}/%{name}
 %{_desktopdir}/%{name}.desktop
 %{_mandir}/man1/*.1*
+%{_iconsdir}/hicolor/scalable/gscan2pdf.svg
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -99,6 +105,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2011/02/12 22:21:54  wiget
+- updated to 0.9.31
+
 Revision 1.10  2011/02/12 20:23:53  sparky
 - further pldization
 - added tests bcond
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gscan2pdf/gscan2pdf.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list