diff --git a/hplip.changes b/hplip.changes index 578112b..924723d 100644 --- a/hplip.changes +++ b/hplip.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Sep 15 11:43:09 CEST 2014 - jsmeix@suse.de + +- PPDs that require a proprietary plugin from HP must be moved to + the hplip main-package because the proprietary plugin from HP + must be downloaded and installed by using HP's "hp-plugin" tool + that belongs to the hplip main-package. Accordingly PPDs that + require a proprietary plugin from HP are in a new directory + /usr/share/cups/model/manufacturer-PPDs/hplip-plugin + that belongs to the hplip main-package (bnc#876690). + ------------------------------------------------------------------- Tue Jun 10 11:34:10 CEST 2014 - jsmeix@suse.de diff --git a/hplip.spec b/hplip.spec index 66056c3..a64eaec 100644 --- a/hplip.spec +++ b/hplip.spec @@ -515,6 +515,21 @@ install -d %{buildroot}%{_datadir}/cups/model/manufacturer-PPDs/%{name}-hpps for p in *.ppd.gz do zgrep -q '^\*cupsFilter:.*hpps' $p && mv $p ../%{name}-hpps done +echo "Moving PPDs that require a proprietary plugin from HP to /usr/share/cups/model/manufacturer-PPDs/hplip-plugin..." +# PPDs for various printers that require a proprietary plugin from HP +# must be moved to the hplip main-package because +# the proprietary plugin from HP must be downloaded and installed +# by using HP's "hp-plugin" tool from the hplip main-package +# (HP's "hp-setup" tool calls "hp-plugin" when needed). +# Accordingly PPDs that require a proprietary plugin from HP must be moved +# to the hplip main-package which is implemented by moving them +# to a new directory /usr/share/cups/model/manufacturer-PPDs/hplip-plugin +# that is listed in the files list of the hplip main-package +# (see https://bugzilla.novell.com/show_bug.cgi?id=876690): +install -d %{buildroot}%{_datadir}/cups/model/manufacturer-PPDs/%{name}-plugin +for p in *.ppd.gz +do zgrep -q '^\*NickName:.*requires proprietary plugin' $p && mv $p ../%{name}-plugin +done echo "End of general tests and adjustments for all PPDs." # Switch back to the usual build log messages: set -x @@ -685,6 +700,7 @@ exit 0 %dir %{_datadir}/cups/model %dir %{_datadir}/cups/model/manufacturer-PPDs %{_datadir}/cups/model/manufacturer-PPDs/%{name}-hpps/ +%{_datadir}/cups/model/manufacturer-PPDs/%{name}-plugin/ %doc %{_defaultdocdir}/%{name}/ %{_datadir}/applications/%{name}.desktop %{_datadir}/hplip/