File foomatic-db-engine.spec of Package foomatic-db-engine

Name: foomatic-db-engine
Version: 4.0.git20250902
Release: 1
Summary: Foomatic database engine
Group: Hardware/Printing
URL: https://www.openprinting.org/download/foomatic/
License: GPL-2.0
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}

BuildRequires: 	pkgconfig(libxml-2.0)
BuildRequires:	perl
Requires:		perl
Provides:       foomatic-db-filesystem

%description
Foomatic is a configurable printing filter. It uses PPD files as configuration to generate appropriate output
for a given printer. It is spooler independent which means it can be used with Common Unix Printing System (CUPS),
LPRng and others. It uses Ghostscript in the background, using options according to the PPD file of the printer.
Currently it is developed by the OpenPrinting workgroup of the Linux Foundation. 


%prep
%setup -q



%build
export PERL_INSTALLDIRS=vendor
%configure
make %{?_smp_mflags}


%install
make DESTDIR=%{buildroot} install
%perl_process_packlist

%files
%defattr(-,root,root,-)
%{_bindir}/foomatic-*
%{_sbindir}/foomatic-*
%{_mandir}/man1/*
%{_mandir}/man8/*
%dir %{_datadir}/foomatic
%{_datadir}/foomatic
%dir %{perl_vendorlib}/Foomatic
%{perl_vendorlib}/Foomatic/*.pm

%changelog
openSUSE Build Service is sponsored by