ship ppdc/pcl.h because of cupsfilters.drv

This commit is contained in:
Jiri Popelka 2013-05-15 12:44:27 +02:00
parent a3708f602e
commit aec37c98ef
2 changed files with 26 additions and 1 deletions

17
cups-filters-pcl.patch Normal file
View File

@ -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
# =====

View File

@ -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@redhat.com> - 1.0.34-3
- ship ppdc/pcl.h because of cupsfilters.drv
* Tue May 07 2013 Jiri Popelka <jpopelka@redhat.com> - 1.0.34-2
- pstopdf requires bc (#960315)