]> git.pld-linux.org Git - packages/foomatic-db-engine.git/blob - foomatic-db-engine.spec
- tabs in preamble
[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.UTF-8):      System umożliwiający używanie darmowych sterowników drukarek
4 Name:           foomatic-db-engine
5 Version:        3.0.2
6 Release:        3
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:  3061b8d3f7870467e6fbeae8d4399211
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  foomatic-filters >= 3.0.2
15 BuildRequires:  libxml2-devel
16 BuildRequires:  perl-devel
17 BuildRequires:  rpm-perlprov
18 Provides:       perl(Foomatic::GrovePath)
19 Obsoletes:      foomatic
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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 LPD,
25 LPRng, PPR, and direct spooler-less printing and any free software
26 driver for which execution data has been entered in the database.
27
28 %description -l pl.UTF-8
29 Foomatic to system pozwalający na używanie wolnodostępnych sterowników
30 drukarek z popularnymi uniksowymi serwerami wydruków. Obsługuje LPD,
31 PDQ, CUPS, VA Linux LPD, LPRng, PPR i bezpośrednie drukowanie bez
32 kolejkowania oraz dowolny wolnodostępny sterownik, dla którego
33 parametry zostały wprowadzone do bazy danych.
34
35 %prep
36 %setup -q
37
38 %build
39 %{__aclocal} -I .
40 %{__autoconf}
41 %configure
42 %{__make} \
43         PERLPREFIX=/usr \
44         PERL_INSTALLDIRS=vendor
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 chmod +x mkinstalldirs
50
51 %{__make} install \
52         PERLPREFIX=/usr \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 install -d $RPM_BUILD_ROOT%{_datadir}/foomatic/db/source/{driver,opt,printer}
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc ChangeLog TODO README USAGE
63 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/foomatic
64 %attr(755,root,root) %{_bindir}/foomatic-*
65 %attr(755,root,root) %{_sbindir}/foomatic-*
66 %{perl_vendorlib}/Foomatic
67 %{_datadir}/foomatic
68 %{_mandir}/man1/*
69 %{_mandir}/man8/*
This page took 0.050409 seconds and 4 git commands to generate.