Accepting request 441897 from Printing

1

OBS-URL: https://build.opensuse.org/request/show/441897
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hplip?expand=0&rev=107
This commit is contained in:
Dominique Leuenberger 2016-12-01 09:24:28 +00:00 committed by Git OBS Bridge
commit 1d114a31f1
6 changed files with 105 additions and 72 deletions

3
hplip-3.16.10.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:45b44e0334f76069511b0b2a40885a12d055013bc95a62250de5d1abc10dee84
size 23096030

7
hplip-3.16.10.tar.gz.asc Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAlgJ8wUACgkQc9dwzaWQR7kkhwCcCzsWgk7iZAia6jRoDiR4Vq84
4rYAnRl6KCB3IJ87N8msFcS/CCqngyCU
=BzIq
-----END PGP SIGNATURE-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9da67ae51c17487a8d725eb9c0bf9c6f0416e1fffa7db6cdff5302b1c556ceb
size 22942175

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAlfAFeQACgkQc9dwzaWQR7lP7gCgrcXWt3IcwXLNhyUUEZfBXKSP
rFIAoJbUJlX6p8jmV8bKpMQEekUyWpwO
=U4th
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Wed Nov 23 20:19:53 UTC 2016 - martin.wilck@suse.com
- Fixed SLES12 SP2 build problem in
%files section for /usr/lib/udev/rules.d
------------------------------------------------------------------.
Fri Nov 18 11:23:38 UTC 2016 - jweberhofer@weberhofer.at
- Version upgrade to 3.16.10:
* Added Support for the Following New Printers:
- HP officejetPro7740 wide Format All in one
- HP Office jet 6950 All-in-One printer
- HP ScanJet Pro 3000 s3 Sheet-feed Scanner
- HP ScanJet Enterprise Flow 5000 s4 Sheet-feed Scanner
- HP Scanjet Entrprise Flow 7000 s3 sheetfeed Scanner
- HP Color LaserJet Pro MFP M277c6
* Notes to follow:
- For scanjets scan using command "hp-scan --adf --size=size_name"
- "hp-scan --help" for all size_name
-------------------------------------------------------------------
Tue Oct 18 03:56:26 UTC 2016 - jweberhofer@weberhofer.at
- Version upgrade to 3.16.9:
* Added Support for the Following New Printers:
- HP OfficeJet Pro 8732M All-in-One Printer
- HP OfficeJet 8702 All-in-One Printer
- HP OfficeJet 6960 All-in-One Printer
- HP PageWide 377dw Multifunction Printer
- HP PageWide 352dw Printer
- HP PageWide Managed Color MFP E58650 series
- HP PageWide Managed Color E55650 series
-------------------------------------------------------------------
Wed Sep 14 17:38:31 UTC 2016 - fcastelli@suse.com

View File

