]> git.pld-linux.org Git - packages/gnome-power-manager.git/commitdiff
- based on template
authorwrobell <wrobell@pld-linux.org>
Thu, 19 May 2005 20:33:08 +0000 (20:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gnome-power-manager.spec -> 1.1

gnome-power-manager.spec [new file with mode: 0644]

diff --git a/gnome-power-manager.spec b/gnome-power-manager.spec
new file mode 100644 (file)
index 0000000..196bc90
--- /dev/null
@@ -0,0 +1,65 @@
+
+Summary:       GNOME Power Manager
+Name:          gnome-power
+Version:       0.0.3
+Release:       0.1
+Epoch:         0
+License:       GPL v2
+Group:         X11/Applications
+Source0:       http://dl.sourceforge.net/gnome-power/%{name}-%{version}.tar.gz
+# Source0-md5: 0f352d463b251a7b8b8a90a82627bb52
+URL:           http://gnome-power.sourceforge.net/
+BuildRequires: libgnomeui-devel
+BuildRequires: hal-devel >= 0.5.2
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Uses of GNOME Power Manager infrastructure
+- A dialogue that warns the user when on UPS power, that automatically
+  begins a kind shutdown when the power gets critically low.
+- An icon that allows a user to dim the LCD screen with a slider, and does
+  do automatically when going from mains to battery power on a laptop.
+- An icon, that when an additional battery is inserted, updates it's
+  display to show two batteries and recalculates how much time remaining.
+  Would work for wireless mouse and keyboards, UPS's and PDA's.
+- A daemon that does a clean shutdown when the battery is critically low or
+  does a soft-suspend when you close the lid on your laptop (or press the
+  "suspend" button on your PC).
+- Tell Totem to use a codec that does low quality processing to conserve
+  battery power.
+- Postpone indexing of databases (e.g. up2date) or other heavy operations
+  until on mains power.
+- Presentation programs / movie players don't want the screensaver starting
+  or screen blanking.
+
+%prep
+%setup -q      -n %{name}
+
+%build
+autoreconf -i
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%gconf_schema_install gnome-power.schemas
+
+%preun
+%gconf_schema_uninstall gnome-power.schemas
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_bindir}/*
+%{_sysconfdir}/gconf/schemas/*.schemas
+%{_datadir}/%{name}
+%{_desktopdir}/*
This page took 0.076583 seconds and 4 git commands to generate.