[6890] | 1 | %define dbus_version 1.6.4 |
---|
| 2 | %define dbus_glib_version 0.100 |
---|
[521] | 3 | |
---|
| 4 | Summary: GNOME power management service |
---|
| 5 | Summary(ja): GNOME 電源管理ツール |
---|
| 6 | Name: gnome-power-manager |
---|
[10716] | 7 | Version: 3.20.0 |
---|
[9073] | 8 | Release: 1%{?_dist_release} |
---|
[521] | 9 | License: GPLv2+ and GFDL |
---|
| 10 | Group: Applications/System |
---|
| 11 | URL: http://projects.gnome.org/gnome-power-manager/ |
---|
| 12 | |
---|
[10716] | 13 | Source0: http://download.gnome.org/sources/%{name}/3.20/%{name}-%{version}.tar.xz |
---|
[521] | 14 | |
---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[805] | 16 | BuildRequires: autoconf >= 2.65 |
---|
[4616] | 17 | BuildRequires: gtk3-devel |
---|
[521] | 18 | BuildRequires: libwnck-devel |
---|
| 19 | BuildRequires: dbus-devel >= %{dbus_version} |
---|
| 20 | BuildRequires: libnotify-devel |
---|
[6890] | 21 | BuildRequires: yelp-tools |
---|
[521] | 22 | BuildRequires: desktop-file-utils |
---|
| 23 | BuildRequires: gettext |
---|
| 24 | BuildRequires: libtool |
---|
| 25 | BuildRequires: cairo-devel |
---|
[4616] | 26 | BuildRequires: libcanberra-gtk3-devel |
---|
| 27 | BuildRequires: unique3-devel >= 3.0.0 |
---|
[805] | 28 | BuildRequires: upower-devel >= 0.9.0 |
---|
[4616] | 29 | BuildRequires: control-center-devel |
---|
[521] | 30 | BuildRequires: intltool |
---|
[805] | 31 | BuildRequires: docbook-utils |
---|
[4616] | 32 | Requires: gtk3 >= 3.0.0 |
---|
[521] | 33 | Requires: gnome-mime-data |
---|
| 34 | Requires: gnome-icon-theme |
---|
| 35 | Requires: libnotify >= 0.4.3 |
---|
| 36 | Requires: dbus-glib >= %{dbus_glib_version} |
---|
| 37 | Requires: dbus-x11 >= %{dbus_version} |
---|
[4616] | 38 | Requires: libcanberra-gtk3 >= 0.10 |
---|
| 39 | Requires: unique3 >= 3.0.0 |
---|
[805] | 40 | Requires: upower >= 0.9.0 |
---|
[521] | 41 | |
---|
[4616] | 42 | Obsoletes: gnome-power-manager-extra < 3.0.0 |
---|
| 43 | Provides: gnome-power-manager-extra |
---|
| 44 | |
---|
[521] | 45 | Vendor: Project Vine |
---|
| 46 | Distribution: Vine Linux |
---|
| 47 | Packager: daisuke, Takemikaduchi |
---|
| 48 | |
---|
| 49 | %description |
---|
| 50 | GNOME Power Manager uses the information and facilities provided by HAL |
---|
| 51 | displaying icons and handling user callbacks in an interactive GNOME session. |
---|
| 52 | GNOME Power Preferences allows authorised users to set policy and |
---|
| 53 | change preferences. |
---|
| 54 | |
---|
| 55 | %prep |
---|
| 56 | %setup -q |
---|
[2118] | 57 | |
---|
| 58 | |
---|
[521] | 59 | %build |
---|
| 60 | %configure \ |
---|
[6890] | 61 | --disable-static |
---|
[521] | 62 | make |
---|
| 63 | |
---|
| 64 | %install |
---|
| 65 | rm -rf $RPM_BUILD_ROOT |
---|
| 66 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 67 | |
---|
[6890] | 68 | %find_lang %name --all-name --with-gnome |
---|
[521] | 69 | |
---|
| 70 | %clean |
---|
| 71 | rm -rf $RPM_BUILD_ROOT |
---|
| 72 | |
---|
| 73 | %post |
---|
| 74 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 75 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 76 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
| 77 | fi |
---|
| 78 | |
---|
| 79 | %postun |
---|
| 80 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 81 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 82 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 83 | fi |
---|
[4616] | 84 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[521] | 85 | |
---|
[4616] | 86 | %posttrans |
---|
| 87 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 88 | |
---|
[521] | 89 | %files -f %{name}.lang |
---|
| 90 | %defattr(-,root,root) |
---|
| 91 | %doc AUTHORS COPYING README |
---|
[4616] | 92 | %{_bindir}/gnome-power-statistics |
---|
[7938] | 93 | %{_datadir}/appdata/gnome-power-statistics.appdata.xml |
---|
[4616] | 94 | %{_datadir}/applications/gnome-power-statistics.desktop |
---|
| 95 | %{_datadir}/glib-2.0/schemas/*.xml |
---|
| 96 | %{_datadir}/icons/hicolor/*/apps/* |
---|
[521] | 97 | %{_mandir}/man1/gnome-power-statistics.1.gz |
---|
| 98 | |
---|
| 99 | %changelog |
---|
[10716] | 100 | * Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.0-1 |
---|
| 101 | - new upstream release |
---|
| 102 | |
---|
[9791] | 103 | * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1 |
---|
| 104 | - new upstream release |
---|
| 105 | |
---|
[9536] | 106 | * Sun May 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1 |
---|
| 107 | - new upstream release |
---|
| 108 | |
---|
[9475] | 109 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
| 110 | - new upstream release |
---|
| 111 | |
---|
[9073] | 112 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1 |
---|
| 113 | - new upstream release |
---|
| 114 | |
---|
[8962] | 115 | * Sun Sep 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-2 |
---|
| 116 | - rebuild with upower-0.99.1 |
---|
| 117 | |
---|
[8450] | 118 | * Sun May 18 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1 |
---|
| 119 | - new upstream release |
---|
| 120 | |
---|
[8353] | 121 | * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
| 122 | - new upstream release |
---|
| 123 | |
---|
[8119] | 124 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2 |
---|
| 125 | - rebuild with VineSeed environment |
---|
| 126 | |
---|
[7938] | 127 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
| 128 | - new upstream release |
---|
| 129 | |
---|
[7681] | 130 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
| 131 | - new upstream release |
---|
| 132 | |
---|
[7633] | 133 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
| 134 | - new upstream release |
---|
| 135 | - remove BuildRequires: gmome-panel-devel |
---|
| 136 | |
---|
[6890] | 137 | * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
| 138 | - new upstream release |
---|
| 139 | - change BuildRequires: yelp-tools instead of gome-doc-utils |
---|
| 140 | |
---|
[6011] | 141 | * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1 |
---|
| 142 | - new upstream release |
---|
| 143 | |
---|
[5038] | 144 | * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
| 145 | - new upstream release |
---|
| 146 | |
---|
[4850] | 147 | * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
| 148 | - new upstream release |
---|
| 149 | |
---|
[4812] | 150 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
| 151 | - new upstream release |
---|
| 152 | |
---|
[4704] | 153 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1 |
---|
| 154 | - new upstream release |
---|
| 155 | |
---|
[4616] | 156 | * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1 |
---|
| 157 | - new upstream release |
---|
| 158 | - add BuildRequires: gtk3-devel, control-center-devel |
---|
| 159 | - change BuildRequires: libcanberra-gtk3-devel instead of licanberra-devel |
---|
| 160 | - change BuildRequires: unique3-devel instead of unique-devel |
---|
| 161 | - delete -extra sub package |
---|
| 162 | |
---|
[2118] | 163 | * Sat Oct 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-2 |
---|
| 164 | - add Source101(gnome-power-manager.gnome-2-32.ja.po) |
---|
| 165 | |
---|
[2041] | 166 | * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1 |
---|
| 167 | - new upstream release |
---|
| 168 | - change BuildRequires: gnome-panel-devel instead of gnome-panel |
---|
| 169 | - fix %files |
---|
| 170 | |
---|
[926] | 171 | * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
| 172 | - new upstream release |
---|
| 173 | |
---|
[805] | 174 | * Sat Apr 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
| 175 | - new upstream release |
---|
| 176 | - remove Patch1, Patch2, Patch3 |
---|
| 177 | - change BuildRequires: DeviceKit-power-devel -> upower-devel |
---|
| 178 | - change Requires: DeviceKit-power -> upower |
---|
| 179 | |
---|
[521] | 180 | * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.3-1 |
---|
| 181 | - new upstream release |
---|
[805] | 182 | - change BuildRequires: xmlto -> docbook-utils |
---|
| 183 | - remove BuildReuiqres: hal-devel |
---|
[521] | 184 | |
---|
[805] | 185 | * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.3-1 |
---|
| 186 | - new upstream release |
---|
| 187 | |
---|
[521] | 188 | * Tue Dec 29 2009 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1 |
---|
| 189 | - merge spec file from FC package |
---|
| 190 | - add Patch1, Patch2 and Patch3 from FC package |
---|
| 191 | - add Patch10 and Patch11 for Vine Linux |
---|
| 192 | - remove configure option --enable-policykit |
---|
| 193 | - add new package (extra) |
---|
| 194 | |
---|
| 195 | * Sun Apr 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.4-1 |
---|
| 196 | - new upstream release |
---|
| 197 | |
---|
[7633] | 198 | * Tue Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1 |
---|
[521] | 199 | - new upstream release |
---|
| 200 | |
---|
| 201 | * Thu Sep 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1 |
---|
| 202 | - new upstream release |
---|
| 203 | |
---|
| 204 | * Sun Apr 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5 |
---|
| 205 | - new upstream release |
---|
| 206 | |
---|
[7633] | 207 | * Sat Jan 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.2-0vl1 |
---|
[521] | 208 | - new upstream release |
---|
| 209 | |
---|
| 210 | * Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.2-0vl2 |
---|
| 211 | - rebuild with new environment/toolchain |
---|
| 212 | |
---|
| 213 | * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.2-0vl1 |
---|
| 214 | - new upstream release |
---|
| 215 | - drop Patch10 to enable suspend-to-ram. |
---|
| 216 | |
---|
| 217 | * Thu Sep 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.16.0-0vl1 |
---|
| 218 | - new upstream release |
---|
| 219 | |
---|
| 220 | * Tue Aug 08 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.91-0vl1 |
---|
| 221 | - new upstream release |
---|
| 222 | |
---|
| 223 | * Mon Jul 24 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.90-0vl1 |
---|
| 224 | - new upstream release |
---|
| 225 | |
---|
| 226 | * Wed Jun 21 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.3-0vl1 |
---|
| 227 | - new upstream release |
---|
| 228 | |
---|
| 229 | * Wed May 31 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.2-0vl1 |
---|
| 230 | - new upstream release |
---|
| 231 | |
---|
| 232 | * Wed Apr 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.1-0vl1 |
---|
| 233 | - new upstream release |
---|
| 234 | |
---|
| 235 | * Mon Apr 17 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.0-0vl1 |
---|
| 236 | - new upstream release |
---|
| 237 | |
---|
| 238 | * Mon Apr 10 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1 |
---|
| 239 | - new upstream release |
---|
| 240 | |
---|
| 241 | * Thu Mar 30 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl3 |
---|
| 242 | - add Patch10 to disable suspend-to-ram by default. |
---|
| 243 | |
---|
| 244 | * Thu Mar 30 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl2 |
---|
| 245 | - update ja.po from CVS head. |
---|
| 246 | |
---|
| 247 | * Thu Mar 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1 |
---|
| 248 | - new upstream release |
---|
| 249 | |
---|
| 250 | * Sun Mar 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.93-0vl1 |
---|
| 251 | - initial build for Vine Linux based on FC package |
---|
| 252 | |
---|
| 253 | * Mon Mar 6 2006 Ray Strode <rstrode@redhat.com> - 2.13.93-4 |
---|
| 254 | - fix the fix in -2 and -3 |
---|
| 255 | |
---|
| 256 | * Mon Mar 6 2006 Ray Strode <rstrode@redhat.com> - 2.13.93-3 |
---|
| 257 | - fix the fix in -2 |
---|
| 258 | |
---|
| 259 | * Mon Mar 6 2006 Ray Strode <rstrode@redhat.com> - 2.13.93-2 |
---|
| 260 | - fix icon in bubbles (bug 184192). |
---|
| 261 | |
---|
| 262 | * Fri Mar 3 2006 Ray Strode <rstrode@redhat.com> - 2.13.93-1 |
---|
| 263 | - Update to 2.13.93 |
---|
| 264 | - ignore d-bus timeout errors |
---|
| 265 | |
---|
| 266 | * Thu Mar 2 2006 Ray Strode <rstrode@redhat.com> - 2.13.92-3 |
---|
| 267 | - Add patch from Richard Hughes to potentially fix a |
---|
| 268 | crasher bug (bug 183127) |
---|
| 269 | |
---|
| 270 | * Tue Feb 28 2006 Karsten Hopp <karsten@redhat.de> 2.13.92-2 |
---|
| 271 | - Buildrequires: gnome-doc-utils |
---|
| 272 | |
---|
| 273 | * Sun Feb 26 2006 Ray Strode <rstrode@redhat.com> - 2.13.92-1 |
---|
| 274 | - Update to 2.13.92 |
---|
| 275 | |
---|
| 276 | * Tue Feb 21 2006 Matthias Clasen <mclasen@redhat.com> - 2.13.91-1 |
---|
| 277 | - Update to 2.13.91 |
---|
| 278 | - Drop upstreamed patch |
---|
| 279 | |
---|
| 280 | * Wed Feb 15 2006 Matthias Clasen <mclasen@redhat.com> - 2.13.90-1 |
---|
| 281 | - Update to 2.13.90 |
---|
| 282 | - Require dbus-x11 (#176656) |
---|
| 283 | |
---|
[7633] | 284 | * Mon Feb 13 2006 Ray Strode <rstrode@redhat.com> - 2.13.5.0.20060207-2 |
---|
[521] | 285 | - remove Hibernate and Suspend from menus as part of |
---|
| 286 | panel/g-p-m integration effort |
---|
| 287 | |
---|
| 288 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.13.5.0.20060207-1.1 |
---|
| 289 | - bump again for double-long bug on ppc(64) |
---|
| 290 | |
---|
| 291 | * Tue Feb 7 2006 Ray Strode <rstrode@redhat.com> - 2.13.5.0.20060207-1 |
---|
| 292 | - pull cvs snapshot from HEAD and drop the patches caillon |
---|
| 293 | just added |
---|
| 294 | |
---|
| 295 | * Tue Feb 7 2006 Christopher Aillon <caillon@redhat.com> - 2.13.5-3 |
---|
| 296 | - Install into the autostart directory |
---|
| 297 | - Don't suspend on lid close while on AC power |
---|
| 298 | |
---|
| 299 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.13.5-2.1 |
---|
| 300 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 301 | |
---|
| 302 | * Tue Jan 31 2006 Matthias Clasen <mclasen@redhat.com> - 2.13.5-2 |
---|
| 303 | - rebuild |
---|
| 304 | |
---|
| 305 | * Thu Jan 26 2006 Ray Strode <rstrode@redhat.com> - 2.13.5-1 |
---|
| 306 | - packaging tweaks |
---|
| 307 | |
---|
| 308 | * Thu Jan 26 2006 Christopher Aillon <caillon@redhat.com> 2.13.5-1 |
---|
| 309 | - Update to 2.13.5 |
---|
| 310 | |
---|
| 311 | * Tue Jan 24 2006 Christopher Aillon <caillon@redhat.com> - 0.3.4-2 |
---|
| 312 | - Left clicking on the applet should bring up the menu |
---|
| 313 | |
---|
| 314 | * Tue Jan 17 2006 Ray Strode <rstrode@redhat.com> - 0.3.4-1 |
---|
| 315 | - update to 0.3.4 |
---|
| 316 | - disable updating scrollkeeper database in buildroot |
---|
| 317 | (move to %%post) |
---|
| 318 | |
---|
| 319 | * Fri Jan 6 2006 Jeremy Katz <katzj@redhat.com> - 0.3.3-0.cvs.20060106 |
---|
| 320 | - update to a cvs snap so that it works with hal cvs snap |
---|
| 321 | - make sure we use libnotify |
---|
| 322 | |
---|
| 323 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> - 0.3.1-2.1 |
---|
| 324 | - rebuilt |
---|
| 325 | |
---|
| 326 | * Thu Dec 01 2005 John (J5) Palmieri <johnp@redhat.com> - 0.3.1-2 |
---|
| 327 | - rebuild for new dbus |
---|
| 328 | |
---|
| 329 | * Mon Nov 28 2005 Christopher Aillon <caillon@redhat.com> 0.3.1-1 |
---|
| 330 | - Update to 0.3.1 |
---|
| 331 | |
---|
| 332 | * Fri Nov 25 2005 Christopher Aillon <caillon@redhat.com> 0.3.0-1 |
---|
| 333 | - Update to 0.3.0 |
---|
| 334 | |
---|
| 335 | * Wed Oct 19 2005 Ray Strode <rstrode@redhat.com> 0.2.8-1 |
---|
| 336 | - update to 0.2.8 |
---|
| 337 | |
---|
[7633] | 338 | * Mon Oct 3 2005 Ray Strode <rstrode@redhat.com> 0.2.6-1 |
---|
[521] | 339 | - update to 0.2.6 |
---|
| 340 | |
---|
| 341 | * Wed Sep 28 2005 Ray Strode <rstrode@redhat.com> 0.2.4-1 |
---|
| 342 | - update to 0.2.4 |
---|
| 343 | |
---|
| 344 | * Fri Sep 02 2005 David Zeuthen <davidz@redhat.com> 0.2.3.1-1 |
---|
| 345 | - Initial import based on an SRPM from Richard Hughes |
---|
| 346 | |
---|