##### GENERAL STUFF ##### Summary: Tool to determine the ink levels of HP and Epson inkjets Name: ink Version: 0.4.1 Release: %mkrel 3 License: GPL Group: Publishing Url: http://ink.sourceforge.net/ BuildRequires: libinklevel-devel >= 0.7.0 ##### SOURCE FILES ##### Source: http://heanet.dl.sourceforge.net/sourceforge/ink/%{name}-%{version}.tar.bz2 ##### ADDITIONAL DEFINITIONS ##### BuildRoot: %{_tmppath}/%{name}-buildroot ##### DESCRIPTION ##### %description ink is a command line tool for checking the ink level of your printer on a system which runs Linux. It supports printers attached via parallel port or usb. Most current HP inkjets and several Epson inkjets are supported. Note that ink only works when the printer is not printing and when the printer port is not occupied by HPOJ. ##### PREP ##### %prep %setup -q ##### BUILD ##### %build %make ##### INSTALL ##### %install rm -rf $RPM_BUILD_ROOT # Remove explicit setting of ownerships from the Makefile perl -p -i -e 's/-o root -g root//' Makefile %makeinstall DESTDIR=%{buildroot}/usr %clean rm -rf $RPM_BUILD_ROOT ##### FILE LIST ##### %files %defattr(-,root,root) %doc COPYING README # This should run SGID sys, so that it can access the printer device files # when started by a normal user %attr(2755,lp,sys) %{_bindir}/* ##### CHANGELOG ##### %changelog * Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.4.1-3mdv2009.0 + Revision: 247230 - rebuild * Tue Feb 12 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.4.1-1mdv2008.1 + Revision: 165961 - fix spacing at top of description - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Mon Jul 09 2007 Funda Wang <fundawang@mandriva.org> 0.4.1-1mdv2008.0 + Revision: 50588 - New version * Wed Apr 05 2006 Lenny Cartier <lenny@mandriva.com> 0.3.1-1mdk - 0.3.1 * Sun Nov 28 2004 Till Kamppeter <till@mandrakesoft.com> 0.3-1mdk - Updated to version 0.3. - New URL.