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