- New libs sub-package (bug #444016).
This commit is contained in:
parent
38bfb2bc0f
commit
492d6cfe60
21
hplip.spec
21
hplip.spec
@ -49,6 +49,14 @@ BuildRequires: dbus-devel
|
||||
The Hewlett-Packard Linux Imaging and Printing Project provides
|
||||
drivers for HP printers and multi-function peripherals.
|
||||
|
||||
%package libs
|
||||
Summary: HPLIP libraries
|
||||
Group: System Environment/Libraries
|
||||
License: GPLv2+ and MIT
|
||||
|
||||
%description libs
|
||||
Libraries needed by HPLIP.
|
||||
|
||||
%package gui
|
||||
Summary: HPLIP graphical tools
|
||||
Group: Applications/System
|
||||
@ -67,6 +75,7 @@ Summary: HP Printer Drivers
|
||||
Group: Applications/Publishing
|
||||
License: BSD
|
||||
Epoch: %{hpijs_epoch}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: python-reportlab
|
||||
Requires: net-snmp
|
||||
Requires: cupsddk-drivers
|
||||
@ -83,7 +92,7 @@ Group: System Environment/Daemons
|
||||
License: GPLv2+
|
||||
Obsoletes: libsane-hpoj <= 0.91
|
||||
Requires: sane-backends
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
ExcludeArch: s390 s390x
|
||||
|
||||
%description -n libsane-hpaio
|
||||
@ -177,7 +186,6 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/hal/fdi/policy/10osvendor/10-hplip.fdi
|
||||
%dir %{_sysconfdir}/hp
|
||||
%config(noreplace) %{_sysconfdir}/hp/hplip.conf
|
||||
%{_libdir}/libhpip.so*
|
||||
%{_bindir}/hp-align
|
||||
%{_bindir}/hp-clean
|
||||
%{_bindir}/hp-colorcal
|
||||
@ -239,6 +247,11 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/hplip/prnt
|
||||
%{_datadir}/hplip/scan
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libhpip.so*
|
||||
%{_libdir}/libhpmud.so*
|
||||
|
||||
%files gui
|
||||
%{_bindir}/hp-check
|
||||
%{_bindir}/hp-print
|
||||
@ -257,7 +270,6 @@ rm -rf %{buildroot}
|
||||
|
||||
%files -n hpijs
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libhpmud.so*
|
||||
%{_bindir}/hpijs
|
||||
%{_datadir}/foomatic/db/source/PPD/HP
|
||||
%{_datadir}/cups/drv/*
|
||||
@ -291,6 +303,9 @@ fi
|
||||
exit 0
|
||||
|
||||
%changelog
|
||||
* Mon Aug 4 2008 Tim Waugh <twaugh@redhat.com>
|
||||
- New libs sub-package (bug #444016).
|
||||
|
||||
* Thu Jul 31 2008 Tim Waugh <twaugh@redhat.com>
|
||||
- Move libhpip.so* to the main package to avoid libsane-hpaio
|
||||
depending on hpijs (bug #457440).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user