]> git.pld-linux.org Git - packages/foomatic-db.git/blob - foomatic-db.spec
- 20080317
[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:        20080317
6 Release:        1
7 License:        GPL
8 Group:          Applications/System
9 # foomatic db engine version
10 %define         _fev    3.0
11 Source0:        http://www.linuxprinting.org/download/foomatic/%{name}-%{_fev}-%{version}.tar.gz
12 # Source0-md5:  ff65282a646a6242efd74219b11b0ff1
13 URL:            http://www.linuxprinting.org/foomatic.html
14 Requires:       foomatic-db-engine >= 3.0.20080317
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 %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 $RPM_BUILD_ROOT%{_datadir}/foomatic/db/source/PPD/ -frd
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc ChangeLog TODO README USAGE
48 %{_datadir}/foomatic/db/source/driver/*
49 %{_datadir}/foomatic/db/source/opt/*
50 %{_datadir}/foomatic/db/source/printer/*
51 %{_datadir}/foomatic/db/oldprinterids
52 %{_datadir}/cups/model/foomatic-db-ppds
This page took 0.069076 seconds and 3 git commands to generate.