OBS User autobuild
2009-09-17 01:20:29 +00:00
committed by Git OBS Bridge
parent e78aabe847
commit 68e9c2128f
5 changed files with 5 additions and 1718 deletions

View File

@@ -32,19 +32,7 @@ Url: http://hplipopensource.com
# Source0...Source9 is for sources from HP:
# URL for Source0: http://surfnet.dl.sourceforge.net/sourceforge/hplip/hplip-3.9.8.tar.gz
Source0: %{name}-%{version}.tar.bz2
# Source1 hpcups-ppds-3.9.8-reorder.tar.bz2 contains the static PPDs which are fixed
# according to what hpcups.drv.in-3.9.8-reorder.patch fixes for dynamic PPDs.
# I got it on 14 Aug 2009 as mail attachment from linus.araque@hp.com:
Source1: hpcups-ppds-3.9.8-reorder.tar.bz2
# Patch0...Patch9 is for patches from HP:
# URL for Patch0: http://surfnet.dl.sourceforge.net/sourceforge/hplip/hpcups.drv.in-3.9.8-reorder.patch
# Patch0 hpcups.drv.in-3.9.8-reorder.patch addresses two issues in the 3.9.8 hpcups.drv.in file.
# 1. Re-orders common paper sizes so that normal, fullbleed and duplex papers sizes are grouped together in the PPD.
# 2. Changed the LJColor device class from RGBW to RGB color space. The K band was not being printed by hpcups.
# Because we build it only with the static PPDs, hpcups.drv.in-3.9.8-reorder.patch
# is actually not needed for us, nevertheless I like to provide this patch
# to have it in our source RPM to be in full compliance to upstream.
Patch0: hpcups.drv.in-3.9.8-reorder.patch
# Patch10...Patch99 is for Suse patches for the sources from HP:
# Patch10 fixes "... is used uninitialized ..." warnings:
Patch10: fix-uninitialized-variables.diff
@@ -232,17 +220,9 @@ Authors:
%prep
# Be quiet when unpacking:
%setup -q
# Unpack the fixed static PPDs in Source1 hpcups-ppds-3.9.8-reorder.tar.bz2
# which overwrite the original static PPDs in Source0:
tar -x --overwrite --no-overwrite-dir -j -f %{SOURCE1}
# Patch0 hpcups.drv.in-3.9.8-reorder.patch
# addresses two issues in the 3.9.8 hpcups.drv.in file:
%patch0
# Patch10 fix-uninitialized-variables.diff
# fixes "... is used uninitialized ..." warnings:
# Patch10 fixes "... is used uninitialized ..." warnings:
%patch10
# Patch101 change-udev-rules.diff
# changes in the udev rules file the mode from "0666" to "0664":
# Patch101 changes in the udev rules file the mode from "0666" to "0664":
%patch101
%build