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
8 Group: Applications/System
9 URL: http://www.linuxprinting.org/foomatic.html
10 Source0: http://www.linuxprinting.org/download/%{name}/%{name}-%{version}.tar.gz
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: perl-devel
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Foomatic is a system for using free software printer drivers with
18 common spoolers on Unix. It supports LPD, PDQ, CUPS, the VA Linux
19 LPD, LPRng, PPR, and direct spooler-less printing and any free
20 software driver for which execution data has been entered in the
24 Foomatic to system pozwalaj±cy na u¿ywanie wolnodostêpnych
25 sterowników drukarek z popularnymi uniksowymi serwerami wydruków.
26 Obs³uguje LPD, PDQ, CUPS, VA Linux LPD, LPRng, PPR i bezpo¶rednie
27 drukowanie bez kolejkowania oraz dowolny wolnodostêpny sterownik,
28 dla którego parametry zosta³y wprowadzone do bazy danych.
31 Summary: foomatic wrapper for ghostscript
32 Summary(pl): wrapper dla ghostscripta do u¿ycia z foomatic
33 Group: Applications/System
37 %description gswrapper
38 A little Ghostscript regularization script. It massages arguments to
39 make Ghostscript execute properly as a filter, with output on stdout
40 and errors etc on stderr.
42 NOTE: This script is needed in a few situations only and may not work
43 with some Ghostscript versions. Moreover in some situations his
44 presence in the system may have effect that Your printer will
45 not print. So - Do not install this package if You don't know
48 %description gswrapper -l pl
49 Ma³y skrypt uzdatniaj±cy Ghostscripta. Obrabia parametry tak, ¿eby
50 Ghostscript dzia³a³ w³a¶ciwie jako filtr, generuj±c dane wyj¶ciowe na
51 stdout, a b³êdy na stderr.
53 UWAGA: Ten skrypt jest potrzebny tylko w kilku przypadkach i mo¿e
54 nie dzia³ac z niektórymi wersjami Ghostscripta. Ponadto w niektórych
55 sytuacjach jego obecno¶æ w systemie mo¿e spowodowaæ, ¿e drukarka nie
56 bêdzie drukowa³a. Tak wiêc - nie instaluj tego pakietu, je¶li nie
59 %package -n cups-foomatic
60 Summary: cupsomatic - CUPS filter
61 Summary(pl): cupsomatic - filtr do CUPS
62 Group: Applications/System
64 Obsoletes: foomatic-cups
66 %description -n cups-foomatic
67 Cupsomatic is intended to be used as a CUPS filter for printers
68 defined in a PPD file (CUPS-O-Matic or PPD-O-Matic) obtained from the
69 Linux Printing Database.
71 %description -n cups-foomatic -l pl
72 Cupsomatic jest filtrem do CUPS dla drukarek zdefiniowanych w pliku
73 PPD (CUPS-O-Matic lub PPD-O-Matic), uzyskanym z Linux Printing
77 Summary: ppromatic - PPR interface
78 Summary(pl): ppromatic - interfejs do PPR
79 Group: Applications/System
83 ppromatic is intended to be used as a PPR interface for printers
84 defined in a PPD-O-Matic PPD file obtained from the Linux Printing
87 %description ppr -l pl
88 ppromatic jest interfejsem do PPR dla drukarek zdefiniowanych w pliku
89 PPD (PPD-O-Matic) uzyskanym z Linux Printing Database.
103 rm -rf $RPM_BUILD_ROOT
104 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
107 rm -rf $RPM_BUILD_ROOT
110 %defattr(644,root,root,755)
111 %doc ChangeLog TODO README USAGE
113 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/foomatic/direct
114 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/foomatic/filter.conf
115 %attr(755,root,root) %{_bindir}/foomatic-rip
116 %{_mandir}/man1/foomatic-rip*
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_bindir}/foomatic-gswrapper
121 %{_mandir}/man1/foomatic-gswrapper*
123 %files -n cups-foomatic
124 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_libdir}/cups/filter/foomatic-rip
128 %defattr(644,root,root,755)
129 %attr(755,root,root) %{_libdir}/ppr/interfaces/foomatic-rip
130 %attr(755,root,root) %{_libdir}/ppr/lib/foomatic-rip