%include /usr/lib/rpm/macros.perl
-
Summary: System for using free software printer drivers
Summary(pl): System umo¿liwiaj±cy u¿ywanie darmowych sterowników drukarek
Name: foomatic-db-engine
Version: 3.0.1
-Release: 4
+Release: 5
License: GPL
Group: Applications/System
URL: http://www.linuxprinting.org/foomatic.html
BuildRequires: perl-devel
BuildRequires: rpm-perlprov
Provides: perl(Foomatic::GrovePath)
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Obsoletes: foomatic
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Foomatic is a system for using free software printer drivers with
%{__autoconf}
%configure
%{__make} \
+ PERLPREFIX=/usr \
PERL_INSTALLDIRS=vendor
%install
chmod +x mkinstalldirs
%{__make} install \
- DESTDIR="$RPM_BUILD_ROOT"
+ PERLPREFIX=/usr \
+ DESTDIR=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/foomatic/db/source/{driver,opt,printer}