[ptouch-driver] foomatic subpackage with foomatic database XML entries (#560610)

Jiří Popelka jpopelka at fedoraproject.org
Wed Jan 19 11:45:29 UTC 2011


commit 95880bc9f9f003b49af4b78800ea72c608e665ca
Author: Jiri Popelka <jpopelka at redhat.com>
Date:   Wed Jan 19 12:27:17 2011 +0100

    foomatic subpackage with foomatic database XML entries (#560610)

 ptouch-driver.spec |   25 +++++++++++++++++++++++--
 1 files changed, 23 insertions(+), 2 deletions(-)
---
diff --git a/ptouch-driver.spec b/ptouch-driver.spec
index 5986e17..4c9e747 100644
--- a/ptouch-driver.spec
+++ b/ptouch-driver.spec
@@ -1,6 +1,6 @@
 Name:           ptouch-driver
 Version:        1.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        CUPS driver for Brother P-touch label printers
 
 Group:          System Environment/Libraries
@@ -18,6 +18,17 @@ This is a CUPS raster filter for Brother P-touch label printers.  It is
 meant to be used by the PostScript Description files of the drivers from
 the foomatic package.
 
+%package        foomatic
+Summary:        Foomatic database data for Brother P-touch label printers
+Group:          System Environment/Libraries
+BuildArch:      noarch
+Requires:       foomatic
+Requires:       %{name} = %{version}-%{release}
+
+%description    foomatic
+This package contains foomatic database XML entries to generate PPDs
+for driving the family of Brother P-touch label printers.
+
 %prep
 %setup -q
 %patch0 -p1 -b .gcc43
@@ -30,7 +41,7 @@ make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install-exec DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -40,7 +51,17 @@ rm -rf $RPM_BUILD_ROOT
 %{_prefix}/lib/cups/filter/rastertoptch
 %doc AUTHORS ChangeLog COPYING NEWS README
 
+%files foomatic
+%defattr(-,root,root,-)
+%{_datarootdir}/foomatic/db/source/driver/ptouch.xml
+%{_datarootdir}/foomatic/db/source/printer/Brother-PT-*.xml
+%{_datarootdir}/foomatic/db/source/printer/Brother-QL-*.xml
+%{_datarootdir}/foomatic/db/source/opt/Brother-Ptouch-*.xml
+
 %changelog
+* Wed Jan 19 2011 Jiri Popelka <jpopelka at redhat.com> - 1.3-3
+- New foomatic sub-package with foomatic database XML entries (#560610)
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


More information about the scm-commits mailing list