Summary: X Printing Panel Name: xpp Version: 1.0 Release: 4mdk License: GPL Group: Publishing Source: http://cups.sourceforge.net/xpp/%{name}-%{version}cvs.tar.bz2 Source1: xpp.png.bz2 Url: http://cups.sourceforge.net/xpp/ BuildRoot: %_tmppath/%name-%version-%release-root Requires: cups-common libcups1 BuildRequires: cups-common, cups, libcups1-devel, libfltk1-devel BuildRequires: Mesa-common-devel, libstdc++-devel %description The X Printing Panel (XPP) is a completely free 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. %prep %setup -q # Load menu icon bzcat %SOURCE1 > $RPM_BUILD_DIR/%name-%version/xpp.png %build export CXXFLAGS="${CXXFLAGS:-%optflags} -fno-exceptions -fno-rtti" ; %configure %make %install %makeinstall # install menu icon install -d %buildroot/%_datadir/icons/locolor/16x16/apps install -m 644 xpp.png %buildroot/%_iconsdir/locolor/16x16/apps # install menu entry install -d %buildroot/%_menudir cat <<EOF > %buildroot/%_menudir/xpp ?package(xpp): needs=X11 \ section=Applications/Publishing \ title="X Printing Panel" \ longtitle="Frontend for easy printing with CUPS" \ command="xpp" \ icon="%_iconsdir/locolor/16x16/apps/xpp.png" EOF %post %update_menus %postun %clean_menus %clean rm -fr %buildroot %files %defattr(-,root,root) %doc README LICENSE ChangeLog %_bindir/xpp %_iconsdir/locolor/16x16/apps/* %_libdir/menu %changelog * Mon Mar 4 2001 Till Kamppeter <till@mandrakesoft.com> 1.0-4mdk - CVS Update: Made XPP able to read out the numerical options of the new XML-Foomatic which will appear in the near future. * Sun Jan 28 2001 Till Kamppeter <till@mandrakesoft.com> 1.0-3mdk - Version 1.0 (final) - Let jobs from standard input get the name "STDIN" instead of "(stdin)", because the parantheses caused problems with Samba or Windows servers. - Let the first printer be selected when CUPS does not report a default printer. * Sun Jan 28 2001 Till Kamppeter <till@mandrakesoft.com> 1.0-2mdk - CVS Update: Support for banner pages and raw printing, comment about adding instances in "Instances" dialog. * Sat Jan 27 2001 Till Kamppeter <till@mandrakesoft.com> 1.0-1mdk - CVS Update: Support for adding, copying, renaming, and deleting instances, fixed probable bug of options being saved to wrong queue when number of queues/instances changes when XPP is running. * Sat Jan 20 2001 Till Kamppeter <till@mandrakesoft.com> 0.7-5mdk - CVS Update: Fixed bug in the media settings widgets. * Thu Jan 18 2001 Till Kamppeter <till@mandrakesoft.com> 0.7-4mdk - CVS Update: Rearranged option widgets for media settings on the "Basic" tab of the "Options" dialog. * Wed Jan 17 2001 Till Kamppeter <till@mandrakesoft.com> 0.7-3mdk - CVS Update: Fields for typing the values of numerical options added. * Sun Jan 07 2001 David BAUDENS <baudens@mandrakesoft.com> 0.7-2mdk - s/Copyright/License - Fix BuildRequires - %%setup -q - Use %%_menudir macro - Fix %%post and %%postun sections - Clean %%files section - Spec clean up * Wed Dec 20 2000 Till Kamppeter <till@mandrakesoft.com> 0.7-1mdk - Version 0.7 - FLTK 1.0.10 used - Adapted to new cups package * Wed Nov 15 2000 Till Kamppeter <till@mandrakesoft.com> 0.6-17mdk - Recompiled with GCC 2.96 * Tue Oct 3 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.6-16mdk - added BuildRequires on: cups-devel fltk-devel Mesa-common-devel libstdc++-devel. * Tue Sep 26 2000 Till Kamppeter <till@mandrakesoft.com> 0.6-15mdk - Updated URL to http://cups.sourceforge.net/xpp/ * Tue Sep 26 2000 Till Kamppeter <till@mandrakesoft.com> 0.6-14mdk - CVS Update: Now numerical options can also be read in PPD files with dossy line ends ("\n\r" instead of "\n"). * Sun Sep 24 2000 Till Kamppeter <till@mandrakesoft.com> 0.6-13mdk - CVS Update: Integer and floating point options of CUPS-O-MATIC PPDs are supported now. * Sat Sep 23 2000 Till Kamppeter <till@mandrakesoft.com> 0.6-12mdk - CVS Update: "Authentication ..." line in login/password dialog is also displayed with CUPS 1.1.3. * Thu Sep 7 2000 Till Kamppeter <till@mandrakesoft.com> 0.6-11mdk - CVS Update: Main window is resizable now. * Sat Aug 26 2000 Till Kamppeter <tkamppeter@mandrakesoft.com> 0.6-10mdk - Removed hardcoded architecture-specific flags, used macros instead * Fri Aug 25 2000 Till Kamppeter <tkamppeter@mandrakesoft.com> 0.6-9mdk - Entry for Mandrake menu structure added * Wed Aug 23 2000 Till Kamppeter <tkamppeter@mandrakesoft.com> 0.6-8mdk - Clean-up of "./configure" call in specfile * Wed Aug 23 2000 Till Kamppeter <tkamppeter@mandrakesoft.com> 0.6-7mdk - Removed hardcoded "i586-mandrake-linux" from specfile * Wed Aug 23 2000 Till Kamppeter <tkamppeter@mandrakesoft.com> 0.6-6mdk - Deactivated positioning of the printer list to make default printer visible, a bug in FLTK messed up the display of the printer list. - Optical enhancements of the printer list. * Sun Aug 20 2000 Till Kamppeter <tkamppeter@mandrakesoft.com> 0.6-5mdk - Updated to version 0.6: Full support for password-protected printers, more information in printer list, printing with or saving conflicting options is not possible any more. * Wed Aug 16 2000 Till Kamppeter <tkamppeter@mandrakesoft.com> 0.5-4mdk - Updated to version 0.5: Margin options for text file printing and options for HP-GL/2 printing, "Reverse" page orientations, window does not close when printing leads to an error * Sun Aug 13 2000 Till Kamppeter <tkamppeter@mandrakesoft.com> 0.4-3mdk - New CVS version: Now the widgets on the "Basic" tab of the options window are coupled to the appropriate PPD options, instance names are read, and types of destinations without PPD file are displayed. * Thu Aug 10 2000 Till Kamppeter <tkamppeter@mandrakesoft.com> 0.4-2mdk - Removed "fltk" from "Requires:" line. - FLTK now linked statically into XPP -> Fast load and no widget lib needs to be installed. * Wed Aug 9 2000 Till Kamppeter <tkamppeter@mandrakesoft.com> 0.4-1mdk - Updated to version 0.4. - Added "fltk" to "Requires:" line. * Thu Jul 6 2000 François Pons <fpons@mandrakesoft.com> 0.2-0.1mdk - patch for Makefile to link against optimized fltk. - initial release.