%define dbus_version 1.6.4 %define dbus_glib_version 0.100 Summary: GNOME power management service Summary(ja): GNOME 電源管理ツール Name: gnome-power-manager Version: 3.20.0 Release: 1%{?_dist_release} License: GPLv2+ and GFDL Group: Applications/System URL: http://projects.gnome.org/gnome-power-manager/ Source0: http://download.gnome.org/sources/%{name}/3.20/%{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: autoconf >= 2.65 BuildRequires: gtk3-devel BuildRequires: libwnck-devel BuildRequires: dbus-devel >= %{dbus_version} BuildRequires: libnotify-devel BuildRequires: yelp-tools BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: libtool BuildRequires: cairo-devel BuildRequires: libcanberra-gtk3-devel BuildRequires: unique3-devel >= 3.0.0 BuildRequires: upower-devel >= 0.9.0 BuildRequires: control-center-devel BuildRequires: intltool BuildRequires: docbook-utils Requires: gtk3 >= 3.0.0 Requires: gnome-mime-data Requires: gnome-icon-theme Requires: libnotify >= 0.4.3 Requires: dbus-glib >= %{dbus_glib_version} Requires: dbus-x11 >= %{dbus_version} Requires: libcanberra-gtk3 >= 0.10 Requires: unique3 >= 3.0.0 Requires: upower >= 0.9.0 Obsoletes: gnome-power-manager-extra < 3.0.0 Provides: gnome-power-manager-extra Vendor: Project Vine Distribution: Vine Linux Packager: daisuke, Takemikaduchi %description GNOME Power Manager uses the information and facilities provided by HAL displaying icons and handling user callbacks in an interactive GNOME session. GNOME Power Preferences allows authorised users to set policy and change preferences. %prep %setup -q %build %configure \ --disable-static make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %find_lang %name --all-name --with-gnome %clean rm -rf $RPM_BUILD_ROOT %post touch --no-create %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then gtk-update-icon-cache -q %{_datadir}/icons/hicolor fi %postun touch --no-create %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then gtk-update-icon-cache -q %{_datadir}/icons/hicolor &> /dev/null || : fi glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: %posttrans glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: %files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS COPYING README %{_bindir}/gnome-power-statistics %{_datadir}/appdata/gnome-power-statistics.appdata.xml %{_datadir}/applications/gnome-power-statistics.desktop %{_datadir}/glib-2.0/schemas/*.xml %{_datadir}/icons/hicolor/*/apps/* %{_mandir}/man1/gnome-power-statistics.1.gz %changelog * Sun Jul 17 2016 Yoji TOYODA 3.20.0-1 - new upstream release * Sun Nov 01 2015 Yoji TOYODA 3.18.0-1 - new upstream release * Sun May 03 2015 Yoji TOYODA 3.16.1-1 - new upstream release * Sun Mar 29 2015 Yoji TOYODA 3.16.0-1 - new upstream release * Sun Oct 26 2014 Yoji TOYODA 3.14.1-1 - new upstream release * Sun Sep 21 2014 Yoji TOYODA 3.12.2-2 - rebuild with upower-0.99.1 * Sun May 18 2014 Yoji TOYODA 3.12.2-1 - new upstream release * Sun Mar 30 2014 Yoji TOYODA 3.12.0-1 - new upstream release * Sat Jan 04 2014 Yoji TOYODA 3.10.1-2 - rebuild with VineSeed environment * Sat Oct 26 2013 Yoji TOYODA 3.10.1-1 - new upstream release * Sun May 19 2013 Yoji TOYODA 3.8.2-1 - new upstream release * Sun Apr 21 2013 Yoji TOYODA 3.8.1-1 - new upstream release - remove BuildRequires: gmome-panel-devel * Sat Sep 29 2012 Yoji TOYODA 3.6.0-1 - new upstream release - change BuildRequires: yelp-tools instead of gome-doc-utils * Sun Apr 15 2012 Yoji TOYODA 3.4.0-1 - new upstream release * Sat Oct 22 2011 Yoji TOYODA 3.2.1-1 - new upstream release * Thu Sep 29 2011 Yoji TOYODA 3.2.0-1 - new upstream release * Fri Sep 23 2011 Yoji TOYODA 3.1.92-1 - new upstream release * Sat Sep 03 2011 Yoji TOYODA 3.1.90-1 - new upstream release * Tue Aug 16 2011 Yoji TOYODA 3.1.3-1 - new upstream release - add BuildRequires: gtk3-devel, control-center-devel - change BuildRequires: libcanberra-gtk3-devel instead of licanberra-devel - change BuildRequires: unique3-devel instead of unique-devel - delete -extra sub package * Sat Oct 23 2010 Yoji TOYODA 2.32.0-2 - add Source101(gnome-power-manager.gnome-2-32.ja.po) * Tue Oct 05 2010 Yoji TOYODA 2.32.0-1 - new upstream release - change BuildRequires: gnome-panel-devel instead of gnome-panel - fix %files * Sat May 01 2010 Yoji TOYODA 2.30.1-1 - new upstream release * Sat Apr 10 2010 Yoji TOYODA 2.30.0-1 - new upstream release - remove Patch1, Patch2, Patch3 - change BuildRequires: DeviceKit-power-devel -> upower-devel - change Requires: DeviceKit-power -> upower * Sun Feb 28 2010 Yoji TOYODA 2.28.3-1 - new upstream release - change BuildRequires: xmlto -> docbook-utils - remove BuildReuiqres: hal-devel * Sun Feb 28 2010 Yoji TOYODA 2.28.3-1 - new upstream release * Tue Dec 29 2009 Yoji TOYODA 2.28.2-1 - merge spec file from FC package - add Patch1, Patch2 and Patch3 from FC package - add Patch10 and Patch11 for Vine Linux - remove configure option --enable-policykit - add new package (extra) * Sun Apr 26 2009 Daisuke SUZUKI 2.24.4-1 - new upstream release * Tue Oct 28 2008 Daisuke SUZUKI 2.24.1-1 - new upstream release * Thu Sep 25 2008 Daisuke SUZUKI 2.24.0-1 - new upstream release * Sun Apr 13 2008 Ryoichi INAGAKI 2.22.1-1vl5 - new upstream release * Sat Jan 12 2008 Ryoichi INAGAKI 2.20.2-0vl1 - new upstream release * Fri May 11 2007 Daisuke SUZUKI 2.18.2-0vl2 - rebuild with new environment/toolchain * Sat Apr 28 2007 Daisuke SUZUKI 2.18.2-0vl1 - new upstream release - drop Patch10 to enable suspend-to-ram. * Thu Sep 07 2006 Daisuke SUZUKI 2.16.0-0vl1 - new upstream release * Tue Aug 08 2006 Daisuke SUZUKI 2.15.91-0vl1 - new upstream release * Mon Jul 24 2006 Daisuke SUZUKI 2.15.90-0vl1 - new upstream release * Wed Jun 21 2006 Daisuke SUZUKI 2.15.3-0vl1 - new upstream release * Wed May 31 2006 Daisuke SUZUKI 2.15.2-0vl1 - new upstream release * Wed Apr 26 2006 Daisuke SUZUKI 2.15.1-0vl1 - new upstream release * Mon Apr 17 2006 Daisuke SUZUKI 2.15.0-0vl1 - new upstream release * Mon Apr 10 2006 Daisuke SUZUKI 2.14.1-0vl1 - new upstream release * Thu Mar 30 2006 Daisuke SUZUKI 2.14.0-0vl3 - add Patch10 to disable suspend-to-ram by default. * Thu Mar 30 2006 Daisuke SUZUKI 2.14.0-0vl2 - update ja.po from CVS head. * Thu Mar 23 2006 Daisuke SUZUKI 2.14.0-0vl1 - new upstream release * Sun Mar 12 2006 Daisuke SUZUKI 2.13.93-0vl1 - initial build for Vine Linux based on FC package * Mon Mar 6 2006 Ray Strode - 2.13.93-4 - fix the fix in -2 and -3 * Mon Mar 6 2006 Ray Strode - 2.13.93-3 - fix the fix in -2 * Mon Mar 6 2006 Ray Strode - 2.13.93-2 - fix icon in bubbles (bug 184192). * Fri Mar 3 2006 Ray Strode - 2.13.93-1 - Update to 2.13.93 - ignore d-bus timeout errors * Thu Mar 2 2006 Ray Strode - 2.13.92-3 - Add patch from Richard Hughes to potentially fix a crasher bug (bug 183127) * Tue Feb 28 2006 Karsten Hopp 2.13.92-2 - Buildrequires: gnome-doc-utils * Sun Feb 26 2006 Ray Strode - 2.13.92-1 - Update to 2.13.92 * Tue Feb 21 2006 Matthias Clasen - 2.13.91-1 - Update to 2.13.91 - Drop upstreamed patch * Wed Feb 15 2006 Matthias Clasen - 2.13.90-1 - Update to 2.13.90 - Require dbus-x11 (#176656) * Mon Feb 13 2006 Ray Strode - 2.13.5.0.20060207-2 - remove Hibernate and Suspend from menus as part of panel/g-p-m integration effort * Fri Feb 10 2006 Jesse Keating - 2.13.5.0.20060207-1.1 - bump again for double-long bug on ppc(64) * Tue Feb 7 2006 Ray Strode - 2.13.5.0.20060207-1 - pull cvs snapshot from HEAD and drop the patches caillon just added * Tue Feb 7 2006 Christopher Aillon - 2.13.5-3 - Install into the autostart directory - Don't suspend on lid close while on AC power * Tue Feb 07 2006 Jesse Keating - 2.13.5-2.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Tue Jan 31 2006 Matthias Clasen - 2.13.5-2 - rebuild * Thu Jan 26 2006 Ray Strode - 2.13.5-1 - packaging tweaks * Thu Jan 26 2006 Christopher Aillon 2.13.5-1 - Update to 2.13.5 * Tue Jan 24 2006 Christopher Aillon - 0.3.4-2 - Left clicking on the applet should bring up the menu * Tue Jan 17 2006 Ray Strode - 0.3.4-1 - update to 0.3.4 - disable updating scrollkeeper database in buildroot (move to %%post) * Fri Jan 6 2006 Jeremy Katz - 0.3.3-0.cvs.20060106 - update to a cvs snap so that it works with hal cvs snap - make sure we use libnotify * Fri Dec 09 2005 Jesse Keating - 0.3.1-2.1 - rebuilt * Thu Dec 01 2005 John (J5) Palmieri - 0.3.1-2 - rebuild for new dbus * Mon Nov 28 2005 Christopher Aillon 0.3.1-1 - Update to 0.3.1 * Fri Nov 25 2005 Christopher Aillon 0.3.0-1 - Update to 0.3.0 * Wed Oct 19 2005 Ray Strode 0.2.8-1 - update to 0.2.8 * Mon Oct 3 2005 Ray Strode 0.2.6-1 - update to 0.2.6 * Wed Sep 28 2005 Ray Strode 0.2.4-1 - update to 0.2.4 * Fri Sep 02 2005 David Zeuthen 0.2.3.1-1 - Initial import based on an SRPM from Richard Hughes