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 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: perl-devel
14 BuildRequires: libxml2-devel
15 Provides: perl(Foomatic::GrovePath)
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Foomatic is a system for using free software printer drivers with
21 common spoolers on Unix. It supports LPD, PDQ, CUPS, the VA Linux
22 LPD, LPRng, PPR, and direct spooler-less printing and any free
23 software driver for which execution data has been entered in the
27 Foomatic to system pozwalaj±cy na u¿ywanie wolnodostêpnych
28 sterowników drukarek z popularnymi uniksowymi serwerami wydruków.
29 Obs³uguje LPD, PDQ, CUPS, VA Linux LPD, LPRng, PPR i bezpo¶rednie
30 drukowanie bez kolejkowania oraz dowolny wolnodostêpny sterownik,
31 dla którego parametry zosta³y wprowadzone do bazy danych.
45 rm -rf $RPM_BUILD_ROOT
46 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
47 cp -fr $RPM_BUILD_ROOT$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libdir}
49 install -d $RPM_BUILD_ROOT%{_datadir}/foomatic/db/source/{driver,opt,printer}
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
57 %doc ChangeLog TODO README USAGE
61 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/foomatic
63 %attr(755,root,root) %{_bindir}/foomatic-*
64 %attr(755,root,root) %{_sbindir}/foomatic-*
66 %{perl_sitelib}/Foomatic
67 %{perl_sitearch}/auto/Foomatic