This commit is contained in:
Zdenek Dohnal 2018-07-10 13:58:26 +02:00
parent 7cfc9f8b3a
commit 4cdb1ffc0a
3 changed files with 16 additions and 10 deletions

1
.gitignore vendored
View File

@ -22,3 +22,4 @@ gutenprint-5.2.6.tar.bz2
/gutenprint-5.2.13-pre1.tar.bz2 /gutenprint-5.2.13-pre1.tar.bz2
/gutenprint-5.2.13.tar.bz2 /gutenprint-5.2.13.tar.bz2
/gutenprint-5.2.14-pre2.tar.bz2 /gutenprint-5.2.14-pre2.tar.bz2
/gutenprint-5.2.14.tar.bz2

View File

@ -1,23 +1,27 @@
%global prever pre2 #%%global prever pre2
%global ver %{version}-%{prever} #%%global ver %%{version}-%%{prever}
Name: gutenprint Name: gutenprint
Summary: Printer Drivers Package Summary: Printer Drivers Package
Version: 5.2.14 Version: 5.2.14
Release: 0.4%{prever}%{?dist} Release: 1%{?dist}
URL: http://gimp-print.sourceforge.net/ 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. # Post-install script to update CUPS native PPDs.
Source1: cups-genppdupdate.py.in Source1: cups-genppdupdate.py.in
# ported from old gimp-print package - fix for a menu in gimp gutenprint plugin
Patch0: gutenprint-menu.patch Patch0: gutenprint-menu.patch
Patch1: gutenprint-O6.patch Patch1: gutenprint-O6.patch
Patch2: gutenprint-selinux.patch
Patch3: gutenprint-postscriptdriver.patch Patch3: gutenprint-postscriptdriver.patch
Patch4: gutenprint-yyin.patch Patch4: gutenprint-yyin.patch
Patch5: gutenprint-manpage.patch Patch5: gutenprint-manpage.patch
Patch6: gutenprint-python36syntax.patch Patch6: gutenprint-python36syntax.patch
License: GPLv2+ 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} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
# gcc is no longer in buildroot by default # 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. Epson, HP and compatible printers.
%prep %prep
%setup -q -n %{name}-%{ver} %setup -q -n %{name}-%{version}
# Fix menu placement of GIMP plugin. # Fix menu placement of GIMP plugin.
%patch0 -p1 -b .menu %patch0 -p1 -b .menu
# Don't use -O6 compiler option. # Don't use -O6 compiler option.
%patch1 -p1 -b .O6 %patch1 -p1 -b .O6
# Restore file contexts when updating PPDs. # 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. # Allow the CUPS dynamic driver to run inside a build root.
%patch3 -p1 -b .postscriptdriver %patch3 -p1 -b .postscriptdriver
# Fix build against new versions of gcc.
# Don't export yy* symbols (bug #882194). # Don't export yy* symbols (bug #882194).
%patch4 -p1 -b .yyin %patch4 -p1 -b .yyin
@ -238,6 +240,9 @@ exit 0
%{_mandir}/man8/cups-genppd*.8* %{_mandir}/man8/cups-genppd*.8*
%changelog %changelog
* Thu Jun 28 2018 Zdenek Dohnal <zdohnal@redhat.com> - 5.2.14-1
- 5.2.14
* Wed Feb 28 2018 Zdenek Dohnal <zdohnal@redhat.com> - 5.2.14-0.4pre2 * Wed Feb 28 2018 Zdenek Dohnal <zdohnal@redhat.com> - 5.2.14-0.4pre2
- name libraries explicitly - name libraries explicitly

View File

@ -1 +1 @@
SHA512 (gutenprint-5.2.14-pre2.tar.bz2) = dbd99425f8b04cf6ec4211d3648187bda0d10d455b10685c31740410cfcff833e711d39724317535074f9008510a2f21258bca99e72f73f7e30aabffde93c3a6 SHA512 (gutenprint-5.2.14.tar.bz2) = aeb06b4be45fcb67320b419b988ca59dbda51bb2c3ff4edd0f0757ac977565a6829f506ebea6872211c689a15925ad2119836424c3c9a97345a8cd506e9df9fd