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