]> git.pld-linux.org Git - packages/foomatic-db-engine.git/blob - foomatic-db-engine.spec
- updated to 3.0.1rc2
[packages/foomatic-db-engine.git] / foomatic-db-engine.spec
1 %include        /usr/lib/rpm/macros.perl
2
3 %define         _rc     rc2
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:  866fb29353df43dff019ef1033a05b41
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  foomatic-filters >= 3.0.1
18 BuildRequires:  libxml2-devel
19 BuildRequires:  perl-devel
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 -n %{name}-%{version}%{_rc}
40
41 %build
42 %{__aclocal}
43 %{__autoconf}
44 %configure
45 %{__make} \
46         PERL_INSTALLDIRS=vendor
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 chmod +x mkinstalldirs
52
53 %{__make} install \
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 size mtime md5) %{_sysconfdir}/foomatic
65 %attr(755,root,root) %{_bindir}/foomatic-*
66 %attr(755,root,root) %{_sbindir}/foomatic-*
67 %{perl_vendorlib}/Foomatic
68 %{_datadir}/foomatic
69 %{_mandir}/man1/*
70 %{_mandir}/man8/*
This page took 0.065517 seconds and 3 git commands to generate.