1 %include /usr/lib/rpm/macros.perl
2 Summary: System for using free software printer drivers
3 Summary(pl): System umo¿liwiaj±cy u¿ywanie darmowych sterowników drukarek
4 Name: foomatic-db-engine
8 Group: Applications/System
9 URL: http://www.linuxprinting.org/foomatic.html
10 Source0: http://www.linuxprinting.org/download/foomatic/%{name}-%{version}.tar.gz
11 # Source0-md5: a3c0b0fc6662a7b9afab09cbe74bb292
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: foomatic-filters >= 3.0.0
15 BuildRequires: libxml2-devel
16 BuildRequires: perl-devel
17 Provides: perl(Foomatic::GrovePath)
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Foomatic is a system for using free software printer drivers with
23 common spoolers on Unix. It supports LPD, PDQ, CUPS, the VA Linux
24 LPD, LPRng, PPR, and direct spooler-less printing and any free
25 software driver for which execution data has been entered in the
29 Foomatic to system pozwalaj±cy na u¿ywanie wolnodostêpnych
30 sterowników drukarek z popularnymi uniksowymi serwerami wydruków.
31 Obs³uguje LPD, PDQ, CUPS, VA Linux LPD, LPRng, PPR i bezpo¶rednie
32 drukowanie bez kolejkowania oraz dowolny wolnodostêpny sterownik,
33 dla którego parametry zosta³y wprowadzone do bazy danych.
43 PERL_INSTALLDIRS=vendor
46 rm -rf $RPM_BUILD_ROOT
48 DESTDIR="$RPM_BUILD_ROOT"
50 install -d $RPM_BUILD_ROOT%{_datadir}/foomatic/db/source/{driver,opt,printer}
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
57 %doc ChangeLog TODO README USAGE
58 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/foomatic
59 %attr(755,root,root) %{_bindir}/foomatic-*
60 %attr(755,root,root) %{_sbindir}/foomatic-*
61 %{perl_vendorlib}/Foomatic