Summary: Battery/Power status monitor for WindowMaker on laptops Name: wmapm Version: 3.1 Release: 15 License: GPL Group: Graphical desktop/WindowMaker Source0: %{name}-%{version}.tar.bz2 Source1: %{name}-icons.tar.bz2 Source10: wmapm-16x16.png Source11: wmapm-32x32.png Source12: wmapm-48x48.png URL: http://nis-www.lanl.gov/~mgh/ BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xpm) BuildRequires: pkgconfig(xext) %description WMAPM monitors the APM statistics through the APM support in the Linux and FreeBSD Kernels. This information, presented in a nice visual format, can be invaluable on laptops (as I have found in my recent/continual travels as a Field Engineer for a small computer hardware manufacturer). WMAPM currently provides: * Status of power supply (battery or AC); * Percentage of battery remaining (numeric and meter); * Battery charging status; * Time left to battery depletion; * High/Low/Critical battery status (Red/Yellow/Green); %prep rm -rf %buildroot %setup -q %build make -C %name COPTS="$RPM_OPT_FLAGS" %install [ -d %buildroot ] && rm -rf %buildroot mkdir -p %buildroot{%_bindir,%_miconsdir,%_liconsdir,%_mandir/man1/} install -m 755 wmapm/wmapm %buildroot%_bindir install -m 644 wmapm/wmapm.1 %buildroot%_mandir/man1/ install -m 644 %SOURCE10 %buildroot%_miconsdir/%name.png install -m 644 %SOURCE11 %buildroot%_iconsdir/%name.png install -m 644 %SOURCE12 %buildroot%_liconsdir/%name.png install -m 755 -d %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/mandriva-%{name}.desktop < 3.1-13mdv2010.0 + Revision: 434772 - rebuild * Sun Aug 03 2008 Thierry Vignaud 3.1-12mdv2009.0 + Revision: 262004 - rebuild * Wed Jul 30 2008 Thierry Vignaud 3.1-11mdv2009.0 + Revision: 256038 - rebuild - drop old menu + Pixel - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas + Olivier Blin - restore BuildRoot * Mon Dec 17 2007 Thierry Vignaud 3.1-9mdv2008.1 + Revision: 129384 - kill re-definition of %%buildroot on Pixel's request - kill desktop-file-validate's 'warning: key "Encoding" in group "Desktop Entry" is deprecated' * Tue Feb 06 2007 Gustavo De Nardin 3.1-9mdv2007.0 + Revision: 116908 - fixed .desktop file Comment - fixed and trimmed dependencies - spec cleanup - fixed old menu section - xdg menu migration for great compliance * Wed Apr 27 2005 Lenny Cartier 3.1-7mdk - rebuild * Mon Feb 23 2004 Lenny Cartier 3.1-6mdk - rebuild