Accepting request 930202 from home:gmbr3:Active

- Update to 3.21.10
  Added support for the following new printers:
  * HP ENVY Inspire 7200e series
  * HP ENVY Inspire 7900e series
  * HP LaserJet MFP M140a
  * HP LaserJet MFP M139a
  * HP LaserJet MFP M141a
  * HP LaserJet MFP M142a
  * HP LaserJet MFP M140w
  * HP LaserJet MFP M140we
  * HP LaserJet MFP M139w
  * HP LaserJet MFP M139we
  * HP LaserJet MFP M141w
  * HP LaserJet MFP M141we
  * HP LaserJet MFP M142we
  * HP LaserJet MFP M142w
  * HP LaserJet M109a
  * HP LaserJet M110a
  * HP LaserJet M111a
  * HP LaserJet M112a
  * HP LaserJet M109w
  * HP LaserJet M109we
  * HP LaserJet M110w
  * HP LaserJet M110we
  * HP LaserJet M111w
  * HP LaserJet M111we
  * HP LaserJet M112we
  * HP LaserJet M112w
  * HP DesignJet Z6 Pro 64in
  * HP DesignJet Z9 Pro 64in
  * HP PageWide XL Pro 5200 PS MFP series
  * HP PageWide XL Pro 8200 PS MFP series
  * HP PageWide XL 3920 MFP
  * HP PageWide XL 4200 Printer
  * HP PageWide XL 4200 Multifunction Printer
  * HP PageWide XL 4700 Printer
  * HP PageWide XL 4700 Multifunction Printer
  * HP PageWide XL 5200 Printer
  * HP PageWide XL 5200 Multifunction Printer
  * HP PageWide XL 8200 Printer
  * HP Smart Tank 500 series
  * HP Smart Tank 530 series
  * HP Smart Tank Plus 570 series
  * HP Smart Tank 7600
  * HP Smart Tank 750
  * HP Smart Tank 790
  * HP Smart Tank Plus 710-720
  * HP Smart Tank Plus 7000
  * HP Smart Tank Plus 660-670
  * HP Smart Tank Plus 6000
  * HP DeskJet Ink Advantage Ultra 4800 All-in-One Printer series
- Rebased hplip-missing-drivers.patch & don't edit Makefile.in
- Rebased hplip-remove-imageprocessor.diff
- Remove libtool archives
- Add drivers for hplip-missing-drivers.patch from Fedora
  (lp#1843592,rh#1739855,rh#1740132,rh#1742949)

OBS-URL: https://build.opensuse.org/request/show/930202
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=219
This commit is contained in:
2021-11-08 15:41:33 +00:00
committed by Git OBS Bridge
parent 1065679ca8
commit 054892e8bb
10 changed files with 91 additions and 55 deletions

View File

@@ -24,7 +24,7 @@
%define pyexe %{_bindir}/python3
%global use_qt5 1
Name: hplip
Version: 3.21.6
Version: 3.21.10
Release: 0
Summary: HP's Printing, Scanning, and Faxing Software
License: BSD-3-Clause AND GPL-2.0-or-later AND MIT
@@ -45,6 +45,9 @@ Source2: hplip.keyring
# Source100... is for special SUSE sources:
# Source102 is a small man page for /usr/bin/hpijs:
Source102: hpijs.1.gz
# Actual drivers for hplip-missing-drivers.patch
Source103: hp-laserjet_cp_1025nw.ppd.gz
Source104: hp-laserjet_professional_p_1102w.ppd.gz
#
Source1000: %{name}-rpmlintrc
# Patch100... is for special Suse patches:
@@ -331,6 +334,8 @@ sed -i 's,%{_bindir}/python\>,%{pyexe},' \
sed -i -e '/#!.*xdg-open$/d' \
-e 's|%{_datadir}/icons/Humanity/devices/48/printer.svg|printer|' hp-uiscan.desktop.in
cp -p %{SOURCE103} %{SOURCE104} ppd/hpcups
%build
# If AUTOMAKE='automake --foreign' is not set, autoreconf (in fact automake)
# complains about missing files like NEWS, README, AUTHORS, ChangeLog
@@ -550,6 +555,9 @@ popd
install -d %{buildroot}%{_mandir}/man1
install -m 644 %{SOURCE102} %{buildroot}%{_mandir}/man1/
# remove libtool archives
find "%{buildroot}" -type f -name "*.la" -delete -print
# Run fdupes:
# The RPM macro fdupes runs /usr/bin/fdupes that links files with identical content.
# Never run fdupes carelessly over the whole buildroot directory
@@ -717,8 +725,6 @@ exit 0
%{_libdir}/libhpipp.so
%{_libdir}/libhpmud.so
%{_libdir}/libhpdiscovery.so
%{_libdir}/*.la
%{_libdir}/sane/libsane-hpaio.so
%{_libdir}/sane/*.la
%changelog