Accepting request 126028 from home:phiwag:branches:Printing

Updated to hplip 3.12.6

OBS-URL: https://build.opensuse.org/request/show/126028
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=50
This commit is contained in:
2012-06-26 11:12:09 +00:00
committed by Git OBS Bridge
parent 3fd5839584
commit c8eef55832
6 changed files with 193 additions and 15 deletions

View File

@@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
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):
@@ -30,7 +31,8 @@ BuildRequires: libgphoto2-devel
BuildRequires: libjpeg-devel
BuildRequires: libqt4-devel
BuildRequires: libtool
BuildRequires: libusb-devel
BuildRequires: libusb-1_0-0
BuildRequires: libusb-1_0-devel
BuildRequires: net-snmp-devel
BuildRequires: pkgconfig
# All printer driver packages should have "BuildRequires: python-cups"
@@ -55,15 +57,15 @@ 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.12.4
Version: 3.12.6
Release: 0
Url: http://hplipopensource.com
# Source0...Source9 is for sources from HP:
# URL for Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.12.4.tar.gz
# URL to verify Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.12.4.tar.gz.asc
# URL for Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.12.6.tar.gz
# URL to verify Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.12.6.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.12.4.tar.gz.asc hplip-3.12.4.tar.gz
# /usr/bin/gpg --verify hplip-3.12.6.tar.gz.asc hplip-3.12.6.tar.gz
# must result: Good signature from "HPLIP (HP Linux Imaging and Printing) <hplip@hp.com>"
Source0: hplip-%{version}.tar.gz
# Patch0...Patch9 is for patches from HP:
@@ -105,6 +107,10 @@ Patch101: change-udev-rules.diff
# 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
# Fix validation errors about no return values for non-void functions.
# An upstream bug report is open at
# https://bugs.launchpad.net/hplip/+bug/1017496
Patch103: fix-no-return-in-nonvoid-function.diff
# Install into this non-root directory (required when norootforbuild is used):
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: coreutils
@@ -318,6 +324,9 @@ with the scan drivers in HPLIP for standard HP all-in-one printers.
# this is done in the files section via attr(0774,root,lp)
# where mode 0774 matches to what is set in Makefile.am:
%patch102
# Patch103 fix-no-return-in-nonvoid-function.diff
# fixes no-return-in-nonvoid-function errors
%patch103
%build
# If AUTOMAKE='automake --foreign' is not set, autoreconf (in fact automake)