]> git.pld-linux.org Git - packages/cups-windows.git/blob - cups-windows.spec
bb2463a1c626d4c77a7eecaeb7619175ffe3064d
[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/Printing
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 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _datadir        %(cups-config --datadir 2>/dev/null)
17 %define         _cupsdriverdir  %{_datadir}/drivers
18
19 %description
20 The CUPS driver for Windows is an extension for the Windows 2000
21 PostScript driver that is supported by CUPS 1.2 and higher. The driver
22 adds support for the job-billing and page-label options.
23
24 This is the Windows driver support package for use with Samba.
25
26 %description -l pl
27 Sterownik CUPS dla Windows to rozszerzenie dla sterownika PostScript
28 z Windows 2000 obs³ugiwanego przez CUPS-a 1.2 i nowszego. Sterownik
29 dodaje obs³ugê rozliczania zadañ i opcje etykietowania stron.
30
31 Jest to pakiet wspieraj±cy sterownik windowsowy do u¿ywania z Samb±.
32
33 %prep
34 %setup -q
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 %{__make} install \
39         BUILDROOT=$RPM_BUILD_ROOT
40
41 # needed for Add Printer Wizard
42 install i386/cups6.ppd $RPM_BUILD_ROOT%{_cupsdriverdir}
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %{_cupsdriverdir}/*
This page took 0.036227 seconds and 2 git commands to generate.