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