|
|
|
@ -3,14 +3,15 @@
|
|
|
|
|
|
|
|
|
|
Name: gutenprint
|
|
|
|
|
Summary: Printer Drivers Package
|
|
|
|
|
Version: 5.3.4
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 5.2.14
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
URL: http://gimp-print.sourceforge.net/
|
|
|
|
|
Source0: http://downloads.sourceforge.net/gimp-print/%{name}-%{version}.tar.xz
|
|
|
|
|
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
|
|
|
|
|
Patch3: gutenprint-postscriptdriver.patch
|
|
|
|
|
Patch4: gutenprint-yyin.patch
|
|
|
|
|
Patch5: gutenprint-manpage.patch
|
|
|
|
@ -19,23 +20,19 @@ License: GPLv2+
|
|
|
|
|
|
|
|
|
|
#### removed patches, because the seems useless
|
|
|
|
|
# I'll leave them here, in case its removal will break something
|
|
|
|
|
#Patch1: gutenprint-O6.patch
|
|
|
|
|
#Patch2: gutenprint-selinux.patch
|
|
|
|
|
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
# gcc is no longer in buildroot by default
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
# uses make
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: cups-libs, cups-devel, cups
|
|
|
|
|
BuildRequires: gettext-devel,pkgconfig
|
|
|
|
|
BuildRequires: libtiff-devel,libjpeg-devel,libpng-devel
|
|
|
|
|
BuildRequires: pkgconfig(libusb-1.0)
|
|
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
|
|
%if 0%{?rhel} <= 8 || 0%{?fedora}
|
|
|
|
|
BuildRequires: pkgconfig(gimpui-2.0)
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: gimp
|
|
|
|
|
BuildRequires: chrpath
|
|
|
|
|
|
|
|
|
|
# Make sure we get postscriptdriver tags.
|
|
|
|
@ -44,7 +41,7 @@ BuildRequires: python3-cups
|
|
|
|
|
# autoreconf
|
|
|
|
|
BuildRequires: autoconf automake libtool
|
|
|
|
|
|
|
|
|
|
# needed for defining %%{__python3} macro for prep phase
|
|
|
|
|
# needed for defining %%{__python3} macro in prep phase
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
|
|
|
|
|
## NOTE ##
|
|
|
|
@ -86,7 +83,6 @@ Requires: gtk2-devel
|
|
|
|
|
This package contains headers and libraries required to build applications that
|
|
|
|
|
uses gutenprint package.
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} <= 8 || 0%{?fedora}
|
|
|
|
|
%package plugin
|
|
|
|
|
Summary: GIMP plug-in for gutenprint
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
@ -102,7 +98,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
%description extras
|
|
|
|
|
This package contains test pattern generator and the sample test pattern
|
|
|
|
|
that is used by gutenprint-devel package.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%package cups
|
|
|
|
|
Summary: CUPS drivers for Canon, Epson, HP and compatible printers
|
|
|
|
@ -118,7 +113,7 @@ Epson, HP and compatible printers.
|
|
|
|
|
# Fix menu placement of GIMP plugin.
|
|
|
|
|
%patch0 -p1 -b .menu
|
|
|
|
|
# Don't use -O6 compiler option.
|
|
|
|
|
#%%patch1 -p1 -b .O6
|
|
|
|
|
%patch1 -p1 -b .O6
|
|
|
|
|
# Restore file contexts when updating PPDs.
|
|
|
|
|
#%%patch2 -p1 -b .selinux
|
|
|
|
|
# Allow the CUPS dynamic driver to run inside a build root.
|
|
|
|
@ -173,15 +168,13 @@ rm -f %{name}.lang
|
|
|
|
|
%find_lang %{name} --all-name
|
|
|
|
|
cat %{name}-po.lang >>%{name}.lang
|
|
|
|
|
|
|
|
|
|
#echo .so man8/cups-genppd.8 > %{buildroot}%{_mandir}/man8/cups-genppd.5.3.3
|
|
|
|
|
echo .so man8/cups-genppd.8 > %{buildroot}%{_mandir}/man8/cups-genppd.5.2.8
|
|
|
|
|
|
|
|
|
|
# Fix up rpath. If you can find a way to do this without resorting
|
|
|
|
|
# to chrpath, please let me know!
|
|
|
|
|
for file in \
|
|
|
|
|
%{buildroot}%{_sbindir}/cups-genppd.5.3 \
|
|
|
|
|
%if 0%{?rhel} <= 8 || 0%{?fedora}
|
|
|
|
|
%{buildroot}%{_sbindir}/cups-genppd.5.2 \
|
|
|
|
|
%{buildroot}%{_libdir}/gimp/*/plug-ins/* \
|
|
|
|
|
%endif
|
|
|
|
|
%{buildroot}%{_libdir}/*.so.* \
|
|
|
|
|
%{buildroot}%{_cups_serverbin}/driver/* \
|
|
|
|
|
%{buildroot}%{_cups_serverbin}/filter/* \
|
|
|
|
@ -190,16 +183,16 @@ do
|
|
|
|
|
chrpath --delete ${file}
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} > 8
|
|
|
|
|
%{_bindir}/rm -f %{buildroot}%{_bindir}/testpattern \
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets libs
|
|
|
|
|
%ldconfig_scriptlets libs-ui
|
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
%post libs-ui -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
%postun libs-ui -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%post cups
|
|
|
|
|
%{_sbindir}/cups-genppdupdate >/dev/null 2>&1 || :
|
|
|
|
|
%{_bindir}/systemctl restart cups >/dev/null 2>&1 || :
|
|
|
|
|
/usr/sbin/cups-genppdupdate >/dev/null 2>&1 || :
|
|
|
|
|
/sbin/service cups reload >/dev/null 2>&1 || :
|
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -215,12 +208,12 @@ exit 0
|
|
|
|
|
%license COPYING
|
|
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
|
%{_libdir}/libgutenprint.so.9
|
|
|
|
|
%{_libdir}/libgutenprint.so.9.5.0
|
|
|
|
|
%{_libdir}/libgutenprint.so.2
|
|
|
|
|
%{_libdir}/libgutenprint.so.2.7.0
|
|
|
|
|
|
|
|
|
|
%files libs-ui
|
|
|
|
|
%{_libdir}/libgutenprintui2.so.2
|
|
|
|
|
%{_libdir}/libgutenprintui2.so.2.5.0
|
|
|
|
|
%{_libdir}/libgutenprintui2.so.1
|
|
|
|
|
%{_libdir}/libgutenprintui2.so.1.0.0
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%doc ChangeLog doc/developer/reference-html doc/developer/gutenprint.pdf
|
|
|
|
@ -232,7 +225,6 @@ exit 0
|
|
|
|
|
%{_libdir}/pkgconfig/gutenprintui2.pc
|
|
|
|
|
%exclude %{_libdir}/*.la
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} <= 8 || 0%{?fedora}
|
|
|
|
|
%files plugin
|
|
|
|
|
%{_libdir}/gimp/*/plug-ins/gutenprint
|
|
|
|
|
|
|
|
|
@ -240,7 +232,6 @@ exit 0
|
|
|
|
|
%doc
|
|
|
|
|
%{_bindir}/testpattern
|
|
|
|
|
%{_datadir}/gutenprint/samples/*
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files cups
|
|
|
|
|
%doc
|
|
|
|
@ -252,58 +243,14 @@ exit 0
|
|
|
|
|
%{_bindir}/cups-calibrate
|
|
|
|
|
%{_sbindir}/cups-genppd*
|
|
|
|
|
%{_mandir}/man8/cups-calibrate.8*
|
|
|
|
|
%{_mandir}/man8/cups-genppd*8*.gz
|
|
|
|
|
%{_mandir}/man8/cups-genppd*.8*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 5.3.4-4
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.3.4-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.4-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 13 2021 Zdenek Dohnal <zdohnal@redhat.com> - 5.3.4-1
|
|
|
|
|
- 5.3.4
|
|
|
|
|
|
|
|
|
|
* Fri Nov 06 2020 Zdenek Dohnal <zdohnal@redhat.com> - 5.3.3-7
|
|
|
|
|
- 1773690 - cups-genppdupdate doesnt work for non-utf-8 PPDs
|
|
|
|
|
|
|
|
|
|
* Thu Nov 05 2020 Zdenek Dohnal <zdohnal@redhat.com> - 5.3.3-6
|
|
|
|
|
- make is no longer in buildroot by default
|
|
|
|
|
|
|
|
|
|
* Wed Sep 30 2020 Zdenek Dohnal <zdohnal@redhat.com> - 5.3.3-5
|
|
|
|
|
- dont require the gimp package as build require, pkgconfig's gimpui-2.0 suffices
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.3-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Mar 25 2020 Tom Stellard <tstellar@redhat.com> - 5.3.3-3
|
|
|
|
|
- Fix warning building with clang
|
|
|
|
|
- non-void function 'stp_paths_copy_with_prefix' should return a value [-Wreturn-type]
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Nov 06 2019 Zdenek Dohnal <zdohnal@redhat.com> - 5.3.3-1
|
|
|
|
|
- 5.3.3
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.14-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Apr 09 2019 Zdenek Dohnal <zdohnal@redhat.com> - 5.2.14-6
|
|
|
|
|
- rebuilt again (because bodhi cannot release builds of unpushed updates)
|
|
|
|
|
|
|
|
|
|
* Mon Apr 08 2019 Zdenek Dohnal <zdohnal@redhat.com> - 5.2.14-5
|
|
|
|
|
- rebuilt for gimp-2.10.10
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.14-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
* Tue Jul 25 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 5.2.14-3
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.14-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
* Wed Aug 15 2018 Zdenek Dohnal <zdohnal@redhat.com> - 5.2.14-3
|
|
|
|
|
- rebuilt with fixed gimp module
|
|
|
|
|
|
|
|
|
|
* Wed Jul 11 2018 Zdenek Dohnal <zdohnal@redhat.com> - 5.2.14-2
|
|
|
|
|
- use %%{__python3} macro
|
|
|
|
|