]> git.pld-linux.org Git - packages/cups-windows.git/blob - cups-windows.spec
7cbc82e56a9b0295cf33bffbf68a7f7aeba7a3b4
[packages/cups-windows.git] / cups-windows.spec
1 Summary:        CUPS Windows driver
2 Summary(pl):    Sterownik CUPS dla Windows
3 Name:           cups-windows
4 Version:        6.0
5 Release:        1
6 License:        GPL
7 Group:          Applications
8 Source0:        ftp://ftp.easysw.com/pub/cups/windows/%{name}-%{version}-source.tar.bz2
9 # Source0-md5:  e4569a58b6ad8bdef3208c4385c52625
10 URL:            http://www.cups.org/windows/
11 BuildRequires:  cups-devel
12 Requires:       cups >= 1:1.2
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _datadir        %(cups-config --datadir 2>/dev/null)
16 %define         _cupsdriverdir  %{_datadir}/drivers
17
18 %description
19 The CUPS driver for Windows is an extension for the Windows 2000
20 PostScript driver that is supported by CUPS 1.2 and higher. The driver
21 adds support for the job-billing and page-label options.
22
23 This is the Windows driver support package for use with Samba.
24
25 %description -l pl
26 Sterownik CUPS dla Windows to rozszerzenie dla sterownika PostScript
27 z Windows 2000 obs³ugiwanego przez CUPS-a 1.2 i nowszego. Sterownik
28 dodaje obs³ugê rozliczania zadañ i opcje etykietowania stron.
29
30 Jest to pakiet wspieraj±cy sterownik windowsowy do u¿ywania z Samb±.
31
32 %prep
33 %setup -q
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 %{__make} install \
38         BUILDROOT=$RPM_BUILD_ROOT
39
40 # needed for Add Printer Wizard
41 install i386/cups6.ppd $RPM_BUILD_ROOT%{_cupsdriverdir}
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %{_cupsdriverdir}/*
This page took 0.072287 seconds and 2 git commands to generate.