]> git.pld-linux.org Git - packages/cups-windows.git/blob - cups-windows.spec
- install also cups6.ppd for APW
[packages/cups-windows.git] / cups-windows.spec
1 Summary:        CUPS Windows driver
2 Name:           cups-windows
3 Version:        6.0
4 Release:        1
5 License:        GPL
6 Group:          Applications
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)
13
14 %define         _datadir        %(cups-config --datadir 2>/dev/null)
15 %define         _cupsdriverdir  %{_datadir}/drivers
16
17 %description
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.
21
22 This is the Windows driver support package for use with Samba.
23
24 %prep
25 %setup -q
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 %{__make} install \
30         BUILDROOT=$RPM_BUILD_ROOT
31
32 # needed for Add Printer Wizard
33 install i386/cups6.ppd $RPM_BUILD_ROOT%{_cupsdriverdir}
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %{_cupsdriverdir}/*
This page took 0.086447 seconds and 3 git commands to generate.