123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227 |
- %global minorversion 1.4
- %global xfceversion 4.12.0
- Name: xfce4-power-manager
- Summary: Power management for the Xfce desktop environment
- Summary(ja): Xfce デスクトップ環境用の電源管理ツール
- Version: 1.4.4
- Release: 1%{?_dist_release}
- Group: User Interface/Desktops
- License: GPLv2+
- URL: http://goodies.xfce.org/projects/applications/%{name}
- Source0: http://archive.xfce.org/src/apps/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: dbus-devel >= 1.1
- BuildRequires: dbus-glib-devel >= 0.84
- BuildRequires: desktop-file-utils
- BuildRequires: gettext intltool
- BuildRequires: glib2-devel >= 2.30.0
- BuildRequires: gtk2-devel >= 2.24.0
- BuildRequires: libnotify-devel >= 0.4.1
- BuildRequires: libXext-devel
- BuildRequires: libXrandr-devel >= 1.2.0
- BuildRequires: libxfce4ui-devel >= %{xfceversion}
- BuildRequires: libxfce4util-devel >= %{xfceversion}
- BuildRequires: polkit-devel
- BuildRequires: upower-devel >= 0.99.1
- BuildRequires: xfce4-panel-devel >= %{xfceversion}
- BuildRequires: xfconf-devel >= %{xfceversion}
- BuildRequires: xorg-x11-proto-devel
- Requires: ConsoleKit
- Requires: polkit
- Requires: xfce4-panel >= %{xfceversion}
- Vendor: Project Vine
- Distribution: Vine Linux
- %description
- This software is a power manager for the Xfce desktop, Xfce power manager manages the power sources on the computer and the devices that can be controlled to reduce their power consumption (such as LCD brightness level, monitor sleep).
- In addition, xfce4-power-manager provides a set of freedesktop-compliant DBus interfaces to inform other applications about current power level so that they can adjust their power consumption.
- %prep
- %setup -q
- %build
- %configure --enable-silent-rules
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la
- %find_lang %{name}
- desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-settings.desktop
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post
- touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
- %postun
- if [ $1 -eq 0 ] ; then
- touch --no-create %{_datadir}/icons/hicolor &>/dev/null
- gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
- fi
- %posttrans
- gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
- %files -f %{name}.lang
- %defattr(-,root,root,-)
- %doc AUTHORS COPYING ChangeLog NEWS README TODO
- %config %{_sysconfdir}/xdg/autostart/%{name}.desktop
- %{_bindir}/%{name}
- %{_bindir}/%{name}-settings
- %{_sbindir}/xfce4-pm-helper
- %{_sbindir}/xfpm-power-backlight-helper
- %{_libdir}/xfce4/panel/plugins/lib*.so
- %{_datadir}/appdata/%{name}.appdata.xml
- %{_datadir}/applications/%{name}-settings.desktop
- %{_datadir}/icons/hicolor/*/*/*.*
- %{_datadir}/xfce4/panel/plugins/power-manager-plugin.desktop
- %{_datadir}/polkit-1/actions/org.xfce.power.policy
- %{_mandir}/man1/%{name}-settings.1.*
- %{_mandir}/man1/%{name}.1.*
- %changelog
- * Wed Apr 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.4.4-1
- - new upstream release
- * Sun Mar 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.4.3-1
- - new upstream release
- * Sat Dec 20 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.4.2-1
- - new upstream release
- - updated summary
- * Tue Sep 23 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.4.0-2
- - rebuilt with upower-0.99.1
- * Tue Sep 16 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.4.0-1
- - new upstream release
- * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.0-2
- - rebuild with VineSeed environment
- * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.0-1
- - new upstream release
- - remove old patches
- - add Patch0 (xfce4-power-manager-1.1.0-fix-desktop.patch) from fedora
- * Sun Aug 21 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-3
- - rebuilt with libnotify-0.7.3
- - added Patch1
- * Mon May 23 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-2
- - Initial build for Vine Linux
- * Sun Feb 20 2011 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.10-1
- - Update to 1.0.10
- * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
- * Tue Jan 04 2011 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.3-1
- - Update to 1.0.3
- - No longer require hal because the brightness backend was removed
- - Require polkit
- * Sun Dec 19 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.2-1
- - Update to 1.0.2
- * Thu Dec 16 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1-0.1-1
- - Update to 1.0.1 on Xfce 4.8 pre2
- * Sat Nov 06 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.5-1
- - Update to 0.8.5
- - Fix for libnotify 0.7.0
- - Make build verbose
- * Sat Nov 21 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.4.2-1
- - Update to 0.8.4.2
- * Mon Nov 02 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.4.1-1
- - Update to 0.8.4.1
- * Tue Sep 29 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.4-1
- - Update to 0.8.4
- - Drop xfpm_session_set_client_id patch, fixed upstream
- * Wed Sep 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.3.1-2
- - Fix segfault in xfpm_session_set_client_id
- * Sun Aug 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.3.1-1
- - Update to 0.8.3.1
- * Sat Aug 01 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.3-1
- - Update to 0.8.3
- * Thu Jul 30 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.2-3
- - Patch to include dpmsconst.h instead of dpms.h
- * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- * Thu Jul 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.2-1
- - Update to 0.8.2
- * Mon Jul 06 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.1.1-1
- - Update to 0.8.1.1
- * Fri Jul 03 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.1-1
- - Update to 0.8.1
- - Drop libglade2 requirement
- * Wed Jun 10 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-1
- - Update to 0.8.0 final
- - Update gtk-icon-cache scriptlets
- * Wed May 20 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.3.RC2
- - Update to 0.8.0RC2
- * Tue Apr 28 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.3.RC1
- - Update to 0.8.0RC1
- * Mon Apr 13 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.2.beta2
- - Update to 0.8.0beta2
- - Drop xfpm-button-hal.patch, no longer necessary
- * Mon Apr 13 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.2.beta1
- - Add xfpm-button-hal.patch by Mike Massonnet
- * Sun Apr 12 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.1.beta1
- - Update to 0.8.0beta1
- * Thu Apr 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.1.alpha2
- - Update to 0.8.0alpha2
- * Thu Apr 02 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.1.alpha
- - Update to 0.8.0alpha
- * Tue Mar 24 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.5-1
- - Update to 0.6.5
- - Remove custom autostart file
- * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- * Thu Feb 19 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.2-1
- - Update to 0.6.2
- * Sat Feb 7 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.1-1
- - Update to 0.6.1
- - Include additional desktop file for autostarting the app
- * Mon Nov 10 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.0-0.1.RC1
- - Update to 0.6.0 RC1
- * Fri Oct 31 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.0-0.1.0.beta1
- - Initial Fedora package
|