Summary: GNOME Power Manager
Summary(pl.UTF-8): Zarządca energii dla GNOME
Name: gnome-power-manager
-Version: 2.24.2
-Release: 1
+Version: 2.32.0
+Release: 2
License: GPL v2+
Group: X11/Applications
-Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-power-manager/2.24/%{name}-%{version}.tar.bz2
-# Source0-md5: c8971e0c4ed060e0182785321f19b961
+Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-power-manager/2.32/%{name}-%{version}.tar.bz2
+# Source0-md5: 9a08e85dce3ffb90775f15e3bda4adda
Patch0: %{name}-desktop.patch
URL: http://www.gnome.org/projects/gnome-power-manager/
-BuildRequires: GConf2-devel >= 2.24.0
-BuildRequires: PolicyKit-gnome-devel
-BuildRequires: autoconf >= 2.52
+BuildRequires: GConf2-devel >= 2.26.0
+BuildRequires: UPower-devel >= 0.9.1
+BuildRequires: autoconf >= 2.65
BuildRequires: automake
BuildRequires: dbus-glib-devel >= 0.74
BuildRequires: docbook-dtd41-sgml
+BuildRequires: docbook-dtd43-xml
BuildRequires: docbook-utils
BuildRequires: gettext-devel
BuildRequires: gnome-common >= 2.24.0
BuildRequires: gnome-doc-utils >= 0.14.0
-BuildRequires: gnome-keyring-devel >= 2.24.0
-BuildRequires: gnome-panel-devel >= 2.24.0
-BuildRequires: gstreamer-devel >= 0.10.14
-BuildRequires: gtk+2-devel >= 1:2.12.8
-BuildRequires: hal-devel >= 0.5.10
+BuildRequires: gnome-panel-devel >= 2.26.0
+BuildRequires: gtk+2-devel >= 2:2.18.0
BuildRequires: intltool >= 0.40.0
-BuildRequires: libglade2-devel >= 1:2.6.2
-BuildRequires: libgnomeui-devel >= 2.24.0
+BuildRequires: libcanberra-gtk-devel >= 0.10
+BuildRequires: libgnome-keyring-devel >= 2.26.0
BuildRequires: libnotify-devel >= 0.4.4
BuildRequires: libtool
-BuildRequires: libwnck-devel >= 2.24.0
+BuildRequires: libunique-devel >= 0.9.4
+BuildRequires: libwnck-devel >= 2.26.0
BuildRequires: pkgconfig
BuildRequires: rpmbuild(find_lang) >= 1.23
BuildRequires: rpmbuild(macros) >= 1.311
BuildRequires: scrollkeeper
-BuildRequires: unique-devel >= 0.9.4
-Requires(post,postun): gtk+2
+BuildRequires: xorg-proto-xproto-devel >= 7.0.15
+Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): hicolor-icon-theme
Requires(post,postun): scrollkeeper
Requires(post,preun): GConf2
+Requires: ConsoleKit
+Requires: UPower
+Requires: dbus(org.freedesktop.Notifications)
Requires: gnome-session >= 2.22.0
-Requires: notification-daemon >= 0.3.5
Obsoletes: gnome-power
# sr@Latn vs. sr@latin
Conflicts: glibc-misc < 6:2.7
aby pokazywał dwie baterie i przelicza ilość pozostałego czasu;
powinna działać dla bezprzewodowych myszy i klawiatur, UPS-ów i PDA
- demon wykonujący czyste zamknięcie systemu kiedy bateria jest w
- stanie krytycznym i wykonujący zamrożenie systemu (soft-suspend)
- przy zamykaniu pokrywy laptopa (albo naciśnięciu przycisku
- "suspend")
+ stanie krytycznym i wykonujący zamrożenie systemu (soft-suspend) przy
+ zamykaniu pokrywy laptopa (albo naciśnięciu przycisku "suspend")
- informowanie Totema, aby używał kodeka o niższej jakości w celu
zaoszczędzenia energii baterii
- wstrzymywanie indeksowania baz danych (np. up2date) i innych
%{__autoheader}
%{__autoconf}
%configure \
- --enable-xevents \
--disable-schemas-install \
+ --disable-silent-rules \
--disable-scrollkeeper
%{__make}
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT \
- autostartdir=%{_datadir}/gnome/autostart
+ DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name} --with-gnome --with-omf --all-name
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO
%attr(755,root,root) %{_bindir}/gnome-power-bugreport.sh
-%attr(755,root,root) %{_bindir}/gnome-power-cmd.sh
%attr(755,root,root) %{_bindir}/gnome-power-manager
%attr(755,root,root) %{_bindir}/gnome-power-preferences
%attr(755,root,root) %{_bindir}/gnome-power-statistics
%attr(755,root,root) %{_libdir}/gnome-brightness-applet
%attr(755,root,root) %{_libdir}/gnome-inhibit-applet
+%attr(755,root,root) %{_sbindir}/gnome-power-backlight-helper
%{_libdir}/bonobo/servers/GNOME_BrightnessApplet.server
%{_libdir}/bonobo/servers/GNOME_InhibitApplet.server
-%{_datadir}/gnome/autostart/gnome-power-manager.desktop
+%{_sysconfdir}/xdg/autostart/gnome-power-manager.desktop
%{_datadir}/dbus-1/services/gnome-power-manager.service
%{_datadir}/gnome-2.0/ui/GNOME_BrightnessApplet.xml
%{_datadir}/gnome-2.0/ui/GNOME_InhibitApplet.xml
%{_datadir}/gnome-power-manager
%{_desktopdir}/gnome-power-preferences.desktop
%{_desktopdir}/gnome-power-statistics.desktop
+%{_datadir}/polkit-1/actions/org.gnome.power.policy
%{_iconsdir}/hicolor/*/*/*
%{_sysconfdir}/gconf/schemas/gnome-power-manager.schemas