2 Summary: GNOME Power Manager
8 Group: X11/Applications
9 Source0: http://dl.sourceforge.net/gnome-power/%{name}-%{version}.tar.gz
10 # Source0-md5: 0f352d463b251a7b8b8a90a82627bb52
11 URL: http://gnome-power.sourceforge.net/
12 BuildRequires: libgnomeui-devel
13 BuildRequires: hal-devel >= 0.5.2
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Uses of GNOME Power Manager infrastructure
18 - A dialogue that warns the user when on UPS power, that automatically
19 begins a kind shutdown when the power gets critically low.
20 - An icon that allows a user to dim the LCD screen with a slider, and does
21 do automatically when going from mains to battery power on a laptop.
22 - An icon, that when an additional battery is inserted, updates it's
23 display to show two batteries and recalculates how much time remaining.
24 Would work for wireless mouse and keyboards, UPS's and PDA's.
25 - A daemon that does a clean shutdown when the battery is critically low or
26 does a soft-suspend when you close the lid on your laptop (or press the
27 "suspend" button on your PC).
28 - Tell Totem to use a codec that does low quality processing to conserve
30 - Postpone indexing of databases (e.g. up2date) or other heavy operations
32 - Presentation programs / movie players don't want the screensaver starting
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
51 rm -rf $RPM_BUILD_ROOT
54 %gconf_schema_install gnome-power.schemas
57 %gconf_schema_uninstall gnome-power.schemas
60 %defattr(644,root,root,755)
61 %doc AUTHORS ChangeLog NEWS README TODO
62 %attr(755,root,root) %{_bindir}/*
63 %{_sysconfdir}/gconf/schemas/*.schemas