]> git.pld-linux.org Git - packages/foomatic-db-engine.git/blob - foomatic-db-engine.spec
- don't require installed cups
[packages/foomatic-db-engine.git] / foomatic-db-engine.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define         snap    20080317
3 Summary:        System for using free software printer drivers
4 Summary(pl.UTF-8):      System umożliwiający używanie darmowych sterowników drukarek
5 Name:           foomatic-db-engine
6 Version:        3.0.%{snap}
7 Release:        1
8 License:        GPL
9 Group:          Applications/System
10 URL:            http://www.linuxprinting.org/foomatic.html
11 Source0:        http://www.linuxprinting.org/download/foomatic/%{name}-3.0-%{snap}.tar.gz
12 # Source0-md5:  d6ac64aeaa1f6ecdf386df6b6ad380a7
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  foomatic-filters >= 3.0.2
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 LPD,
26 LPRng, PPR, and direct spooler-less printing and any free software
27 driver for which execution data has been entered in the database.
28
29 %description -l pl.UTF-8
30 Foomatic to system pozwalający na używanie wolnodostępnych sterowników
31 drukarek z popularnymi uniksowymi serwerami wydruków. Obsługuje LPD,
32 PDQ, CUPS, VA Linux LPD, LPRng, PPR i bezpośrednie drukowanie bez
33 kolejkowania oraz dowolny wolnodostępny sterownik, dla którego
34 parametry zostały wprowadzone do bazy danych.
35
36 %prep
37 %setup -q -n %{name}-3.0-%{snap}
38
39 %build
40 %{__aclocal} -I .
41 %{__autoconf}
42 %configure
43 %{__make} \
44         PERLPREFIX=/usr \
45         PERL_INSTALLDIRS=vendor
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 chmod +x mkinstalldirs
51
52 %{__make} install \
53         PERLPREFIX=/usr \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 install -d $RPM_BUILD_ROOT%{_datadir}/foomatic/db/source/{driver,opt,printer}
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc ChangeLog TODO README USAGE
64 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/foomatic
65 %attr(755,root,root) %{_bindir}/foomatic-*
66 %attr(755,root,root) %{_sbindir}/foomatic-*
67 %attr(755,root,root) %{_libdir}/cups/driver/foomatic
68 %{perl_vendorlib}/Foomatic
69 %{_datadir}/foomatic
70 %{_mandir}/man1/*
71 %{_mandir}/man8/*
This page took 0.057257 seconds and 3 git commands to generate.