Move libraries into separate subpackages (#1085599)
This commit is contained in:
parent
6e98c7e007
commit
8040793897
@ -5,8 +5,7 @@
|
|||||||
Name: gutenprint
|
Name: gutenprint
|
||||||
Summary: Printer Drivers Package
|
Summary: Printer Drivers Package
|
||||||
Version: 5.2.10
|
Version: 5.2.10
|
||||||
Release: 0.5.%{prever}%{?dist}
|
Release: 0.6.%{prever}%{?dist}
|
||||||
Group: System Environment/Base
|
|
||||||
URL: http://gimp-print.sourceforge.net/
|
URL: http://gimp-print.sourceforge.net/
|
||||||
Source0: http://downloads.sourceforge.net/gimp-print/%{name}-%{version}-%{prever}.tar.bz2
|
Source0: http://downloads.sourceforge.net/gimp-print/%{name}-%{version}-%{prever}.tar.bz2
|
||||||
# Post-install script to update foomatic PPDs.
|
# Post-install script to update foomatic PPDs.
|
||||||
@ -22,6 +21,7 @@ Patch5: gutenprint-manpage.patch
|
|||||||
Patch6: gutenprint-test-suite.patch
|
Patch6: gutenprint-test-suite.patch
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
|
|
||||||
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
BuildRequires: cups-libs, cups-devel, cups
|
BuildRequires: cups-libs, cups-devel, cups
|
||||||
BuildRequires: gettext-devel,pkgconfig
|
BuildRequires: gettext-devel,pkgconfig
|
||||||
BuildRequires: libtiff-devel,libjpeg-devel,libpng-devel
|
BuildRequires: libtiff-devel,libjpeg-devel,libpng-devel
|
||||||
@ -55,14 +55,26 @@ Gutenprint was formerly called Gimp-Print.
|
|||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for gutenprint
|
Summary: Documentation for gutenprint
|
||||||
Group: Documentation
|
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
Documentation for gutenprint.
|
Documentation for gutenprint.
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: libgutenprint library
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
This package includes libgutenprint library, necessary to run gutenprint.
|
||||||
|
|
||||||
|
%package libs-ui
|
||||||
|
Summary: libgutenprintui2 library
|
||||||
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description libs-ui
|
||||||
|
This package includes libgutenprintui2 library, which contains
|
||||||
|
GTK+ widgets, which may be used for print dialogs etc.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Library development files for gutenprint
|
Summary: Library development files for gutenprint
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: gtk2-devel
|
Requires: gtk2-devel
|
||||||
Obsoletes: gimp-print-devel < 4.2.7-25
|
Obsoletes: gimp-print-devel < 4.2.7-25
|
||||||
@ -74,7 +86,6 @@ uses gutenprint package.
|
|||||||
|
|
||||||
%package plugin
|
%package plugin
|
||||||
Summary: GIMP plug-in for gutenprint
|
Summary: GIMP plug-in for gutenprint
|
||||||
Group: System Environment/Base
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: gimp
|
Requires: gimp
|
||||||
Obsoletes: gimp-print-plugin < 4.2.7-25
|
Obsoletes: gimp-print-plugin < 4.2.7-25
|
||||||
@ -85,7 +96,6 @@ This package contains the gutenprint GIMP plug-in.
|
|||||||
|
|
||||||
%package foomatic
|
%package foomatic
|
||||||
Summary: Foomatic printer database information for gutenprint
|
Summary: Foomatic printer database information for gutenprint
|
||||||
Group: System Environment/Libraries
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires(post): foomatic
|
Requires(post): foomatic
|
||||||
# python-cups is required for the update script (bug #246865)
|
# python-cups is required for the update script (bug #246865)
|
||||||
@ -100,7 +110,6 @@ and driver descriptions.
|
|||||||
|
|
||||||
%package extras
|
%package extras
|
||||||
Summary: Sample test pattern generator for gutenprint-devel
|
Summary: Sample test pattern generator for gutenprint-devel
|
||||||
Group: Applications/Publishing
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description extras
|
%description extras
|
||||||
@ -109,8 +118,7 @@ that is used by gutenprint-devel package.
|
|||||||
|
|
||||||
%package cups
|
%package cups
|
||||||
Summary: CUPS drivers for Canon, Epson, HP and compatible printers
|
Summary: CUPS drivers for Canon, Epson, HP and compatible printers
|
||||||
Group: Applications/Publishing
|
Requires: cups
|
||||||
Requires: cups >= 1.2.1-1.7
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Obsoletes: gimp-print-cups < 4.2.7-26
|
Obsoletes: gimp-print-cups < 4.2.7-26
|
||||||
Provides: gimp-print-cups = %{version}-%{release}
|
Provides: gimp-print-cups = %{version}-%{release}
|
||||||
@ -229,9 +237,11 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post libs -p /sbin/ldconfig
|
||||||
|
%post libs-ui -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
%postun libs-ui -p /sbin/ldconfig
|
||||||
|
|
||||||
%post cups
|
%post cups
|
||||||
/usr/sbin/cups-genppdupdate >/dev/null 2>&1 || :
|
/usr/sbin/cups-genppdupdate >/dev/null 2>&1 || :
|
||||||
@ -248,7 +258,6 @@ exit 0
|
|||||||
%{_mandir}/man1/ijsgutenprint.1*
|
%{_mandir}/man1/ijsgutenprint.1*
|
||||||
%endif
|
%endif
|
||||||
%{_datadir}/gutenprint
|
%{_datadir}/gutenprint
|
||||||
%{_libdir}/*.so.*
|
|
||||||
%{_libdir}/gutenprint/
|
%{_libdir}/gutenprint/
|
||||||
|
|
||||||
# For some reason the po files are needed as well.
|
# For some reason the po files are needed as well.
|
||||||
@ -257,6 +266,12 @@ exit 0
|
|||||||
%files doc
|
%files doc
|
||||||
%doc COPYING AUTHORS NEWS README doc/FAQ.html doc/gutenprint-users-manual.odt doc/gutenprint-users-manual.pdf
|
%doc COPYING AUTHORS NEWS README doc/FAQ.html doc/gutenprint-users-manual.odt doc/gutenprint-users-manual.pdf
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%{_libdir}/libgutenprint.so.*
|
||||||
|
|
||||||
|
%files libs-ui
|
||||||
|
%{_libdir}/libgutenprintui2.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc ChangeLog doc/developer/reference-html doc/developer/gutenprint.pdf
|
%doc ChangeLog doc/developer/reference-html doc/developer/gutenprint.pdf
|
||||||
%doc doc/gutenprint doc/gutenprintui2
|
%doc doc/gutenprint doc/gutenprintui2
|
||||||
@ -303,6 +318,9 @@ fi
|
|||||||
/bin/rm -f /var/cache/foomatic/*
|
/bin/rm -f /var/cache/foomatic/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 09 2014 Jiri Popelka <jpopelka@redhat.com> - 5.2.10-0.6.pre2
|
||||||
|
- Move libraries into separate subpackages (#1085599)
|
||||||
|
|
||||||
* Mon Mar 10 2014 Jaromír Končický <jkoncick@redhat.com> - 5.2.10-0.5.pre2
|
* Mon Mar 10 2014 Jaromír Končický <jkoncick@redhat.com> - 5.2.10-0.5.pre2
|
||||||
- 5.2.10-pre2.
|
- 5.2.10-pre2.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user