move libraries to new libgutenprint subpackage [release 5.3.4-2mamba;Thu Dec 29 2022]
This commit is contained in:
parent
8630e0855f
commit
f9516bd00d
106
gutenprint.spec
106
gutenprint.spec
@ -2,58 +2,51 @@
|
|||||||
|
|
||||||
Name: gutenprint
|
Name: gutenprint
|
||||||
Version: 5.3.4
|
Version: 5.3.4
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: A suite of printer drivers that may be used with cups
|
Summary: A suite of printer drivers that may be used with cups
|
||||||
Group: System/Spooling
|
Group: System/Spooling
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://gutenprint.sourceforge.net
|
URL: https://gimp-print.sourceforge.net/
|
||||||
Source: http://download.sourceforge.net/sourceforge/gimp-print/gutenprint-%{version}.tar.xz
|
Source: http://download.sourceforge.net/sourceforge/gimp-print/gutenprint-%{version}.tar.xz
|
||||||
Patch0: %{name}-5.2.3-parallel-build.patch
|
Patch0: %{name}-5.2.3-parallel-build.patch
|
||||||
Patch1: %{name}-5.2.3-LD_PRELOAD_fix.patch
|
Patch1: %{name}-5.2.3-LD_PRELOAD_fix.patch
|
||||||
Patch2: %{name}-5.2.6-fix_includes.patch
|
Patch2: %{name}-5.2.6-fix_includes.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: ghostscript-devel
|
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libatk-devel
|
BuildRequires: libat-spi2-core-devel
|
||||||
|
BuildRequires: libbabl-devel
|
||||||
|
BuildRequires: libbrotli-devel
|
||||||
|
BuildRequires: libbzip2-devel
|
||||||
BuildRequires: libcairo-devel
|
BuildRequires: libcairo-devel
|
||||||
BuildRequires: libcups-devel
|
BuildRequires: libcups-devel
|
||||||
BuildRequires: libexpat-devel
|
|
||||||
BuildRequires: libfontconfig-devel
|
BuildRequires: libfontconfig-devel
|
||||||
BuildRequires: libfreetype-devel
|
BuildRequires: libfreetype-devel
|
||||||
BuildRequires: libgcrypt-devel
|
BuildRequires: libgdk-pixbuf-devel
|
||||||
|
BuildRequires: libgegl-devel
|
||||||
BuildRequires: libgimp-devel
|
BuildRequires: libgimp-devel
|
||||||
BuildRequires: libglib-devel
|
BuildRequires: libglib-devel
|
||||||
BuildRequires: libglitz-devel
|
BuildRequires: libgraphite2-devel
|
||||||
BuildRequires: libgnutls-devel
|
|
||||||
BuildRequires: libgpg-error-devel
|
|
||||||
BuildRequires: libgtk2-devel
|
BuildRequires: libgtk2-devel
|
||||||
BuildRequires: libgtk-devel
|
BuildRequires: libharfbuzz-devel
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjson-glib-devel
|
||||||
BuildRequires: libpango-devel
|
BuildRequires: libpango-devel
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: libperl
|
||||||
BuildRequires: libtiff-devel
|
BuildRequires: libudev-devel
|
||||||
BuildRequires: libX11-devel
|
BuildRequires: libusb-devel
|
||||||
BuildRequires: libXau-devel
|
|
||||||
BuildRequires: libxcb-devel
|
|
||||||
BuildRequires: libxcb-util-devel
|
|
||||||
BuildRequires: libXdmcp-devel
|
|
||||||
BuildRequires: libXext-devel
|
|
||||||
BuildRequires: libXrender-devel
|
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libltdl-devel >= 1.5.22
|
BuildRequires: libltdl-devel >= 1.5.22
|
||||||
BuildRequires: libpthread-stubs-devel >= 0.1
|
|
||||||
BuildRequires: libkrb5-devel
|
BuildRequires: libkrb5-devel
|
||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Requires: cups-bjnp
|
Requires: cups-bjnp
|
||||||
Requires: libcups >= 1.1.19
|
Requires: libcups >= 1.1.19
|
||||||
Provides: gimp-print
|
Provides: gimp-print
|
||||||
Obsoletes: gimp-print
|
Obsoletes: gimp-print < 5.3.4
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Gutenprint is the new name for the former gimp-print tool.
|
Gutenprint is the new name for the former gimp-print tool.
|
||||||
@ -65,36 +58,43 @@ We are continuing our work in all of these areas to produce ever higher quality
|
|||||||
Despite the name, printing support for The GIMP is only one small part of what Gutenprin does, and indeed, the Print plugin may eventually be removed from the core gutenprint distribution.
|
Despite the name, printing support for The GIMP is only one small part of what Gutenprin does, and indeed, the Print plugin may eventually be removed from the core gutenprint distribution.
|
||||||
Gutenprint printer drivers can be used with all common UNIX print spooling systems, by means of either CUPS or Ghostscript.
|
Gutenprint printer drivers can be used with all common UNIX print spooling systems, by means of either CUPS or Ghostscript.
|
||||||
|
|
||||||
%package devel
|
%package -n lib%{name}
|
||||||
|
Summary: Libraries provided gutenprint
|
||||||
|
Group: System/Libraries
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description -n lib%{name}
|
||||||
|
Gutenprint is a package of high quality printer drivers for Linux, BSD, Solaris, IRIX, and other UNIX-alike operating systems.
|
||||||
|
Gutenprint is the new name for the former gimp-print tool.
|
||||||
|
This is the libraries package.
|
||||||
|
|
||||||
|
%package -n lib%{name}-devel
|
||||||
Summary: Devel package for gutenprint
|
Summary: Devel package for gutenprint
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} == %{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Provides: gimp-print-devel
|
Provides: gimp-print-devel
|
||||||
Obsoletes: gimp-print-devel
|
Obsoletes: gimp-print-devel < 5.3.4
|
||||||
|
Provides: gutenprint-devel
|
||||||
|
Obsoletes: gutenprint-devel < 5.3.4-2mamba
|
||||||
|
|
||||||
%description devel
|
%description -n lib%{name}-devel
|
||||||
Gutenprint is the new name for the former gimp-print tool.
|
|
||||||
Gutenprint is a package of high quality printer drivers for Linux, BSD, Solaris, IRIX, and other UNIX-alike operating systems.
|
Gutenprint is a package of high quality printer drivers for Linux, BSD, Solaris, IRIX, and other UNIX-alike operating systems.
|
||||||
In many cases, these drivers rival or exceed the OEM drivers in quality and functionality.
|
Gutenprint is the new name for the former gimp-print tool.
|
||||||
Our goal is to produce the highest possible output quality from all supported printers.
|
This is the develment package.
|
||||||
To that end, we have done extensive work on screening algorithms, color generation, and printer feature utilization.
|
|
||||||
We are continuing our work in all of these areas to produce ever higher quality results, particularly on the ubiquitous, inexpensive inkjet printers that are nonetheless capable of nearly photographic output quality.
|
|
||||||
Despite the name, printing support for The GIMP is only one small part of what Gutenprin does, and indeed, the Print plugin may eventually be removed from the core gutenprint distribution.
|
|
||||||
Gutenprint printer drivers can be used with all common UNIX print spooling systems, by means of either CUPS or Ghostscript.
|
|
||||||
This is the devel package.
|
|
||||||
|
|
||||||
%debug_package
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
||||||
|
|
||||||
%setup -q
|
%setup -q
|
||||||
|
#-D -T
|
||||||
#%patch0 -p1
|
#%patch0 -p1
|
||||||
#%patch1 -p1
|
#%patch1 -p1
|
||||||
#%patch2 -p1
|
#%patch2 -p1
|
||||||
|
./autogen.sh
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
#:<< _EOF
|
||||||
#aclocal -I m4
|
#aclocal -I m4
|
||||||
#automake
|
#automake
|
||||||
|
|
||||||
@ -127,27 +127,22 @@ rm -f %{buildroot}%{_mandir}/man8/cups-calibrate.*
|
|||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
|
||||||
/usr/sbin/cups-genppdupdate 2>&1 >/dev/null
|
/usr/sbin/cups-genppdupdate 2>&1 >/dev/null
|
||||||
exit 0
|
:
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/testpattern
|
%{_bindir}/testpattern
|
||||||
%{_sbindir}/cups-genppd.%{majver}
|
%{_sbindir}/cups-genppd.%{majver}
|
||||||
%{_sbindir}/cups-genppdupdate
|
%{_sbindir}/cups-genppdupdate
|
||||||
%{_libdir}/*.so.*
|
|
||||||
%{_prefix}/lib/cups/backend/gutenprint5*+usb
|
%{_prefix}/lib/cups/backend/gutenprint5*+usb
|
||||||
%{_prefix}/lib/cups/driver/gutenprint.%{majver}
|
%{_prefix}/lib/cups/driver/gutenprint.%{majver}
|
||||||
%{_prefix}/lib/cups/filter/commandtocanon
|
%{_prefix}/lib/cups/filter/commandtocanon
|
||||||
%{_prefix}/lib/cups/filter/commandtoepson
|
%{_prefix}/lib/cups/filter/commandtoepson
|
||||||
%{_prefix}/lib/cups/filter/rastertogutenprint.%{majver}
|
%{_prefix}/lib/cups/filter/rastertogutenprint.%{majver}
|
||||||
%{_libdir}/gimp/2.0/plug-ins/gutenprint
|
|
||||||
%dir %{_libdir}/gutenprint
|
|
||||||
%dir %{_libdir}/gutenprint/%{majver}
|
|
||||||
%{_libdir}/gutenprint/%{majver}/config.summary
|
|
||||||
%{_datadir}/cups/calibrate.ppm
|
%{_datadir}/cups/calibrate.ppm
|
||||||
%{_datadir}/cups/usb/net.sf.gimp-print.usb-quirks
|
%{_datadir}/cups/usb/net.sf.gimp-print.usb-quirks
|
||||||
%dir %{_datadir}/gutenprint
|
%dir %{_datadir}/gutenprint
|
||||||
@ -162,19 +157,30 @@ exit 0
|
|||||||
#%{_mandir}/man1/*
|
#%{_mandir}/man1/*
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
|
|
||||||
%files devel
|
%files -n lib%{name}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libgutenprint*.so.*
|
||||||
|
%{_libdir}/gimp/2.0/plug-ins/gutenprint
|
||||||
|
%dir %{_libdir}/gutenprint
|
||||||
|
%dir %{_libdir}/gutenprint/%{majver}
|
||||||
|
%{_libdir}/gutenprint/%{majver}/config.summary
|
||||||
|
%doc COPYING
|
||||||
|
|
||||||
|
%files -n lib%{name}-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_includedir}/gutenprint
|
%dir %{_includedir}/gutenprint
|
||||||
%{_includedir}/gutenprint/*.h
|
%{_includedir}/gutenprint/*.h
|
||||||
%dir %{_includedir}/gutenprintui2
|
%dir %{_includedir}/gutenprintui2
|
||||||
%{_includedir}/gutenprintui2/*.h
|
%{_includedir}/gutenprintui2/*.h
|
||||||
%{_libdir}/*.a
|
%{_libdir}/libgutenprint*.a
|
||||||
%{_libdir}/*.la
|
%{_libdir}/libgutenprint*.so
|
||||||
%{_libdir}/*.so
|
|
||||||
%{_libdir}/pkgconfig/gutenprint.pc
|
%{_libdir}/pkgconfig/gutenprint.pc
|
||||||
%{_libdir}/pkgconfig/gutenprintui2.pc
|
%{_libdir}/pkgconfig/gutenprintui2.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 29 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.4-2mamba
|
||||||
|
- move libraries to new libgutenprint subpackage
|
||||||
|
|
||||||
* Wed Dec 09 2020 Automatic Build System <autodist@mambasoft.it> 5.3.4-1mamba
|
* Wed Dec 09 2020 Automatic Build System <autodist@mambasoft.it> 5.3.4-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user