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