Summary: CUPS Windows driver
+Summary(pl): Sterownik CUPS dla Windows
Name: cups-windows
Version: 6.0
Release: 1
License: GPL
-Group: Applications
+Group: Applications/Printing
Source0: ftp://ftp.easysw.com/pub/cups/windows/%{name}-%{version}-source.tar.bz2
# Source0-md5: e4569a58b6ad8bdef3208c4385c52625
URL: http://www.cups.org/windows/
BuildRequires: cups-devel
Requires: cups >= 1:1.2
+BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _datadir %(cups-config --datadir 2>/dev/null)
%define _cupsdriverdir %{_datadir}/drivers
%description
-The CUPS driver for windows is an extension for the Windows 2000
+The CUPS driver for Windows is an extension for the Windows 2000
PostScript driver that is supported by CUPS 1.2 and higher. The driver
adds support for the job-billing and page-label options.
This is the Windows driver support package for use with Samba.
+%description -l pl
+Sterownik CUPS dla Windows to rozszerzenie dla sterownika PostScript
+z Windows 2000 obs³ugiwanego przez CUPS-a 1.2 i nowszego. Sterownik
+dodaje obs³ugê rozliczania zadañ i opcje etykietowania stron.
+
+Jest to pakiet wspieraj±cy sterownik windowsowy do u¿ywania z Samb±.
+
%prep
%setup -q
%{__make} install \
BUILDROOT=$RPM_BUILD_ROOT
+# needed for Add Printer Wizard
+install i386/cups6.ppd $RPM_BUILD_ROOT%{_cupsdriverdir}
+
%clean
rm -rf $RPM_BUILD_ROOT