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/foomatic/%{name}-%{version}.tar.gz
11 BuildRequires: autoconf
12 BuildRequires: automake
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 Requires: foomatic-filters = %{version}
65 Obsoletes: foomatic-cups
67 %description -n cups-foomatic
68 Cupsomatic is intended to be used as a CUPS filter for printers
69 defined in a PPD file (CUPS-O-Matic or PPD-O-Matic) obtained from the
70 Linux Printing Database.
72 %description -n cups-foomatic -l pl
73 Cupsomatic jest filtrem do CUPS dla drukarek zdefiniowanych w pliku
74 PPD (CUPS-O-Matic lub PPD-O-Matic), uzyskanym z Linux Printing
78 Summary: ppromatic - PPR interface
79 Summary(pl): ppromatic - interfejs do PPR
80 Group: Applications/System
81 Requires: foomatic-filters = %{version}
85 ppromatic is intended to be used as a PPR interface for printers
86 defined in a PPD-O-Matic PPD file obtained from the Linux Printing
89 %description ppr -l pl
90 ppromatic jest interfejsem do PPR dla drukarek zdefiniowanych w pliku
91 PPD (PPD-O-Matic) uzyskanym z Linux Printing Database.
105 rm -rf $RPM_BUILD_ROOT
106 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
109 rm -rf $RPM_BUILD_ROOT
112 %defattr(644,root,root,755)
113 %doc ChangeLog TODO README USAGE
115 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/foomatic/direct
116 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/foomatic/filter.conf
117 %attr(755,root,root) %{_bindir}/foomatic-rip
118 %{_mandir}/man1/foomatic-rip*
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_bindir}/foomatic-gswrapper
123 %{_mandir}/man1/foomatic-gswrapper*
125 %files -n cups-foomatic
126 %defattr(644,root,root,755)
127 %attr(755,root,root) %{_libdir}/cups/filter/foomatic-rip
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %{_libdir}/ppr/interfaces/foomatic-rip
132 %attr(755,root,root) %{_libdir}/ppr/lib/foomatic-rip