From 346112e36c8cf1da48394c0eda7e9e2b35e2fad7 Mon Sep 17 00:00:00 2001 From: dobrek Date: Tue, 12 Sep 2000 18:37:29 +0000 Subject: [PATCH] - Initial realase the package will not build now. Changed files: cups.spec -> 1.1 --- cups.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 cups.spec diff --git a/cups.spec b/cups.spec new file mode 100644 index 0000000..7c99373 --- /dev/null +++ b/cups.spec @@ -0,0 +1,56 @@ +Summary: Common Unix Printing System +Name: cups +Version: 1.1.2 +Release: 1 +Vendor: PLD +License: GPL/LGPL +Group: Utilities/System +Source0: ftp://ftp.easysw.com/pub/%{name}/%{version}/%{name}-%{version}-source.tar.bz2 +Patch0: cups-chown.patch +URL: http://www.cups.org/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + + +%description +CUPS provides a portable printing layer for UNIX®-based operating systems. It +has been developed by Easy Software Products to promote a standard printing +solution for all UNIX vendors and users. CUPS provides the System V and +Berkeley command-line interfaces. CUPS uses the Internet Printing Protocol +("IPP") as the basis for managing print jobs and queues. The Line Printer +Daemon ("LPD") Server Message Block ("SMB"), and AppSocket (a.k.a. JetDirect) +protocols are also supported with reduced functionality. CUPS adds network +printer browsing and PostScript Printer Description ("PPD") based printing +options to support real-world printing under UNIX. + +%prep +%setup -q +%patch -p1 + +%build +autoconf +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +make prefix=$RPM_BUILD_ROOT \ + exec_prefix=$RPM_BUILD_ROOT/usr \ + BINDIR=$RPM_BUILD_ROOT/usr/bin \ + DATADIR=$RPM_BUILD_ROOT/usr/share/cups \ + DOCDIR=$RPM_BUILD_ROOT/usr/share/doc/cups \ + INCLUDEDIR=$RPM_BUILD_ROOT/usr/include \ + LIBDIR=$RPM_BUILD_ROOT/usr/lib \ + LOCALEDIR=$RPM_BUILD_ROOT/usr/share/locale \ + MANDIR=$RPM_BUILD_ROOT/usr/man \ + PAMDIR=$RPM_BUILD_ROOT/etc/pam.d \ + REQUESTS=$RPM_BUILD_ROOT/var/spool/cups \ + SBINDIR=$RPM_BUILD_ROOT/usr/sbin \ + SERVERBIN=$RPM_BUILD_ROOT/usr/lib/cups \ + SERVERROOT=$RPM_BUILD_ROOT/etc/cups \ + install + + +%clean + +%files +%defattr(644,root,root,755) -- 2.44.0