diff --git a/.gitignore b/.gitignore index c3f0320..3db65e0 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ gutenprint-5.2.6.tar.bz2 /gutenprint-5.2.13-pre1.tar.bz2 /gutenprint-5.2.13.tar.bz2 /gutenprint-5.2.14-pre2.tar.bz2 +/gutenprint-5.2.14.tar.bz2 diff --git a/gutenprint.spec b/gutenprint.spec index 503d0fb..2ac00ef 100644 --- a/gutenprint.spec +++ b/gutenprint.spec @@ -1,23 +1,27 @@ -%global prever pre2 -%global ver %{version}-%{prever} +#%%global prever pre2 +#%%global ver %%{version}-%%{prever} Name: gutenprint Summary: Printer Drivers Package Version: 5.2.14 -Release: 0.4%{prever}%{?dist} +Release: 1%{?dist} URL: http://gimp-print.sourceforge.net/ -Source0: http://downloads.sourceforge.net/gimp-print/%{name}-%{ver}.tar.bz2 +Source0: http://downloads.sourceforge.net/gimp-print/%{name}-%{version}.tar.bz2 # Post-install script to update CUPS native PPDs. Source1: cups-genppdupdate.py.in +# ported from old gimp-print package - fix for a menu in gimp gutenprint plugin Patch0: gutenprint-menu.patch Patch1: gutenprint-O6.patch -Patch2: gutenprint-selinux.patch Patch3: gutenprint-postscriptdriver.patch Patch4: gutenprint-yyin.patch Patch5: gutenprint-manpage.patch Patch6: gutenprint-python36syntax.patch License: GPLv2+ +#### removed patches, because the seems useless +# I'll leave them here, in case its removal will break something +#Patch2: gutenprint-selinux.patch + Requires: %{name}-libs%{?_isa} = %{version}-%{release} # gcc is no longer in buildroot by default @@ -102,17 +106,15 @@ This package contains native CUPS support for a wide range of Canon, Epson, HP and compatible printers. %prep -%setup -q -n %{name}-%{ver} +%setup -q -n %{name}-%{version} # Fix menu placement of GIMP plugin. %patch0 -p1 -b .menu # Don't use -O6 compiler option. %patch1 -p1 -b .O6 # Restore file contexts when updating PPDs. -%patch2 -p1 -b .selinux +#%%patch2 -p1 -b .selinux # Allow the CUPS dynamic driver to run inside a build root. %patch3 -p1 -b .postscriptdriver -# Fix build against new versions of gcc. - # Don't export yy* symbols (bug #882194). %patch4 -p1 -b .yyin @@ -238,6 +240,9 @@ exit 0 %{_mandir}/man8/cups-genppd*.8* %changelog +* Thu Jun 28 2018 Zdenek Dohnal - 5.2.14-1 +- 5.2.14 + * Wed Feb 28 2018 Zdenek Dohnal - 5.2.14-0.4pre2 - name libraries explicitly diff --git a/sources b/sources index 5263224..afe2ed4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gutenprint-5.2.14-pre2.tar.bz2) = dbd99425f8b04cf6ec4211d3648187bda0d10d455b10685c31740410cfcff833e711d39724317535074f9008510a2f21258bca99e72f73f7e30aabffde93c3a6 +SHA512 (gutenprint-5.2.14.tar.bz2) = aeb06b4be45fcb67320b419b988ca59dbda51bb2c3ff4edd0f0757ac977565a6829f506ebea6872211c689a15925ad2119836424c3c9a97345a8cd506e9df9fd