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