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