1 Summary: CUPS Windows driver
7 Source0: ftp://ftp.easysw.com/pub/cups/windows/%{name}-%{version}-source.tar.bz2
8 # Source0-md5: e4569a58b6ad8bdef3208c4385c52625
9 URL: http://www.cups.org/windows/
10 BuildRequires: cups-devel
11 Requires: cups >= 1:1.2
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 %define _datadir %(cups-config --datadir 2>/dev/null)
15 %define _cupsdriverdir %{_datadir}/drivers
18 The CUPS driver for windows is an extension for the Windows 2000
19 PostScript driver that is supported by CUPS 1.2 and higher. The driver
20 adds support for the job-billing and page-label options.
22 This is the Windows driver support package for use with Samba.
28 rm -rf $RPM_BUILD_ROOT
30 BUILDROOT=$RPM_BUILD_ROOT
32 # needed for Add Printer Wizard
33 install i386/cups6.ppd $RPM_BUILD_ROOT%{_cupsdriverdir}
36 rm -rf $RPM_BUILD_ROOT
39 %defattr(644,root,root,755)