Browse Source

gutenprint-5.2.10-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8534 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 10 years ago
parent
commit
547959fe4b
1 changed files with 24 additions and 22 deletions
  1. 24 22
      g/gutenprint/gutenprint-vl.spec

+ 24 - 22
g/gutenprint/gutenprint-vl.spec

@@ -3,7 +3,7 @@
 
 Name:           gutenprint
 Summary:        Printer Drivers Package
-Version:        5.2.9
+Version:        5.2.10
 Release:        1%{?_dist_release}
 Group:          System Environment/Base
 URL:            http://gimp-print.sourceforge.net/
@@ -16,9 +16,9 @@ Patch0:         gutenprint-menu.patch
 Patch1:         gutenprint-O6.patch
 Patch2:         gutenprint-selinux.patch
 Patch3:         gutenprint-postscriptdriver.patch
-Patch4:         gutenprint-device-ids.patch
-Patch5:         gutenprint-null-pointer.patch
-Patch6:         gutenprint-build.patch
+Patch4:         gutenprint-yyin.patch
+Patch5:         gutenprint-manpage.patch
+Patch6:         gutenprint-test-suite.patch
 License:        GPLv2+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  cups-libs >= 1.4.0, cups >= 1.4.0
@@ -156,29 +156,26 @@ Epson, HP and compatible printers.
 %patch2 -p1 -b .selinux
 # Allow the CUPS dynamic driver to run inside a build root.
 %patch3 -p1 -b .postscriptdriver
-# Added IEEE 1284 Device ID for
-#  Epson Stylus D78 (bug #245948).
-#  Epson Stylus Photo R230 (from Ubuntu #520466).
-#  Epson Stylus D92 (bug #570888).
-#  Epson Stylus Photo 1400 (bug #577299).
-#  Epson Stylus Photo 830U (bug #577307).
-#  HP DeskJet 959C (bug #577291).
-#  Canon PIXMA iP4200 (bug #626365).
-#  Canon PIXMA iP3000 (bug #652179).
-#  Epson Stylus Color 680 (bug #652228).
-#  Epson Stylus Photo 1270 (bug #638537).
-#  HP LaserJet 4050/4100/4350/5100/8000/M3027 MFP/M3035 MFP/P3005 (bug #659043).
-#  HP Color LaserJet 2500/4550 (bug #659044).
-#  Brother hl-2035 (bug #651603#c3)
-%patch4 -p1 -b .device-ids
-# Avoid null pointer access in escputil (bug #659120).
-#%patch5 -p1 -b .null-pointer
 # Fix build against new versions of gcc.
-%patch6 -p1 -b .build
+
+# Don't export yy* symbols (bug #882194).
+%patch4 -p1 -b .yyin
+
+# Added some escputil options to the manpage (bug #979064).
+%patch5 -p1 -b .manpage
+
+# Fix the test suite.
+%patch6 -p1 -b .test-suite
 
 cp %{SOURCE2} src/cups/cups-genppdupdate.in
 
 %build
+# autoreconf has been added due to bug #925535,
+# should be safe to remove once configure is Autoconf > 2.68 generated,
+# i.e. with gutenprint > 5.2.9
+mkdir m4local
+autoreconf --verbose --force --install
+
 %configure --disable-static --disable-dependency-tracking  \
             --with-foomatic --with-ghostscript \
             --enable-samples --enable-escputil \
@@ -289,8 +286,10 @@ exit 0
 %defattr(-, root, root,-)
 %doc
 %{_datadir}/cups/calibrate.ppm
+%{_datadir}/cups/usb/net.sf.gimp-print.usb-quirks
 %{cups_serverbin}/filter/*
 %{cups_serverbin}/driver/*
+%{cups_serverbin}/backend/*
 %{_bindir}/cups-calibrate
 %{_sbindir}/cups-genppd*
 %{_mandir}/man8/cups-calibrate.8*
@@ -306,6 +305,9 @@ fi
 /bin/rm -f /var/cache/foomatic/*
 
 %changelog
+* Sun Jun  8 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.10-1
+- new upstream release.
+
 * Sat Jan 04 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.9-1
 - new upstream release.