Accepting request 100158 from home:jsmeix:branches:Printing
Upgrade to version 3.11.12 OBS-URL: https://build.opensuse.org/request/show/100158 OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=43
This commit is contained in:
55
hplip.spec
55
hplip.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package hplip
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,36 +15,51 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: hplip
|
||||
# BuildRequires foomatic-filters to avoid /usr/lib/rpm/brp-symlink ERROR:
|
||||
# link target doesn't exist (neither in build root nor in installed system):
|
||||
# /usr/lib/cups/filter/foomatic-rip-hplip -> /usr/bin/foomatic-rip
|
||||
BuildRequires: cups cups-devel dbus-1-devel fdupes foomatic-filters libdrm-devel libgphoto2-devel libjpeg-devel libqt4-devel libusb-devel net-snmp-devel pkgconfig python-devel python-openssl python-qt4 python-xml readline-devel update-desktop-files
|
||||
BuildRequires: cups
|
||||
BuildRequires: cups-devel
|
||||
BuildRequires: dbus-1-devel
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: foomatic-filters
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: libdrm-devel
|
||||
BuildRequires: libgphoto2-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libqt4-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libusb-devel
|
||||
BuildRequires: net-snmp-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-devel
|
||||
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
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: update-desktop-files
|
||||
Summary: HP's Printing, Scanning, and Faxing Software
|
||||
License: BSD-3-Clause ; GPL-2.0+ ; MIT
|
||||
Group: Hardware/Printing
|
||||
# HPLIP has reached 1.0 status. With this release a date encoded revision number is used:
|
||||
# x.y.m : x = major release number, y = year (eg: 6 = 2006), m = month (eg: 6a = second release in June)
|
||||
# Official releases have a 3 digit number and release candidates have a 4 digit number: x.y.m.rc
|
||||
Version: 3.11.10
|
||||
Release: 1
|
||||
Group: Hardware/Printing
|
||||
License: BSD-3-Clause ; GPL-2.0+ ; MIT
|
||||
Version: 3.11.12
|
||||
Release: 0
|
||||
Url: http://hplipopensource.com
|
||||
# Source0...Source9 is for sources from HP:
|
||||
# URL for Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.11.10.tar.gz
|
||||
# URL to verify Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.11.10.tar.gz.asc
|
||||
# URL for Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.11.12.tar.gz
|
||||
# URL to verify Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.11.12.tar.gz.asc
|
||||
# How to verify Source0 see: http://hplipopensource.com/node/327
|
||||
# For example: /usr/bin/gpg --keyserver pgp.mit.edu --recv-keys 0xA59047B9
|
||||
# /usr/bin/gpg --verify hplip-3.11.10.tar.gz.asc hplip-3.11.10.tar.gz
|
||||
# /usr/bin/gpg --verify hplip-3.11.12.tar.gz.asc hplip-3.11.12.tar.gz
|
||||
# must result: Good signature from "HPLIP (HP Linux Imaging and Printing) <hplip@hp.com>"
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
# Patch0...Patch9 is for patches from HP:
|
||||
@@ -81,6 +96,11 @@ Source106: hp-systray.wrapper
|
||||
# Patch100... is for special Suse patches:
|
||||
# Patch101 changes the udev rules files 55-hpmud.rules and 56-hpmud_support.rules:
|
||||
Patch101: change-udev-rules.diff
|
||||
# Patch102 deactivates the "chgrp lp -R /var/log/hp" in Makefile.am
|
||||
# because during install this results "Operation not permitted"
|
||||
# this is done in the files section via attr(0774,root,lp)
|
||||
# where mode 0774 matches to what is set in Makefile.am:
|
||||
Patch102: no-chgrp_lp_hplip_Logdir.diff
|
||||
# Install into this non-root directory (required when norootforbuild is used):
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
PreReq: coreutils, /bin/grep, /bin/sed, /usr/bin/find
|
||||
@@ -172,7 +192,6 @@ http://hplipopensource.com
|
||||
|
||||
|
||||
%package hpijs
|
||||
License: BSD-3-Clause ; GPL-2.0+ ; MIT
|
||||
Summary: Only plain printing with HPLIP printer drivers
|
||||
Group: Hardware/Printing
|
||||
# Since Nov 14 2007 ghostscript-library does no longer require /usr/bin/hpijs
|
||||
@@ -254,7 +273,6 @@ For full documentation and license see the main-package hplip.
|
||||
|
||||
|
||||
%package sane
|
||||
License: BSD-3-Clause ; GPL-2.0+ ; MIT
|
||||
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
|
||||
@@ -287,6 +305,11 @@ with the scan drivers in HPLIP for standard HP all-in-one printers.
|
||||
# Patch101 change-udev-rules.diff
|
||||
# changes the udev rules files 55-hpmud.rules and 56-hpmud_support.rules:
|
||||
%patch101
|
||||
# Patch102 deactivates the "chgrp lp -R /var/log/hp" in Makefile.am
|
||||
# because during install this results "Operation not permitted"
|
||||
# this is done in the files section via attr(0774,root,lp)
|
||||
# where mode 0774 matches to what is set in Makefile.am:
|
||||
%patch102
|
||||
|
||||
%build
|
||||
# If AUTOMAKE='automake --foreign' is not set, autoreconf (in fact automake)
|
||||
@@ -526,11 +549,14 @@ exit 0
|
||||
%dir %{_sysconfdir}/udev/rules.d
|
||||
%config %{_sysconfdir}/udev/rules.d/55-hpmud.rules
|
||||
%config %{_sysconfdir}/udev/rules.d/56-hpmud_support.rules
|
||||
%config %{_sysconfdir}/udev/rules.d/86-hpmud_plugin.rules
|
||||
%{_bindir}/hp-align
|
||||
%{_bindir}/hp-check
|
||||
%{_bindir}/hp-check-plugin
|
||||
%{_bindir}/hp-clean
|
||||
%{_bindir}/hp-colorcal
|
||||
%{_bindir}/hp-devicesettings
|
||||
%{_bindir}/hp-diagnose_plugin
|
||||
%{_bindir}/hp-fab
|
||||
%{_bindir}/hp-faxsetup
|
||||
%{_bindir}/hp-firmware
|
||||
@@ -599,6 +625,7 @@ exit 0
|
||||
%dir %{_datadir}/cups/model/manufacturer-PPDs
|
||||
%{_datadir}/cups/model/manufacturer-PPDs/%{name}/
|
||||
%{_datadir}/%{name}/data/models/models.dat
|
||||
%dir %attr(0774,root,lp) %{_var}/log/hp
|
||||
|
||||
%files sane
|
||||
%defattr(-, root, root)
|
||||
|
Reference in New Issue
Block a user