]> git.pld-linux.org Git - packages/foomatic-db.git/blame - foomatic-db.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/foomatic-db.git] / foomatic-db.spec
CommitLineData
7fd627e9 1Summary: Foomatic database
23e92287 2Summary(pl.UTF-8): Baza danych dla foomatic
7fd627e9 3Name: foomatic-db
dd49f2a8 4Version: 20190510
7356e44f 5Release: 2
df902ed3 6License: GPL v2+
7fd627e9 7Group: Applications/System
06a4b878 8# foomatic db engine version
df902ed3 9%define fdbeng_ver 4.0
dd49f2a8
JR
10Source0: http://www.linuxprinting.org/download/foomatic/%{name}-%{fdbeng_ver}-%{version}.tar.xz
11# Source0-md5: 2cea82399afc0b87a63888efa11ddeb2
6addca82 12URL: http://www.linuxprinting.org/foomatic.html
35ea1572 13BuildRequires: bash
df902ed3 14Requires: foomatic-db-engine >= 4.0.20110615
7fd627e9 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18The collected knowledge about printers, drivers, and driver options in
19XML files, used by foomatic-db-engine to generate PPD files.
20
1a492db9
JR
21%description -l pl.UTF-8
22Całościowa informacja o drukarkach, sterownikach i opcjach sterowników
54801cc5
JB
23w postaci plików XML, używanych przez foomatic-db-engine do
24generowania plików PPD.
7fd627e9 25
26%prep
27%setup -q
28
29%build
35ea1572 30/bin/bash %configure
7fd627e9 31%{__make}
32
33%install
34rm -rf $RPM_BUILD_ROOT
35
6addca82
PG
36%{__make} install \
37 DESTDIR=$RPM_BUILD_ROOT
7fd627e9 38
f9b5efdb 39# We don't need PPD files in this package
df902ed3 40%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/foomatic/db/source/PPD
f9b5efdb 41
7fd627e9 42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files
46%defattr(644,root,root,755)
35ea1572 47%doc ChangeLog README USAGE
df902ed3
JB
48%{_datadir}/foomatic/db/source/driver/*.xml
49%{_datadir}/foomatic/db/source/opt/*.xml
50%{_datadir}/foomatic/db/source/printer/*.xml
f022e38b 51%{_datadir}/foomatic/db/oldprinterids
7356e44f 52%{_datadir}/foomatic/xmlschema
dd49f2a8 53
This page took 0.109942 seconds and 5 git commands to generate.