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