I hope you do not upload this to the Cooker, because this is HEAVILY
CONFLICTING with the stuff which is already there (I think, if you try
to upload the file shown below, it will be rejected):

1. ) There is already an XPP package on the Cooker and it is
XPP-0.6-8mdk.

2. ) Version 0.5 of XPP is obsolete the most recent is 0.6.

3. ) Due to function overloading you cannot link the CUPS printing
frontends XPP or QTCUPS against the CUPS library statically.

4. ) As this spec file (and also the Mandrake CUPS package) is written
you will not get an XPP statically linked against the CUPS library.

5,) As I see, you intend to make a small package which one installs, and
one only enters a server name so that one has access to all CUPS
printers. I will offer this possibility with my changes in printerdrake.
Please look for my Cooker announcements in the near future.

So DO NOT UPLOAD this package,

   Till



John Johnson wrote:
> 
> Ok, Everyone bitching about the xpp spec file so I decided to give it a
> shot.. I a still new to rpm's so I hhope this will
> help someone.
> ----------------------------------------------------------------------
> 0efine name     xpp
> 0efine version  0.5
> 0efine release  1mdk
> 0efine prefix  /usr
> 
> Summary:         XPP for Common Unix Printing System
> Name:            %{name}
> Version:         %{version}
> Release:         %{release}
> Copyright:       GPL
> Group:           Utilities/Printing
> Source:          %{name}-%{version}.tar.bz2
> Url:              http://www.phy.uni-bayreuth.de/till/xpp/
> Packager:        John Johnson <[EMAIL PROTECTED]>
> Requires:        cups
> BuildRoot:     %{_tmppath}/%{name}-buildroot
> 
> 0escription
> The X Printing Panel (XPP) is a completely free (under the GNU General
> Public License - GPL) CUPS-tool for easy choosing of the desired
> printer out of a list of all available printers and for setting
> printer options by an easy-to-use graphical user interface.
> One simply calls the program (xpp) instead of the usual utilities (lpr or
> lp)
> at the command line or out of applications.
> 
> If you have a remote cups server running on standard port (631)
> then you don't need to install cups.
> Only set the cups server name in /etc/cups/client.conf
> ( see /etc/cups/client.conf.sample )
> 
> static linked against: libcups and libfltk
> 
> 0rep
> etup
> 
> 0uild
> CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
> make
> 
> 0nstall
> rm -rf $RPM_BUILD_ROOT
> 
> install -d $RPM_BUILD_ROOT/usr/X11R6/bin
> cp xpp $RPM_BUILD_ROOT/usr/X11R6/bin/xpp
> 
> cat << EOF > ./client.conf.sample
> 
> # This is the CUPS client configuration file.  This file is used to
> # define client-specific parameters, such as the default server or
> # default printer.
> # ServerName: the hostname of your server.  By default CUPS will use the
> # hostname of the system.
> # ServerName myhost.domain.com
> 
> # DefaultPrinter: the default printer (or class) that clients should use.
> 
> #DefaultPrinter myprinter
> #DefaultPrinter myprinter@host
> EOF
> 
> install -d $RPM_BUILD_ROOT/etc/cups
> cp ./client.conf.sample $RPM_BUILD_ROOT/etc/cups
> 
> # doc
> install -d $RPM_BUILD_ROOT/usr/doc/xpp-%{version}
> cp ChangeLog $RPM_BUILD_ROOT/usr/doc/xpp-%{version}
> cp LICENSE $RPM_BUILD_ROOT/usr/doc/xpp-%{version}
> cp README $RPM_BUILD_ROOT/usr/doc/xpp-%{version}
> 
> > rm -rf $RPM_BUILD_ROOT
> 
> 0.000000iles
> 0efattr(-,root,root)
> /etc/cups/*
> /usr/X11R6/bin/*
> /usr/doc/xpp-%{version}/*
> 
> > * Wed Aug 16 2000 John Johnson <[EMAIL PROTECTED]> 0.5-1mdk
> - Made first Mandrake rpm

Reply via email to