]> git.pld-linux.org Git - packages/foomatic-db-engine.git/blob - foomatic-db-engine.spec
- rel 2
[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:        2
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 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  foomatic-filters >= 3.0.1
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
39 %build
40 %{__aclocal}
41 %{__autoconf}
42 %configure
43 %{__make} \
44         PERL_INSTALLDIRS=vendor
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 chmod +x mkinstalldirs
50
51 %{__make} install \
52         DESTDIR="$RPM_BUILD_ROOT"
53
54 install -d $RPM_BUILD_ROOT%{_datadir}/foomatic/db/source/{driver,opt,printer}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc ChangeLog TODO README USAGE
62 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/foomatic
63 %attr(755,root,root) %{_bindir}/foomatic-*
64 %attr(755,root,root) %{_sbindir}/foomatic-*
65 %{perl_vendorlib}/Foomatic
66 %{_datadir}/foomatic
67 %{_mandir}/man1/*
68 %{_mandir}/man8/*
This page took 0.20071 seconds and 3 git commands to generate.