]> git.pld-linux.org Git - packages/foomatic-db-engine.git/blob - foomatic-db-engine.spec
- updated for perl-5.8.0, release 2
[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):    System umo¿liwiaj±cy u¿ywanie darmowych sterowników drukarek
4 Name:           foomatic-db-engine
5 Version:        2.9.1
6 Release:        2
7 License:        GPL
8 Group:          Applications/System
9 URL:            http://www.linuxprinting.org/foomatic.html
10 Source0:        http://www.linuxprinting.org/download/foomatic/%{name}-%{version}.tar.gz
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  perl-devel
14 BuildRequires:  libxml2-devel
15 Provides:       perl(Foomatic::GrovePath)
16 Obsoletes:      foomatic
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Foomatic is a system for using free software printer drivers with
21 common spoolers on Unix. It supports LPD, PDQ, CUPS, the VA Linux
22 LPD, LPRng, PPR, and direct spooler-less printing and any free
23 software driver for which execution data has been entered in the
24 database.
25
26 %description -l pl
27 Foomatic to system pozwalaj±cy na u¿ywanie wolnodostêpnych
28 sterowników drukarek z popularnymi uniksowymi serwerami wydruków.
29 Obs³uguje LPD, PDQ, CUPS, VA Linux LPD, LPRng, PPR i bezpo¶rednie
30 drukowanie bez kolejkowania oraz dowolny wolnodostêpny sterownik,
31 dla którego parametry zosta³y wprowadzone do bazy danych.
32
33 %prep
34 %setup -q
35
36 %build
37 %{__aclocal}
38 %{__autoconf}
39 %configure
40 %{__make} \
41         PERL_INSTALLDIRS=vendor
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 %{__make} install \
46         DESTDIR="$RPM_BUILD_ROOT"
47
48 install -d $RPM_BUILD_ROOT%{_datadir}/foomatic/db/source/{driver,opt,printer}
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55
56 %doc ChangeLog TODO README USAGE
57 %{_mandir}/man1/*
58 %{_mandir}/man8/*
59
60 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/foomatic
61
62 %attr(755,root,root) %{_bindir}/foomatic-*
63 %attr(755,root,root) %{_sbindir}/foomatic-*
64
65 %{perl_vendorlib}/Foomatic
66
67 %{_datadir}/foomatic
This page took 0.097464 seconds and 4 git commands to generate.