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