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