1 Summary: Common Unix Printing System
7 Group: Utilities/System
8 Source0: ftp://ftp.easysw.com/pub/%{name}/%{version}/%{name}-%{version}-source.tar.bz2
9 Patch0: cups-chown.patch
10 URL: http://www.cups.org/
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 CUPS provides a portable printing layer for UNIX®-based operating systems. It
16 has been developed by Easy Software Products to promote a standard printing
17 solution for all UNIX vendors and users. CUPS provides the System V and
18 Berkeley command-line interfaces. CUPS uses the Internet Printing Protocol
19 ("IPP") as the basis for managing print jobs and queues. The Line Printer
20 Daemon ("LPD") Server Message Block ("SMB"), and AppSocket (a.k.a. JetDirect)
21 protocols are also supported with reduced functionality. CUPS adds network
22 printer browsing and PostScript Printer Description ("PPD") based printing
23 options to support real-world printing under UNIX.
35 rm -rf $RPM_BUILD_ROOT
36 make prefix=$RPM_BUILD_ROOT \
37 exec_prefix=$RPM_BUILD_ROOT/usr \
38 BINDIR=$RPM_BUILD_ROOT/usr/bin \
39 DATADIR=$RPM_BUILD_ROOT/usr/share/cups \
40 DOCDIR=$RPM_BUILD_ROOT/usr/share/doc/cups \
41 INCLUDEDIR=$RPM_BUILD_ROOT/usr/include \
42 LIBDIR=$RPM_BUILD_ROOT/usr/lib \
43 LOCALEDIR=$RPM_BUILD_ROOT/usr/share/locale \
44 MANDIR=$RPM_BUILD_ROOT/usr/man \
45 PAMDIR=$RPM_BUILD_ROOT/etc/pam.d \
46 REQUESTS=$RPM_BUILD_ROOT/var/spool/cups \
47 SBINDIR=$RPM_BUILD_ROOT/usr/sbin \
48 SERVERBIN=$RPM_BUILD_ROOT/usr/lib/cups \
49 SERVERROOT=$RPM_BUILD_ROOT/etc/cups \
56 %defattr(644,root,root,755)