]> git.pld-linux.org Git - packages/cups.git/blob - cups.spec
- Initial realase the package will not build now.
[packages/cups.git] / cups.spec
1 Summary:        Common Unix Printing System     
2 Name:           cups
3 Version:        1.1.2
4 Release:        1
5 Vendor:         PLD
6 License:        GPL/LGPL
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)
12
13
14 %description 
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.  
24
25 %prep
26 %setup -q
27 %patch -p1
28
29 %build
30 autoconf
31 %configure
32 %{__make}
33
34 %install
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 \
50         install 
51
52
53 %clean
54
55 %files 
56 %defattr(644,root,root,755)
This page took 0.041313 seconds and 4 git commands to generate.