gnome-power-manager-vl.spec 9.5 KB

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