[cups-filters] ship ppdc/pcl.h because of cupsfilters.drv

Jiří Popelka jpopelka at fedoraproject.org
Wed May 15 10:48:56 UTC 2013


commit aec37c98ef1af2a55e6beb0166223deec6df6d36
Author: Jiri Popelka <jpopelka at redhat.com>
Date:   Wed May 15 12:44:27 2013 +0200

    ship ppdc/pcl.h because of cupsfilters.drv

 cups-filters-pcl.patch |   17 +++++++++++++++++
 cups-filters.spec      |   10 +++++++++-
 2 files changed, 26 insertions(+), 1 deletions(-)
---
diff --git a/cups-filters-pcl.patch b/cups-filters-pcl.patch
new file mode 100644
index 0000000..3cc4e54
--- /dev/null
+++ b/cups-filters-pcl.patch
@@ -0,0 +1,17 @@
+diff -up cups-filters-1.0.34/Makefile.am.pcl cups-filters-1.0.34/Makefile.am
+--- cups-filters-1.0.34/Makefile.am.pcl	2013-03-19 16:19:30.000000000 +0100
++++ cups-filters-1.0.34/Makefile.am	2013-05-15 11:57:00.068339837 +0200
+@@ -213,6 +213,13 @@ pkgdriver_DATA = \
+ 
+ EXTRA_DIST += $(pkgdriver_DATA)
+ 
++# =======
++# Definitions for drivers
++# =======
++pkgppdcdir = $(CUPS_DATADIR)/ppdc
++pkgppdc_DATA = \
++	filter/pcl.h
++
+ # =====
+ # MIMEs
+ # =====
diff --git a/cups-filters.spec b/cups-filters.spec
index 5e21c83..fb0394e 100644
--- a/cups-filters.spec
+++ b/cups-filters.spec
@@ -4,7 +4,7 @@
 Summary: OpenPrinting CUPS filters and backends
 Name:    cups-filters
 Version: 1.0.34
-Release: 2%{?dist}
+Release: 3%{?dist}
 
 # For a breakdown of the licensing, see COPYING file
 # GPLv2:   filters: commandto*, imagetoraster, pdftops, rasterto*,
@@ -22,6 +22,8 @@ Url:     http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdf_
 Source0: http://www.openprinting.org/download/cups-filters/cups-filters-%{version}.tar.xz
 Source1: cups-browsed.service
 
+Patch1: cups-filters-pcl.patch
+
 Requires: cups-filters-libs%{?_isa} = %{version}-%{release}
 
 BuildRequires: cups-devel
@@ -90,6 +92,7 @@ This is the development package for OpenPrinting CUPS filters and backends.
 
 %prep
 %setup -q
+%patch1 -p1 -b .pcl
 
 %build
 # work-around Rpath
@@ -174,6 +177,8 @@ fi
 %{_datadir}/cups/banners
 %{_datadir}/cups/charsets
 %{_datadir}/cups/data/*
+# this needs to be in the main package because of cupsfilters.drv
+%{_datadir}/cups/ppdc/pcl.h
 %{_datadir}/cups/drv/cupsfilters.drv
 %{_datadir}/cups/mime/cupsfilters.types
 %{_datadir}/cups/mime/cupsfilters.convs
@@ -195,6 +200,9 @@ fi
 %{_libdir}/libfontembed.so
 
 %changelog
+* Wed May 15 2013 Jiri Popelka <jpopelka at redhat.com> - 1.0.34-3
+- ship ppdc/pcl.h because of cupsfilters.drv
+
 * Tue May 07 2013 Jiri Popelka <jpopelka at redhat.com> - 1.0.34-2
 - pstopdf requires bc (#960315)
 


More information about the scm-commits mailing list