]> git.pld-linux.org Git - packages/foomatic-filters.git/blob - foomatic-filters.spec
- "f" and some "g" letters of small fixes inpired by kloczek
[packages/foomatic-filters.git] / foomatic-filters.spec
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-filters
5 Version:        3.0.0
6 Release:        0.1
7 Epoch:          1
8 License:        GPL
9 Group:          Applications/System
10 Source0:        http://www.linuxprinting.org/download/foomatic/%{name}-%{version}.tar.gz
11 # Source0-md5: 970e7fed64ee9f56e28ccd798af88918
12 URL:            http://www.linuxprinting.org/foomatic.html
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  rpm-perlprov
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Foomatic is a system for using free software printer drivers with
20 common spoolers on Unix. It supports LPD, PDQ, CUPS, the VA Linux
21 LPD, LPRng, PPR, and direct spooler-less printing and any free
22 software driver for which execution data has been entered in the
23 database.
24
25 %description -l pl
26 Foomatic to system pozwalaj±cy na u¿ywanie wolnodostêpnych
27 sterowników drukarek z popularnymi uniksowymi serwerami wydruków.
28 Obs³uguje LPD, PDQ, CUPS, VA Linux LPD, LPRng, PPR i bezpo¶rednie
29 drukowanie bez kolejkowania oraz dowolny wolnodostêpny sterownik,
30 dla którego parametry zosta³y wprowadzone do bazy danych.
31
32 %package gswrapper
33 Summary:        foomatic wrapper for ghostscript
34 Summary(pl):    wrapper dla ghostscripta do u¿ycia z foomatic
35 Group:          Applications/System
36 Requires:       ghostscript
37 Requires:       a2ps
38 Obsoletes:      foomatic-gswrapper
39
40 %description gswrapper
41 A little Ghostscript regularization script. It massages arguments to
42 make Ghostscript execute properly as a filter, with output on stdout
43 and errors etc on stderr.
44
45 NOTE: This script is needed in a few situations only and may not work
46 with some Ghostscript versions. Moreover in some situations his
47 presence in the system may have effect that Your printer will
48 not print. So - Do not install this package if You don't know
49 what You're doing. 
50
51 %description gswrapper -l pl
52 Ma³y skrypt uzdatniaj±cy Ghostscripta. Obrabia parametry tak, ¿eby
53 Ghostscript dzia³a³ w³a¶ciwie jako filtr, generuj±c dane wyj¶ciowe na
54 stdout, a b³êdy na stderr.
55
56 UWAGA: Ten skrypt jest potrzebny tylko w kilku przypadkach i mo¿e
57 nie dzia³ac z niektórymi wersjami Ghostscripta. Ponadto w niektórych
58 sytuacjach jego obecno¶æ w systemie mo¿e spowodowaæ, ¿e drukarka nie
59 bêdzie drukowa³a. Tak wiêc - nie instaluj tego pakietu, je¶li nie
60 wiesz, co robisz. 
61
62 %package -n cups-filter-foomatic
63 Summary:        cupsomatic - CUPS filter
64 Summary(pl):    cupsomatic - filtr do CUPS
65 Group:          Applications/System
66 Requires:       cups
67 Requires:       %{name} = %{epoch}:%{version}
68 Obsoletes:      foomatic-cups
69 Obsoletes:      cups-foomatic
70
71 %description -n cups-filter-foomatic
72 Cupsomatic is intended to be used as a CUPS filter for printers
73 defined in a PPD file (CUPS-O-Matic or PPD-O-Matic) obtained from the
74 Linux Printing Database.
75
76 %description -n cups-filter-foomatic -l pl
77 Cupsomatic jest filtrem do CUPS dla drukarek zdefiniowanych w pliku
78 PPD (CUPS-O-Matic lub PPD-O-Matic), uzyskanym z Linux Printing
79 Database.
80
81 %package ppr
82 Summary:        ppromatic - PPR interface
83 Summary(pl):    ppromatic - interfejs do PPR
84 Group:          Applications/System
85 Requires:       %{name} = %{epoch}:%{version}
86 Requires:       ppr
87 Obsoletes:      foomatic-ppr
88
89 %description ppr
90 ppromatic is intended to be used as a PPR interface for printers
91 defined in a PPD-O-Matic PPD file obtained from the Linux Printing
92 Database.
93
94 %description ppr -l pl
95 ppromatic jest interfejsem do PPR dla drukarek zdefiniowanych w pliku
96 PPD (PPD-O-Matic) uzyskanym z Linux Printing Database.
97
98 %prep
99 %setup -q
100
101 %build
102 %{__aclocal}
103 %{__autoconf}
104 %configure
105 %{__make}
106
107 %install
108 rm -rf $RPM_BUILD_ROOT
109 %{__make} install \
110         DESTDIR="$RPM_BUILD_ROOT"
111
112 ln -sf %{_bindir}/foomatic-rip $RPM_BUILD_ROOT%{_libdir}/cups/filter/cupsomatic
113
114 %clean
115 rm -rf $RPM_BUILD_ROOT
116
117 %files
118 %defattr(644,root,root,755)
119 %doc ChangeLog TODO README USAGE
120 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/foomatic/direct
121 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/foomatic/filter.conf
122 %attr(755,root,root) %{_bindir}/foomatic-rip
123 %{_mandir}/man1/foomatic-rip*
124
125 %files gswrapper
126 %defattr(644,root,root,755)
127 %attr(755,root,root) %{_bindir}/foomatic-gswrapper
128 %{_mandir}/man1/foomatic-gswrapper*
129
130 %files -n cups-filter-foomatic
131 %defattr(644,root,root,755)
132 %attr(755,root,root) %{_libdir}/cups/filter/*
133
134 %files ppr
135 %defattr(644,root,root,755)
136 %attr(755,root,root) %{_libdir}/ppr/interfaces/foomatic-rip
137 %attr(755,root,root) %{_libdir}/ppr/lib/foomatic-rip
This page took 0.054153 seconds and 4 git commands to generate.