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