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