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