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