]> git.pld-linux.org Git - packages/foomatic-filters.git/blob - foomatic-filters.spec
- Making cups-foomatic working
[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:        2.9.1
6 Release:        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 Requires:       perl
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
38 %description gswrapper
39 A little Ghostscript regularization script. It massages arguments to
40 make Ghostscript execute properly as a filter, with output on stdout
41 and errors etc on stderr.
42
43 NOTE: This script is needed in a few situations only and may not work
44 with some Ghostscript versions. Moreover in some situations his
45 presence in the system may have effect that Your printer will
46 not print. So - Do not install this package if You don't know
47 what You're doing. 
48
49 %description gswrapper -l pl
50 Ma³y skrypt uzdatniaj±cy Ghostscripta. Obrabia parametry tak, ¿eby
51 Ghostscript dzia³a³ w³a¶ciwie jako filtr, generuj±c dane wyj¶ciowe na
52 stdout, a b³êdy na stderr.
53
54 UWAGA: Ten skrypt jest potrzebny tylko w kilku przypadkach i mo¿e
55 nie dzia³ac z niektórymi wersjami Ghostscripta. Ponadto w niektórych
56 sytuacjach jego obecno¶æ w systemie mo¿e spowodowaæ, ¿e drukarka nie
57 bêdzie drukowa³a. Tak wiêc - nie instaluj tego pakietu, je¶li nie
58 wiesz, co robisz. 
59
60 %package -n cups-foomatic
61 Summary:        cupsomatic - CUPS filter
62 Summary(pl):    cupsomatic - filtr do CUPS
63 Group:          Applications/System
64 Requires:       cups
65 Requires:       foomatic-filters = %{version}
66 Obsoletes:      foomatic-cups
67
68 %description -n cups-foomatic
69 Cupsomatic is intended to be used as a CUPS filter for printers
70 defined in a PPD file (CUPS-O-Matic or PPD-O-Matic) obtained from the
71 Linux Printing Database.
72
73 %description -n cups-foomatic -l pl
74 Cupsomatic jest filtrem do CUPS dla drukarek zdefiniowanych w pliku
75 PPD (CUPS-O-Matic lub PPD-O-Matic), uzyskanym z Linux Printing
76 Database.
77
78 %package ppr
79 Summary:        ppromatic - PPR interface
80 Summary(pl):    ppromatic - interfejs do PPR
81 Group:          Applications/System
82 Requires:       foomatic-filters = %{version}
83 Requires:       ppr
84
85 %description ppr
86 ppromatic is intended to be used as a PPR interface for printers
87 defined in a PPD-O-Matic PPD file obtained from the Linux Printing
88 Database.
89
90 %description ppr -l pl
91 ppromatic jest interfejsem do PPR dla drukarek zdefiniowanych w pliku
92 PPD (PPD-O-Matic) uzyskanym z Linux Printing Database.
93
94 %prep
95 %setup -q
96
97 %build
98 %{__aclocal}
99 %{__autoconf}
100
101 %configure
102
103 %{__make}
104
105 %install
106 rm -rf $RPM_BUILD_ROOT
107 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
108
109 ln -sf %{_bindir}/foomatic-rip $RPM_BUILD_ROOT%{_libdir}/cups/filter/cupsomatic
110
111 %clean
112 rm -rf $RPM_BUILD_ROOT
113
114 %files
115 %defattr(644,root,root,755)
116 %doc ChangeLog TODO README USAGE
117
118 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/foomatic/direct
119 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/foomatic/filter.conf
120 %attr(755,root,root) %{_bindir}/foomatic-rip
121 %{_mandir}/man1/foomatic-rip*
122
123 %files gswrapper
124 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_bindir}/foomatic-gswrapper
126 %{_mandir}/man1/foomatic-gswrapper*
127
128 %files -n cups-foomatic
129 %defattr(644,root,root,755)
130 %attr(755,root,root) %{_libdir}/cups/filter/*
131
132 %files ppr
133 %defattr(644,root,root,755)
134 %attr(755,root,root) %{_libdir}/ppr/interfaces/foomatic-rip
135 %attr(755,root,root) %{_libdir}/ppr/lib/foomatic-rip
This page took 0.041944 seconds and 4 git commands to generate.