]> git.pld-linux.org Git - packages/foomatic-db.git/blame - foomatic-db.spec
- pass dir to configure, drop patch (we don't regenerate autotools)
[packages/foomatic-db.git] / foomatic-db.spec
CommitLineData
7fd627e9 1%include /usr/lib/rpm/macros.perl
2Summary: Foomatic database
23e92287 3Summary(pl.UTF-8): Baza danych dla foomatic
7fd627e9 4Name: foomatic-db
f022e38b 5Version: 20080317
bd8c4eec 6Release: 3
7fd627e9 7License: GPL
8Group: Applications/System
06a4b878 9# foomatic db engine version
10%define _fev 3.0
11Source0: http://www.linuxprinting.org/download/foomatic/%{name}-%{_fev}-%{version}.tar.gz
f022e38b 12# Source0-md5: ff65282a646a6242efd74219b11b0ff1
6addca82 13URL: http://www.linuxprinting.org/foomatic.html
f022e38b 14Requires: foomatic-db-engine >= 3.0.20080317
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
bd8c4eec
PZ
30%configure \
31 CUPS_PPDS=%{_datadir}/cups/model/
7fd627e9 32%{__make}
33
34%install
35rm -rf $RPM_BUILD_ROOT
36
6addca82
PG
37%{__make} install \
38 DESTDIR=$RPM_BUILD_ROOT
7fd627e9 39
f9b5efdb 40# We don't need PPD files in this package
844e139c 41rm $RPM_BUILD_ROOT%{_datadir}/foomatic/db/source/PPD/ -frd
f9b5efdb 42
7fd627e9 43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(644,root,root,755)
48%doc ChangeLog TODO README USAGE
49%{_datadir}/foomatic/db/source/driver/*
50%{_datadir}/foomatic/db/source/opt/*
51%{_datadir}/foomatic/db/source/printer/*
f022e38b
PZ
52%{_datadir}/foomatic/db/oldprinterids
53%{_datadir}/cups/model/foomatic-db-ppds
This page took 0.091912 seconds and 4 git commands to generate.