-%define ver 1.3.1
-%define rel 4
-%include /usr/lib/rpm/macros.perl
Summary: Foomatic Data for the HPIJS Printer Drivers
-Summary(pl): Informacje foomatic dla sterownika drukarek HPIJS
+Summary(pl.UTF-8): Informacje foomatic dla sterownika drukarek HPIJS
Name: foomatic-db-hpijs
-Version: %{ver}.%{rel}
-Release: 1
+Version: 20081228
+Release: 2
Epoch: 2
-License: GPL
+License: GPL v2+
Group: Applications/System
-Source0: http://www.linuxprinting.org/download/foomatic/%{name}-%{ver}-%{rel}.tar.gz
-# Source0-md5: 23a5a96ac71eb703a59d6e8ab0c22de2
+Source0: http://www.linuxprinting.org/download/foomatic/%{name}-%{version}.tar.gz
+# Source0-md5: 4fac368a17b85312e3ae20697eb3051e
URL: http://www.linuxprinting.org/foomatic.html
-BuildRequires: autoconf
-BuildRequires: automake
-Requires: foomatic-db-engine
+Requires: foomatic-db-engine >= 3.0.20080317
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Foomatic Data for the HPIJS Printer Drivers.
-%description -l pl
+%description -l pl.UTF-8
Informacje foomatic dla sterownika drukarek HPIJS.
%prep
-%setup -q -n %{name}-%{ver}-%{rel}
+%setup -q
%build
-%{__aclocal}
-%{__autoconf}
%configure
%{__make}
%files
%defattr(644,root,root,755)
-%doc ChangeLog TODO README USAGE
-%{_datadir}/foomatic/db/source/driver/*
-%{_datadir}/foomatic/db/source/opt/*
+%doc ChangeLog README USAGE
+%{_datadir}/foomatic/db/source/driver/hpijs.xml
+%{_datadir}/foomatic/db/source/opt/hpijs-*.xml