From 6f3a55e6dda630978c6539f8a375e9502def407a9b6a889cde6cc7ec7492a766 Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Fri, 20 Mar 2015 10:02:13 +0000 Subject: [PATCH] - 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. OBS-URL: https://build.opensuse.org/package/show/Printing/epson-inkjet-printer-escpr?expand=0&rev=17 --- epson-inkjet-printer-escpr.changes | 8 +++++++- epson-inkjet-printer-escpr.spec | 21 ++++++++++++++++++--- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/epson-inkjet-printer-escpr.changes b/epson-inkjet-printer-escpr.changes index 6fd5ac7..3b1831d 100644 --- a/epson-inkjet-printer-escpr.changes +++ b/epson-inkjet-printer-escpr.changes @@ -1,10 +1,16 @@ +------------------------------------------------------------------- +Fri Mar 20 11:01:33 CET 2015 - jsmeix@suse.de + +- 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. + ------------------------------------------------------------------- Mon Dec 15 08:11:19 UTC 2014 - nico.kruber@gmail.com - Upgraded to 1.4.4: + Fixed a problem when using "Rear Feed Slot" as InputSlot. - Upgraded to 1.4.3: - + Added Postcard size + + Added Postcard size * WF-100 Series * PX-S05 Series - Upgraded to 1.4.2: diff --git a/epson-inkjet-printer-escpr.spec b/epson-inkjet-printer-escpr.spec index 5708db5..2bfb801 100644 --- a/epson-inkjet-printer-escpr.spec +++ b/epson-inkjet-printer-escpr.spec @@ -1,7 +1,7 @@ # # spec file for package epson-inkjet-printer-escpr # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,23 @@ Name: epson-inkjet-printer-escpr +# SLE12 needs special BuildRequires. +# For suse_version values see https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto +%if 0%{?suse_version} == 1315 +# For SLE12 by default CUPS 1.7.5 is provided and alternatively CUPS 1.5.4 is provided in the "legacy" module. +# 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 +# because libcups and libcupsimage in CUPS 1.7.5 are backward compatible with CUPS 1.5.4 so that applications +# that have been built with CUPS 1.5.4 also work under CUPS 1.7.5 but the libraries in CUPS 1.7.5 provide +# some additional functions so that applications that have been built with CUPS 1.7.5 and use those +# additional functions would not work under CUPS 1.7.5. +# Only in the Printing project for SLE12 use cups154-ddk (a sub package of the cups154-SLE12 source package): +BuildRequires: cups154 +BuildRequires: cups154-devel +%else +# Anything what is not SLE12 (i.e. SLE11 and all openSUSE versions) have "normal" BuildRequires: BuildRequires: cups BuildRequires: cups-devel +%endif # All printer driver packages should have "BuildRequires: python-cups" # because python-cups installs special rpm macros that adds Provides tags # for the printer drivers supported by the package, @@ -60,7 +75,7 @@ package see the PPD files in this directory: /usr/share/cups/model/manufacturer-PPDs/epson-inkjet-printer-escpr For a list of supported printers by the newest available version -at the upstream project visit: +at the upstream project visit: http://avasys.jp/english/linux_e/ @@ -70,7 +85,7 @@ http://avasys.jp/eng/linux_driver/download/lsb/epson-inkjet/escpr/ Regarding "What's ESC/P-R?" have a look at: -http://global.epson.com/innovation/universal_printing/index.html +http://global.epson.com/innovation/universal_printing/index.html %prep