%define version 1.0.2 Name: pup Summary: Printer Utility Program for the Lexmark Optra Color 40 and 45 Version: %{version} Release: 0 Copyright: GPL Matthew Simpson Packager: William Stearns Group: Utilities/System Source: https://sourceforge.net/download.php/pup/pup_%{version}_src.tar.gz Vendor: Matthew Simpson URL: http://pup.sourceforge.net/ BuildRoot: /tmp/pup-broot %description This is a GUI utility for maintaining your printer under Linux. Currently it only supports the Lexmark Optra Color 40 and 45 printers, for ink cartridge maintenance and replacement and sending the command to print a page showing current printer settings. %changelog * Wed Mar 13 2000 William Stearns - first rpm %prep %setup -c %build make %install if [ "$RPM_BUILD_ROOT" = "/tmp/pup-broot" ]; then rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/usr/bin cp -p pup $RPM_BUILD_ROOT/usr/bin else echo Invalid Build root exit 1 fi %clean if [ "$RPM_BUILD_ROOT" = "/tmp/pup-broot" ]; then rm -rf $RPM_BUILD_ROOT else echo Invalid Build root exit 1 fi %files %attr(755,root,root) /usr/bin/pup