@ -21,9 +21,19 @@
%else
%define is_leap 0
%endif
# For udev macros
%if 0%{?suse_version} > 1130
BuildRequires: systemd-rpm-macros
%else
# For older suse_version (in particular for SLE11) define needed udev macros manually:
%{!?_udevrulesdir: %global _udevrulesdir %{_prefix}/lib/udev/rules.d }
%endif
%if 0%{?suse_version} == 1110
# For SLE11 redefine _libexecdir because on SLE11 _libexecdir is "/usr/lib64":
%global _libexecdir %{_prefix}/lib
%endif
Name: hplip
Version: 3.16.8
Version: 3.16.10
Release: 0
Summary: HP's Printing, Scanning, and Faxing Software
License: BSD-3-Clause and GPL-2.0+ and MIT
@ -60,43 +70,6 @@ Patch108: add_missing_includes_and_define_GNU_SOURCE.patch
Patch200: hplip-mdns.patch
# Patch201 makes MDNS lookups more robust by retrying queries:
Patch201: hplip-mdns-retry-query.patch
# HPLIP's Python module cupsext.so has a build-time dependancy on the CUPS version:
# It needs symbols (like ippFirstAttribute, ippNextAttribute, ippSetOperation etc)
# that are defined only in libcups.so version > 1.5. For backward compatibility
# cupsext.c has a macro (CUPS_VERSION_1_6) which defines those undefined function names
# if CUPS version is <= 1.5. To check the CUPS version the CUPS_VERSION_MAJOR, CUPS_VERSION_MINOR
# macros from cups/cups.h are used which means it depends on the CUPS version during build-time
# whether or not cupsext will work with CUPS <= 1.5 at run-time.
# See https://bugs.launchpad.net/hplip/+bug/1423220
# and https://bugzilla.opensuse.org/show_bug.cgi?id=918387
# Therefore it BuildRequires the CUPS version as provided in the openSUSE/SLE versions.
# Up to openSUSE 13.2 and SLE11 CUPS < 1.6 is provided (from CUPS 1.3.9 for SLE11 up to CUPS 1.5.4 for openSUSE 13.2).
# For SLE12 by default CUPS 1.7.5 is provided and alternatively CUPS 1.5.4 is provided in the "legacy" module.
# After openSUSE 13.2 (i.e. for current openSUSE Factory) CUPS 2.0 is provided.
# Up to openSUSE 13.2 and SLE12 it BuildRequires CUPS < 1.6 to ensure it even works on SLE12 with CUPS 1.5.4.
# When it was built with CUPS > 1.5 it must also require CUPS > 1.5 during run-time.
# In contrast when it was built with CUPS < 1.6 there must not be a run-time requirement
# for a CUPS version to ensure it works on SLE12 both with CUPS 1.7.5 and CUPS 1.5.4.
# For suse_version values see https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto
%if 0%{?suse_version} > 1320 || %{is_leap}
# For openSUSE after 13.2 (i.e. for current openSUSE Factory) CUPS > 1.5 is provided and required:
BuildRequires: cups > 1.5
BuildRequires: cups-devel > 1.5
Requires: cups > 1.5
%endif
%if 0%{?suse_version} == 1315 && !%{is_leap}
# For SLE12 build it with traditional CUPS 1.5.4 to ensure it works on SLE12 both with CUPS 1.7.5 and CUPS 1.5.4.
# Only in the Printing project for SLE12 use cups154 and cups154-devel (from the cups154-SLE12 source package):
BuildRequires: cups154
BuildRequires: cups154-devel
Requires: cups
%endif
%if 0%{?suse_version} == 1320 || 0%{?suse_version} < 1315
# For openSUSE 13.2 and for openSUSE 13.1 and older openSUSE and SLE11 versions CUPS < 1.6 is provided:
BuildRequires: cups < 1.6
BuildRequires: cups-devel < 1.6
Requires: cups
%endif
BuildRequires: dbus-1-devel
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
@ -118,22 +91,6 @@ BuildRequires: python-openssl
BuildRequires: python-qt4
BuildRequires: python-xml
BuildRequires: readline-devel
%if 0%{?suse_version} > 1130
BuildRequires: sane-backends-devel
%else
BuildRequires: sane-backends
%endif
# For udev macros
%if 0%{?suse_version} > 1130
BuildRequires: systemd-rpm-macros
%else
# For older suse_version (in particular for SLE11) define needed udev macros manually:
%{!?_udevrulesdir: %global _udevrulesdir /usr/lib/udev/rules.d }
%endif
%if 0%{?suse_version} == 1110
# For SLE11 redefine _libexecdir because on SLE11 _libexecdir is "/usr/lib64":
%global _libexecdir /usr/lib
%endif
BuildRequires: update-desktop-files
# Require the exact matching version-release of the hpijs sub-package to make sure
# to have the exact matching version of libhpip and libhpmud installed.
@ -193,6 +150,48 @@ Provides: hplip3 = 3.9.5
Obsoletes: hplip3 < 3.9.5
# Install into this non-root directory (required when norootforbuild is used):
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# HPLIP's Python module cupsext.so has a build-time dependancy on the CUPS version:
# It needs symbols (like ippFirstAttribute, ippNextAttribute, ippSetOperation etc)
# that are defined only in libcups.so version > 1.5. For backward compatibility
# cupsext.c has a macro (CUPS_VERSION_1_6) which defines those undefined function names
# if CUPS version is <= 1.5. To check the CUPS version the CUPS_VERSION_MAJOR, CUPS_VERSION_MINOR
# macros from cups/cups.h are used which means it depends on the CUPS version during build-time
# whether or not cupsext will work with CUPS <= 1.5 at run-time.
# See https://bugs.launchpad.net/hplip/+bug/1423220
# and https://bugzilla.opensuse.org/show_bug.cgi?id=918387
# Therefore it BuildRequires the CUPS version as provided in the openSUSE/SLE versions.
# Up to openSUSE 13.2 and SLE11 CUPS < 1.6 is provided (from CUPS 1.3.9 for SLE11 up to CUPS 1.5.4 for openSUSE 13.2).
# For SLE12 by default CUPS 1.7.5 is provided and alternatively CUPS 1.5.4 is provided in the "legacy" module.
# After openSUSE 13.2 (i.e. for current openSUSE Factory) CUPS 2.0 is provided.
# Up to openSUSE 13.2 and SLE12 it BuildRequires CUPS < 1.6 to ensure it even works on SLE12 with CUPS 1.5.4.
# When it was built with CUPS > 1.5 it must also require CUPS > 1.5 during run-time.
# In contrast when it was built with CUPS < 1.6 there must not be a run-time requirement
# for a CUPS version to ensure it works on SLE12 both with CUPS 1.7.5 and CUPS 1.5.4.
# For suse_version values see https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto
%if 0%{?suse_version} > 1320 || %{is_leap}
# For openSUSE after 13.2 (i.e. for current openSUSE Factory) CUPS > 1.5 is provided and required:
BuildRequires: cups > 1.5
BuildRequires: cups-devel > 1.5
Requires: cups > 1.5
%endif
%if 0%{?suse_version} == 1315 && !%{is_leap}
# For SLE12 build it with traditional CUPS 1.5.4 to ensure it works on SLE12 both with CUPS 1.7.5 and CUPS 1.5.4.
# Only in the Printing project for SLE12 use cups154 and cups154-devel (from the cups154-SLE12 source package):
BuildRequires: cups154
BuildRequires: cups154-devel
Requires: cups
%endif
%if 0%{?suse_version} == 1320 || 0%{?suse_version} < 1315
# For openSUSE 13.2 and for openSUSE 13.1 and older openSUSE and SLE11 versions CUPS < 1.6 is provided:
BuildRequires: cups < 1.6
BuildRequires: cups-devel < 1.6
Requires: cups
%endif
%if 0%{?suse_version} > 1130
BuildRequires: sane-backends-devel
%else
BuildRequires: sane-backends
%endif
%description
The Hewlett-Packard Linux Imaging and Printing project (HPLIP) provides
@ -230,7 +229,6 @@ http://hplipopensource.com
%package hpijs
Summary: Only plain printing with HPLIP printer drivers
Group: Hardware/Printing
# On a minimalist system only hplip-hpijs may be installed
# or on a minimalist package repository (e.g. on the openSUSE CDs)
# only hplip-hpijs may be available (even when a usual system is installed).
@ -249,6 +247,7 @@ Group: Hardware/Printing
# may be not available to be installed (e.g. when hplip-hpijs-1.2.3-4.5 is
# installed from the openSUSE CDs but on our official online repository
# only hplip-1.2.3-6.7 is available which should usually also work):
Group: Hardware/Printing
Suggests: %{name} = %{version}
# Since Nov 14 2007 ghostscript-library does no longer require /usr/bin/hpijs
# but only "Suggests hplip-hpijs" (see Novell/Suse Bugzilla bnc#341564).
@ -310,12 +309,12 @@ For full documentation and license see the main-package hplip.
%package sane
Summary: Only plain scanning with HPLIP scan drivers
Group: Hardware/Scanner
# Require the exact matching version-release of the hpijs sub-package to make sure
# to have the exact matching version of libhpip and libhpmud installed.
# A wrong library version may let libsane-hpaio crash (e.g. segfault)
# which lets the whole scanning stack frontend<->libsane-dll<->libsane-backend crash
# also for any other backend when the hpaio backend is enabled (e.g. "scanimage -L"):
Group: Hardware/Scanner
Requires: %{name}-hpijs = %{version}-%{release}
# See comment in hpijs sub-package for same Suggests:
Suggests: %{name} = %{version}
@ -330,9 +329,9 @@ with the scan drivers in HPLIP for standard HP all-in-one printers.
%package devel
Summary: Development files for hplip
Group: Development/Languages/C and C++
# Require the exact matching version-release of the hpijs sub-package to make sure
# to have the exact matching version of libhpip and libhpmud installed:
Group: Development/Languages/C and C++
Requires: %{name}-hpijs = %{version}-%{release}
# Require the exact matching version-release of the sane sub-package to make sure
# to have the exact matching version of libsane-hpaio installed:
@ -644,9 +643,9 @@ exit 0
%files
%defattr(-, root, root)
%config %{_sysconfdir}/xdg/autostart/hplip-systray.desktop
%if 0%{?suse_version} == 1110 || 0%{?suse_version} == 1320 || %{is_leap}
%dir /usr/lib/udev
%dir /usr/lib/udev/rules.d
%if 0%{?suse_version} == 1110 || 0%{?suse_version} == 1320 || 0%{?suse_version} == 1315
%dir %{_prefix}/lib/udev
%dir %{_prefix}/lib/udev/rules.d
%endif
%config %{_udevrulesdir}/56-hpmud.rules
%{_bindir}/hp-align
@ -710,7 +709,7 @@ exit 0
%config %{_sysconfdir}/cups/pstotiff.convs
%config %{_sysconfdir}/cups/pstotiff.types
%{_bindir}/hpijs
%doc %{_mandir}/man1/hpijs.1.gz
%{_mandir}/man1/hpijs.1.gz
%{_libdir}/libhpip.so.*
%{_libdir}/libhpipp.so.*
%{_libdir}/libhpmud.so.*