]> git.pld-linux.org Git - packages/foomatic-filters.git/blob - foomatic-filters.spec
- BR: a2ps
[packages/foomatic-filters.git] / foomatic-filters.spec
1 %include        /usr/lib/rpm/macros.perl
2
3 Summary:        System for using free software printer drivers
4 Summary(pl):    System umo¿liwiaj±cy u¿ywanie darmowych sterowników drukarek
5 Name:           foomatic-filters
6 Version:        3.0.1
7 Release:        1
8 Epoch:          1
9 License:        GPL
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
14 BuildRequires:  a2ps
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  rpm-perlprov
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define _ulibdir        %{_prefix}/lib
21
22 %description
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
27 database.
28
29 %description -l pl
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.
35
36 %package gswrapper
37 Summary:        foomatic wrapper for ghostscript
38 Summary(pl):    wrapper dla ghostscripta do u¿ycia z foomatic
39 Group:          Applications/System
40 Requires:       ghostscript
41 Requires:       a2ps
42 Obsoletes:      foomatic-gswrapper
43
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.
48
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
53 what You're doing.
54
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.
59
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
64 wiesz, co robisz.
65
66 %package -n cups-filter-foomatic
67 Summary:        cupsomatic - CUPS filter
68 Summary(pl):    cupsomatic - filtr do CUPS
69 Group:          Applications/System
70 Requires:       cups
71 Requires:       %{name} = %{epoch}:%{version}
72 Obsoletes:      foomatic-cups
73 Obsoletes:      cups-foomatic
74
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.
79
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
83 Database.
84
85 %package ppr
86 Summary:        ppromatic - PPR interface
87 Summary(pl):    ppromatic - interfejs do PPR
88 Group:          Applications/System
89 Requires:       %{name} = %{epoch}:%{version}
90 Requires:       ppr
91 Obsoletes:      foomatic-ppr
92
93 %description 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
96 Database.
97
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.
101
102 %prep
103 %setup -q
104
105 %build
106 %{__aclocal}
107 %{__autoconf}
108 %configure
109 %{__make}
110
111 %install
112 rm -rf $RPM_BUILD_ROOT
113 %{__make} install \
114         DESTDIR="$RPM_BUILD_ROOT"
115
116 ln -sf %{_bindir}/foomatic-rip $RPM_BUILD_ROOT%{_ulibdir}/cups/filter/cupsomatic
117
118 %clean
119 rm -rf $RPM_BUILD_ROOT
120
121 %files
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*
128
129 %files gswrapper
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %{_bindir}/foomatic-gswrapper
132 %{_mandir}/man1/foomatic-gswrapper*
133
134 %files -n cups-filter-foomatic
135 %defattr(644,root,root,755)
136 %attr(755,root,root) %{_ulibdir}/cups/filter/*
137
138 %files ppr
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
This page took 0.035977 seconds and 4 git commands to generate.