]> git.pld-linux.org Git - packages/foomatic-db.git/blobdiff - foomatic-db.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/foomatic-db.git] / foomatic-db.spec
index b11ff6874f1d9d450116666049d81d9b7f97b1bf..e3790cbea8ffb75ab3932cd400f000772ab7add2 100644 (file)
@@ -1,17 +1,17 @@
-%include       /usr/lib/rpm/macros.perl
 Summary:       Foomatic database
 Summary(pl.UTF-8):     Baza danych dla foomatic
 Name:          foomatic-db
-Version:       20070919
-Release:       1
-License:       GPL
+Version:       20190510
+Release:       2
+License:       GPL v2+
 Group:         Applications/System
 # foomatic db engine version
-%define                _fev    3.0
-Source0:       http://www.linuxprinting.org/download/foomatic/%{name}-%{_fev}-%{version}.tar.gz
-# Source0-md5: fd8968c7500462d9661a1925c99b9441
+%define                fdbeng_ver      4.0
+Source0:       http://www.linuxprinting.org/download/foomatic/%{name}-%{fdbeng_ver}-%{version}.tar.xz
+# Source0-md5: 2cea82399afc0b87a63888efa11ddeb2
 URL:           http://www.linuxprinting.org/foomatic.html
-Requires:      foomatic-db-engine >= 3.0.2
+BuildRequires: bash
+Requires:      foomatic-db-engine >= 4.0.20110615
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -27,7 +27,7 @@ generowania plików PPD.
 %setup -q
 
 %build
-%configure
+/bin/bash %configure
 %{__make}
 
 %install
@@ -37,14 +37,17 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT
 
 # We don't need PPD files in this package
-rm $RPM_BUILD_ROOT%{_datadir}/foomatic/db/source/PPD/ -frd
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/foomatic/db/source/PPD
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog TODO README USAGE
-%{_datadir}/foomatic/db/source/driver/*
-%{_datadir}/foomatic/db/source/opt/*
-%{_datadir}/foomatic/db/source/printer/*
+%doc ChangeLog README USAGE
+%{_datadir}/foomatic/db/source/driver/*.xml
+%{_datadir}/foomatic/db/source/opt/*.xml
+%{_datadir}/foomatic/db/source/printer/*.xml
+%{_datadir}/foomatic/db/oldprinterids
+%{_datadir}/foomatic/xmlschema
+
This page took 0.294348 seconds and 4 git commands to generate.