1 %include /usr/lib/rpm/macros.perl
3 Summary: System for using free software printer drivers
4 Summary(pl): System umo¿liwiaj±cy u¿ywanie darmowych sterowników drukarek
10 Group: Applications/System
11 Source0: http://www.linuxprinting.org/download/foomatic/%{name}-%{version}.tar.gz
12 # Source0-md5: afa2bfcee2661252ec56af5616017d1e
13 URL: http://www.linuxprinting.org/foomatic.html
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: rpm-perlprov
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define _ulibdir %{_prefix}/lib
23 Foomatic is a system for using free software printer drivers with
24 common spoolers on Unix. It supports LPD, PDQ, CUPS, the VA Linux
25 LPD, LPRng, PPR, and direct spooler-less printing and any free
26 software driver for which execution data has been entered in the
30 Foomatic to system pozwalaj±cy na u¿ywanie wolnodostêpnych
31 sterowników drukarek z popularnymi uniksowymi serwerami wydruków.
32 Obs³uguje LPD, PDQ, CUPS, VA Linux LPD, LPRng, PPR i bezpo¶rednie
33 drukowanie bez kolejkowania oraz dowolny wolnodostêpny sterownik,
34 dla którego parametry zosta³y wprowadzone do bazy danych.
37 Summary: foomatic wrapper for ghostscript
38 Summary(pl): wrapper dla ghostscripta do u¿ycia z foomatic
39 Group: Applications/System
42 Obsoletes: foomatic-gswrapper
44 %description gswrapper
45 A little Ghostscript regularization script. It massages arguments to
46 make Ghostscript execute properly as a filter, with output on stdout
47 and errors etc on stderr.
49 NOTE: This script is needed in a few situations only and may not work
50 with some Ghostscript versions. Moreover in some situations his
51 presence in the system may have effect that Your printer will
52 not print. So - Do not install this package if You don't know
55 %description gswrapper -l pl
56 Ma³y skrypt uzdatniaj±cy Ghostscripta. Obrabia parametry tak, ¿eby
57 Ghostscript dzia³a³ w³a¶ciwie jako filtr, generuj±c dane wyj¶ciowe na
58 stdout, a b³êdy na stderr.
60 UWAGA: Ten skrypt jest potrzebny tylko w kilku przypadkach i mo¿e
61 nie dzia³ac z niektórymi wersjami Ghostscripta. Ponadto w niektórych
62 sytuacjach jego obecno¶æ w systemie mo¿e spowodowaæ, ¿e drukarka nie
63 bêdzie drukowa³a. Tak wiêc - nie instaluj tego pakietu, je¶li nie
66 %package -n cups-filter-foomatic
67 Summary: cupsomatic - CUPS filter
68 Summary(pl): cupsomatic - filtr do CUPS
69 Group: Applications/System
71 Requires: %{name} = %{epoch}:%{version}
72 Obsoletes: foomatic-cups
73 Obsoletes: cups-foomatic
75 %description -n cups-filter-foomatic
76 Cupsomatic is intended to be used as a CUPS filter for printers
77 defined in a PPD file (CUPS-O-Matic or PPD-O-Matic) obtained from the
78 Linux Printing Database.
80 %description -n cups-filter-foomatic -l pl
81 Cupsomatic jest filtrem do CUPS dla drukarek zdefiniowanych w pliku
82 PPD (CUPS-O-Matic lub PPD-O-Matic), uzyskanym z Linux Printing
86 Summary: ppromatic - PPR interface
87 Summary(pl): ppromatic - interfejs do PPR
88 Group: Applications/System
89 Requires: %{name} = %{epoch}:%{version}
91 Obsoletes: foomatic-ppr
94 ppromatic is intended to be used as a PPR interface for printers
95 defined in a PPD-O-Matic PPD file obtained from the Linux Printing
98 %description ppr -l pl
99 ppromatic jest interfejsem do PPR dla drukarek zdefiniowanych w pliku
100 PPD (PPD-O-Matic) uzyskanym z Linux Printing Database.
112 rm -rf $RPM_BUILD_ROOT
114 DESTDIR="$RPM_BUILD_ROOT"
116 ln -sf %{_bindir}/foomatic-rip $RPM_BUILD_ROOT%{_ulibdir}/cups/filter/cupsomatic
119 rm -rf $RPM_BUILD_ROOT
122 %defattr(644,root,root,755)
123 %doc ChangeLog TODO README USAGE
124 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/foomatic/direct
125 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/foomatic/filter.conf
126 %attr(755,root,root) %{_bindir}/foomatic-rip
127 %{_mandir}/man1/foomatic-rip*
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %{_bindir}/foomatic-gswrapper
132 %{_mandir}/man1/foomatic-gswrapper*
134 %files -n cups-filter-foomatic
135 %defattr(644,root,root,755)
136 %attr(755,root,root) %{_ulibdir}/cups/filter/*
139 %defattr(644,root,root,755)
140 %attr(755,root,root) %{_ulibdir}/ppr/interfaces/foomatic-rip
141 %attr(755,root,root) %{_ulibdir}/ppr/lib/foomatic-rip