]> git.pld-linux.org Git - packages/gnome-power-manager.git/blob - gnome-power-manager.spec
- based on template
[packages/gnome-power-manager.git] / gnome-power-manager.spec
1
2 Summary:        GNOME Power Manager
3 Name:           gnome-power
4 Version:        0.0.3
5 Release:        0.1
6 Epoch:          0
7 License:        GPL v2
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)
15
16 %description
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
29   battery power.
30 - Postpone indexing of databases (e.g. up2date) or other heavy operations
31   until on mains power.
32 - Presentation programs / movie players don't want the screensaver starting
33   or screen blanking.
34
35 %prep
36 %setup  -q      -n %{name}
37
38 %build
39 autoreconf -i
40 %configure
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %post
54 %gconf_schema_install gnome-power.schemas
55
56 %preun
57 %gconf_schema_uninstall gnome-power.schemas
58
59 %files
60 %defattr(644,root,root,755)
61 %doc AUTHORS ChangeLog NEWS README TODO
62 %attr(755,root,root) %{_bindir}/*
63 %{_sysconfdir}/gconf/schemas/*.schemas
64 %{_datadir}/%{name}
65 %{_desktopdir}/*
This page took 0.030902 seconds and 3 git commands to generate.