gnome-power-manager-vl.spec 10 KB

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