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