]> git.pld-linux.org Git - SPECS.git/blob - foomatic-db-engine.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / foomatic-db-engine.spec
1 Summary:        System for using free software printer drivers
2 Summary(pl.UTF-8):      System umożliwiający używanie darmowych sterowników drukarek
3 Name:           foomatic-db-engine
4 Version:        4.0.13
5 Release:        1
6 Epoch:          1
7 License:        GPL v2+
8 Group:          Applications/System
9 Source0:        http://www.openprinting.org/download/foomatic/%{name}-%{version}.tar.gz
10 # Source0-md5:  f178947ca0437d85823a247f5725e6eb
11 Patch0:         %{name}-cups.patch
12 URL:            http://www.linuxprinting.org/foomatic.html
13 BuildRequires:  autoconf >= 2.52
14 BuildRequires:  automake
15 BuildRequires:  libxml2-devel >= 2
16 BuildRequires:  perl-devel
17 BuildRequires:  rpm-perlprov
18 Provides:       perl(Foomatic::GrovePath)
19 Suggests:       a2ps
20 Suggests:       foomatic-filters >= 4.0.7
21 Suggests:       ghostscript
22 Suggests:       wget
23 Obsoletes:      foomatic
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define _ulibdir        %{_prefix}/lib
27
28 %description
29 Foomatic is a system for using free software printer drivers with
30 common spoolers on Unix. It supports LPD, PDQ, CUPS, the VA Linux LPD,
31 LPRng, PPR, and direct spooler-less printing and any free software
32 driver for which execution data has been entered in the database.
33
34 %description -l pl.UTF-8
35 Foomatic to system pozwalający na używanie wolnodostępnych sterowników
36 drukarek z popularnymi uniksowymi serwerami wydruków. Obsługuje LPD,
37 PDQ, CUPS, VA Linux LPD, LPRng, PPR i bezpośrednie drukowanie bez
38 kolejkowania oraz dowolny wolnodostępny sterownik, dla którego
39 parametry zostały wprowadzone do bazy danych.
40
41 %prep
42 %setup -q
43 %patch0 -p1
44
45 %build
46 %{__aclocal} -I .
47 %{__autoconf}
48 %configure \
49         A2PS=/usr/bin/a2ps \
50         GS=/usr/bin/gs \
51         WGET=/usr/bin/wget \
52         --disable-gscheck
53 %{__make} \
54         PERL_INSTALLDIRS=vendor
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 chmod +x mkinstalldirs
60
61 %{__sed} -i 's,PREFIX =.*,PREFIX = %{_prefix},g' lib/Makefile
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 install -d $RPM_BUILD_ROOT%{_datadir}/foomatic/db/source/{driver,opt,printer}
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %doc ChangeLog README TODO USAGE
73 # XXX: dir shared with foomatic-filters
74 %dir %{_sysconfdir}/foomatic
75 %attr(755,root,root) %{_bindir}/foomatic-combo-xml
76 %attr(755,root,root) %{_bindir}/foomatic-compiledb
77 %attr(755,root,root) %{_bindir}/foomatic-configure
78 %attr(755,root,root) %{_bindir}/foomatic-datafile
79 %attr(755,root,root) %{_bindir}/foomatic-perl-data
80 %attr(755,root,root) %{_bindir}/foomatic-ppd-options
81 %attr(755,root,root) %{_bindir}/foomatic-ppd-to-xml
82 %attr(755,root,root) %{_bindir}/foomatic-ppdfile
83 %attr(755,root,root) %{_bindir}/foomatic-printjob
84 %attr(755,root,root) %{_bindir}/foomatic-searchprinter
85 %attr(755,root,root) %{_sbindir}/foomatic-addpjloptions
86 %attr(755,root,root) %{_sbindir}/foomatic-cleanupdrivers
87 %attr(755,root,root) %{_sbindir}/foomatic-extract-text
88 %attr(755,root,root) %{_sbindir}/foomatic-fix-xml
89 %attr(755,root,root) %{_sbindir}/foomatic-getpjloptions
90 %attr(755,root,root) %{_sbindir}/foomatic-kitload
91 %attr(755,root,root) %{_sbindir}/foomatic-nonumericalids
92 %attr(755,root,root) %{_sbindir}/foomatic-preferred-driver
93 %attr(755,root,root) %{_sbindir}/foomatic-printermap-to-gutenprint-xml
94 %attr(755,root,root) %{_sbindir}/foomatic-replaceoldprinterids
95 %attr(755,root,root) %{_ulibdir}/cups/driver/foomatic
96 %{perl_vendorlib}/Foomatic
97 %{_datadir}/foomatic
98 %{_mandir}/man1/foomatic-combo-xml.1*
99 %{_mandir}/man1/foomatic-compiledb.1*
100 %{_mandir}/man1/foomatic-configure.1*
101 %{_mandir}/man1/foomatic-perl-data.1*
102 %{_mandir}/man1/foomatic-ppd-options.1*
103 %{_mandir}/man1/foomatic-ppdfile.1*
104 %{_mandir}/man1/foomatic-printjob.1*
105 %{_mandir}/man8/foomatic-addpjloptions.8*
106 %{_mandir}/man8/foomatic-getpjloptions.8*
107 %{_mandir}/man8/foomatic-kitload.8*
108 %{_mandir}/man8/foomatic-preferred-driver.8*
This page took 0.206228 seconds and 3 git commands to generate.