[8966] | 1 | %global minorversion 1.2 |
---|
[8958] | 2 | %global xfceversion 4.10.0 |
---|
[3945] | 3 | |
---|
| 4 | Name: xfce4-power-manager |
---|
| 5 | Summary: Power management for the Xfce desktop environment |
---|
| 6 | Summary(ja): Xfce デスクトップ環境用電源管理ツール |
---|
[8958] | 7 | Version: 1.4.0 |
---|
[8966] | 8 | Release: 2%{?_dist_release} |
---|
[3945] | 9 | |
---|
| 10 | Group: User Interface/Desktops |
---|
| 11 | License: GPLv2+ |
---|
| 12 | URL: http://goodies.xfce.org/projects/applications/%{name} |
---|
| 13 | |
---|
| 14 | Source0: http://archive.xfce.org/src/apps/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2 |
---|
[6284] | 15 | Patch0: xfce4-power-manager-1.1.0-fix-desktop.patch |
---|
[3945] | 16 | |
---|
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 18 | |
---|
[8958] | 19 | BuildRequires: dbus-devel >= 1.1 |
---|
| 20 | BuildRequires: dbus-glib-devel >= 0.84 |
---|
| 21 | BuildRequires: desktop-file-utils |
---|
| 22 | BuildRequires: gettext intltool |
---|
| 23 | BuildRequires: glib2-devel >= 2.30.0 |
---|
| 24 | BuildRequires: gtk2-devel >= 2.24.0 |
---|
[3945] | 25 | BuildRequires: libnotify-devel >= 0.4.1 |
---|
[8958] | 26 | BuildRequires: libXext-devel |
---|
| 27 | BuildRequires: libXrandr-devel >= 1.2.0 |
---|
[3945] | 28 | BuildRequires: libxfce4ui-devel >= %{xfceversion} |
---|
[8958] | 29 | BuildRequires: libxfce4util-devel >= %{xfceversion} |
---|
[8966] | 30 | BuildRequires: upower-devel >= 0.99.1 |
---|
[8958] | 31 | BuildRequires: xfce4-panel-devel >= %{xfceversion} |
---|
| 32 | BuildRequires: xfconf-devel >= %{xfceversion} |
---|
[3945] | 33 | BuildRequires: xorg-x11-proto-devel |
---|
[8958] | 34 | Requires: ConsoleKit |
---|
| 35 | Requires: polkit |
---|
[3945] | 36 | Requires: xfce4-panel >= %{xfceversion} |
---|
| 37 | |
---|
[8068] | 38 | Vendor: Project Vine |
---|
| 39 | Distribution: Vine Linux |
---|
| 40 | |
---|
[3945] | 41 | %description |
---|
| 42 | Xfce Power Manager uses the information and facilities provided by HAL to |
---|
| 43 | display icons and handle user callbacks in an interactive Xfce session. |
---|
| 44 | Xfce Power Preferences allows authorised users to set policy and change |
---|
| 45 | preferences. |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | %prep |
---|
| 49 | %setup -q |
---|
[8958] | 50 | #patch0 -p1 |
---|
[3945] | 51 | |
---|
| 52 | |
---|
| 53 | %build |
---|
[8958] | 54 | %configure --enable-silent-rules |
---|
| 55 | make %{?_smp_mflags} |
---|
[3945] | 56 | |
---|
| 57 | |
---|
| 58 | %install |
---|
| 59 | rm -rf $RPM_BUILD_ROOT |
---|
[8958] | 60 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 61 | |
---|
| 62 | rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la |
---|
| 63 | |
---|
[3945] | 64 | %find_lang %{name} |
---|
| 65 | desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-settings.desktop |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %clean |
---|
| 69 | rm -rf $RPM_BUILD_ROOT |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %post |
---|
| 73 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | %postun |
---|
| 77 | if [ $1 -eq 0 ] ; then |
---|
| 78 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
| 79 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 80 | fi |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | %posttrans |
---|
| 84 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 85 | |
---|
| 86 | |
---|
| 87 | %files -f %{name}.lang |
---|
| 88 | %defattr(-,root,root,-) |
---|
| 89 | %doc AUTHORS COPYING ChangeLog NEWS README TODO |
---|
[8958] | 90 | %config %{_sysconfdir}/xdg/autostart/%{name}.desktop |
---|
[3945] | 91 | %{_bindir}/%{name} |
---|
| 92 | %{_bindir}/%{name}-settings |
---|
[8958] | 93 | %{_sbindir}/xfce4-pm-helper |
---|
[3945] | 94 | %{_sbindir}/xfpm-power-backlight-helper |
---|
[8958] | 95 | %{_libdir}/xfce4/panel/plugins/lib*.so |
---|
| 96 | %{_datadir}/appdata/%{name}.appdata.xml |
---|
[3945] | 97 | %{_datadir}/applications/%{name}-settings.desktop |
---|
| 98 | %{_datadir}/icons/hicolor/*/*/*.* |
---|
[8958] | 99 | %{_datadir}/xfce4/panel/plugins/power-manager-plugin.desktop |
---|
[3945] | 100 | %{_datadir}/polkit-1/actions/org.xfce.power.policy |
---|
| 101 | %{_mandir}/man1/%{name}-settings.1.* |
---|
| 102 | %{_mandir}/man1/%{name}.1.* |
---|
| 103 | |
---|
| 104 | |
---|
| 105 | %changelog |
---|
[8966] | 106 | * Tue Sep 23 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.4.0-2 |
---|
| 107 | - rebuilt with upower-0.99.1 |
---|
| 108 | |
---|
[8958] | 109 | * Tue Sep 16 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.4.0-1 |
---|
| 110 | - new upstream release |
---|
| 111 | |
---|
[8068] | 112 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.0-2 |
---|
| 113 | - rebuild with VineSeed environment |
---|
| 114 | |
---|
[6284] | 115 | * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.0-1 |
---|
| 116 | - new upstream release |
---|
| 117 | - remove old patches |
---|
| 118 | - add Patch0 (xfce4-power-manager-1.1.0-fix-desktop.patch) from fedora |
---|
| 119 | |
---|
[4634] | 120 | * Sun Aug 21 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-3 |
---|
| 121 | - rebuilt with libnotify-0.7.3 |
---|
| 122 | - added Patch1 |
---|
| 123 | |
---|
[3945] | 124 | * Mon May 23 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-2 |
---|
| 125 | - Initial build for Vine Linux |
---|
| 126 | |
---|
| 127 | * Sun Feb 20 2011 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.10-1 |
---|
| 128 | - Update to 1.0.10 |
---|
| 129 | |
---|
| 130 | * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2 |
---|
| 131 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 132 | |
---|
| 133 | * Tue Jan 04 2011 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.3-1 |
---|
| 134 | - Update to 1.0.3 |
---|
| 135 | - No longer require hal because the brightness backend was removed |
---|
| 136 | - Require polkit |
---|
| 137 | |
---|
| 138 | * Sun Dec 19 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.2-1 |
---|
| 139 | - Update to 1.0.2 |
---|
| 140 | |
---|
| 141 | * Thu Dec 16 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1-0.1-1 |
---|
| 142 | - Update to 1.0.1 on Xfce 4.8 pre2 |
---|
| 143 | |
---|
| 144 | * Sat Nov 06 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.5-1 |
---|
| 145 | - Update to 0.8.5 |
---|
| 146 | - Fix for libnotify 0.7.0 |
---|
| 147 | - Make build verbose |
---|
| 148 | |
---|
| 149 | * Sat Nov 21 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.4.2-1 |
---|
| 150 | - Update to 0.8.4.2 |
---|
| 151 | |
---|
| 152 | * Mon Nov 02 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.4.1-1 |
---|
| 153 | - Update to 0.8.4.1 |
---|
| 154 | |
---|
| 155 | * Tue Sep 29 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.4-1 |
---|
| 156 | - Update to 0.8.4 |
---|
| 157 | - Drop xfpm_session_set_client_id patch, fixed upstream |
---|
| 158 | |
---|
| 159 | * Wed Sep 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.3.1-2 |
---|
| 160 | - Fix segfault in xfpm_session_set_client_id |
---|
| 161 | |
---|
| 162 | * Sun Aug 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.3.1-1 |
---|
| 163 | - Update to 0.8.3.1 |
---|
| 164 | |
---|
| 165 | * Sat Aug 01 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.3-1 |
---|
| 166 | - Update to 0.8.3 |
---|
| 167 | |
---|
| 168 | * Thu Jul 30 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.2-3 |
---|
| 169 | - Patch to include dpmsconst.h instead of dpms.h |
---|
| 170 | |
---|
| 171 | * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-2 |
---|
| 172 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 173 | |
---|
| 174 | * Thu Jul 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.2-1 |
---|
| 175 | - Update to 0.8.2 |
---|
| 176 | |
---|
| 177 | * Mon Jul 06 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.1.1-1 |
---|
| 178 | - Update to 0.8.1.1 |
---|
| 179 | |
---|
| 180 | * Fri Jul 03 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.1-1 |
---|
| 181 | - Update to 0.8.1 |
---|
| 182 | - Drop libglade2 requirement |
---|
| 183 | |
---|
| 184 | * Wed Jun 10 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-1 |
---|
| 185 | - Update to 0.8.0 final |
---|
| 186 | - Update gtk-icon-cache scriptlets |
---|
| 187 | |
---|
| 188 | * Wed May 20 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.3.RC2 |
---|
| 189 | - Update to 0.8.0RC2 |
---|
| 190 | |
---|
| 191 | * Tue Apr 28 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.3.RC1 |
---|
| 192 | - Update to 0.8.0RC1 |
---|
| 193 | |
---|
| 194 | * Mon Apr 13 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.2.beta2 |
---|
| 195 | - Update to 0.8.0beta2 |
---|
| 196 | - Drop xfpm-button-hal.patch, no longer necessary |
---|
| 197 | |
---|
| 198 | * Mon Apr 13 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.2.beta1 |
---|
| 199 | - Add xfpm-button-hal.patch by Mike Massonnet |
---|
| 200 | |
---|
| 201 | * Sun Apr 12 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.1.beta1 |
---|
| 202 | - Update to 0.8.0beta1 |
---|
| 203 | |
---|
| 204 | * Thu Apr 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.1.alpha2 |
---|
| 205 | - Update to 0.8.0alpha2 |
---|
| 206 | |
---|
| 207 | * Thu Apr 02 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.1.alpha |
---|
| 208 | - Update to 0.8.0alpha |
---|
| 209 | |
---|
| 210 | * Tue Mar 24 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.5-1 |
---|
| 211 | - Update to 0.6.5 |
---|
| 212 | - Remove custom autostart file |
---|
| 213 | |
---|
| 214 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2 |
---|
| 215 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 216 | |
---|
| 217 | * Thu Feb 19 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.2-1 |
---|
| 218 | - Update to 0.6.2 |
---|
| 219 | |
---|
| 220 | * Sat Feb 7 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.1-1 |
---|
| 221 | - Update to 0.6.1 |
---|
| 222 | - Include additional desktop file for autostarting the app |
---|
| 223 | |
---|
| 224 | * Mon Nov 10 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.0-0.1.RC1 |
---|
| 225 | - Update to 0.6.0 RC1 |
---|
| 226 | |
---|
| 227 | * Fri Oct 31 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.0-0.1.0.beta1 |
---|
| 228 | - Initial Fedora package |
---|