gnome-power-manager-vl.spec 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  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.12.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.12/%{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. %{_datadir}/icons/HighContrast/*/apps/*
  82. %{_mandir}/man1/gnome-power-statistics.1.gz
  83. %changelog
  84. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  85. - new upstream release
  86. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
  87. - rebuild with VineSeed environment
  88. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  89. - new upstream release
  90. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  91. - new upstream release
  92. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  93. - new upstream release
  94. - remove BuildRequires: gmome-panel-devel
  95. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  96. - new upstream release
  97. - change BuildRequires: yelp-tools instead of gome-doc-utils
  98. * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  99. - new upstream release
  100. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  101. - new upstream release
  102. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  103. - new upstream release
  104. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  105. - new upstream release
  106. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1
  107. - new upstream release
  108. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1
  109. - new upstream release
  110. - add BuildRequires: gtk3-devel, control-center-devel
  111. - change BuildRequires: libcanberra-gtk3-devel instead of licanberra-devel
  112. - change BuildRequires: unique3-devel instead of unique-devel
  113. - delete -extra sub package
  114. * Sat Oct 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-2
  115. - add Source101(gnome-power-manager.gnome-2-32.ja.po)
  116. * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  117. - new upstream release
  118. - change BuildRequires: gnome-panel-devel instead of gnome-panel
  119. - fix %files
  120. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  121. - new upstream release
  122. * Sat Apr 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  123. - new upstream release
  124. - remove Patch1, Patch2, Patch3
  125. - change BuildRequires: DeviceKit-power-devel -> upower-devel
  126. - change Requires: DeviceKit-power -> upower
  127. * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.3-1
  128. - new upstream release
  129. - change BuildRequires: xmlto -> docbook-utils
  130. - remove BuildReuiqres: hal-devel
  131. * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.3-1
  132. - new upstream release
  133. * Tue Dec 29 2009 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
  134. - merge spec file from FC package
  135. - add Patch1, Patch2 and Patch3 from FC package
  136. - add Patch10 and Patch11 for Vine Linux
  137. - remove configure option --enable-policykit
  138. - add new package (extra)
  139. * Sun Apr 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.4-1
  140. - new upstream release
  141. * Tue Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  142. - new upstream release
  143. * Thu Sep 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  144. - new upstream release
  145. * Sun Apr 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  146. - new upstream release
  147. * Sat Jan 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.2-0vl1
  148. - new upstream release
  149. * Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.2-0vl2
  150. - rebuild with new environment/toolchain
  151. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.2-0vl1
  152. - new upstream release
  153. - drop Patch10 to enable suspend-to-ram.
  154. * Thu Sep 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.16.0-0vl1
  155. - new upstream release
  156. * Tue Aug 08 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.91-0vl1
  157. - new upstream release
  158. * Mon Jul 24 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.90-0vl1
  159. - new upstream release
  160. * Wed Jun 21 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.3-0vl1
  161. - new upstream release
  162. * Wed May 31 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.2-0vl1
  163. - new upstream release
  164. * Wed Apr 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.1-0vl1
  165. - new upstream release
  166. * Mon Apr 17 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.0-0vl1
  167. - new upstream release
  168. * Mon Apr 10 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  169. - new upstream release
  170. * Thu Mar 30 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl3
  171. - add Patch10 to disable suspend-to-ram by default.
  172. * Thu Mar 30 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl2
  173. - update ja.po from CVS head.
  174. * Thu Mar 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  175. - new upstream release
  176. * Sun Mar 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.93-0vl1
  177. - initial build for Vine Linux based on FC package
  178. * Mon Mar 6 2006 Ray Strode <rstrode@redhat.com> - 2.13.93-4
  179. - fix the fix in -2 and -3
  180. * Mon Mar 6 2006 Ray Strode <rstrode@redhat.com> - 2.13.93-3
  181. - fix the fix in -2
  182. * Mon Mar 6 2006 Ray Strode <rstrode@redhat.com> - 2.13.93-2
  183. - fix icon in bubbles (bug 184192).
  184. * Fri Mar 3 2006 Ray Strode <rstrode@redhat.com> - 2.13.93-1
  185. - Update to 2.13.93
  186. - ignore d-bus timeout errors
  187. * Thu Mar 2 2006 Ray Strode <rstrode@redhat.com> - 2.13.92-3
  188. - Add patch from Richard Hughes to potentially fix a
  189. crasher bug (bug 183127)
  190. * Tue Feb 28 2006 Karsten Hopp <karsten@redhat.de> 2.13.92-2
  191. - Buildrequires: gnome-doc-utils
  192. * Sun Feb 26 2006 Ray Strode <rstrode@redhat.com> - 2.13.92-1
  193. - Update to 2.13.92
  194. * Tue Feb 21 2006 Matthias Clasen <mclasen@redhat.com> - 2.13.91-1
  195. - Update to 2.13.91
  196. - Drop upstreamed patch
  197. * Wed Feb 15 2006 Matthias Clasen <mclasen@redhat.com> - 2.13.90-1
  198. - Update to 2.13.90
  199. - Require dbus-x11 (#176656)
  200. * Mon Feb 13 2006 Ray Strode <rstrode@redhat.com> - 2.13.5.0.20060207-2
  201. - remove Hibernate and Suspend from menus as part of
  202. panel/g-p-m integration effort
  203. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.13.5.0.20060207-1.1
  204. - bump again for double-long bug on ppc(64)
  205. * Tue Feb 7 2006 Ray Strode <rstrode@redhat.com> - 2.13.5.0.20060207-1
  206. - pull cvs snapshot from HEAD and drop the patches caillon
  207. just added
  208. * Tue Feb 7 2006 Christopher Aillon <caillon@redhat.com> - 2.13.5-3
  209. - Install into the autostart directory
  210. - Don't suspend on lid close while on AC power
  211. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.13.5-2.1
  212. - rebuilt for new gcc4.1 snapshot and glibc changes
  213. * Tue Jan 31 2006 Matthias Clasen <mclasen@redhat.com> - 2.13.5-2
  214. - rebuild
  215. * Thu Jan 26 2006 Ray Strode <rstrode@redhat.com> - 2.13.5-1
  216. - packaging tweaks
  217. * Thu Jan 26 2006 Christopher Aillon <caillon@redhat.com> 2.13.5-1
  218. - Update to 2.13.5
  219. * Tue Jan 24 2006 Christopher Aillon <caillon@redhat.com> - 0.3.4-2
  220. - Left clicking on the applet should bring up the menu
  221. * Tue Jan 17 2006 Ray Strode <rstrode@redhat.com> - 0.3.4-1
  222. - update to 0.3.4
  223. - disable updating scrollkeeper database in buildroot
  224. (move to %%post)
  225. * Fri Jan 6 2006 Jeremy Katz <katzj@redhat.com> - 0.3.3-0.cvs.20060106
  226. - update to a cvs snap so that it works with hal cvs snap
  227. - make sure we use libnotify
  228. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> - 0.3.1-2.1
  229. - rebuilt
  230. * Thu Dec 01 2005 John (J5) Palmieri <johnp@redhat.com> - 0.3.1-2
  231. - rebuild for new dbus
  232. * Mon Nov 28 2005 Christopher Aillon <caillon@redhat.com> 0.3.1-1
  233. - Update to 0.3.1
  234. * Fri Nov 25 2005 Christopher Aillon <caillon@redhat.com> 0.3.0-1
  235. - Update to 0.3.0
  236. * Wed Oct 19 2005 Ray Strode <rstrode@redhat.com> 0.2.8-1
  237. - update to 0.2.8
  238. * Mon Oct 3 2005 Ray Strode <rstrode@redhat.com> 0.2.6-1
  239. - update to 0.2.6
  240. * Wed Sep 28 2005 Ray Strode <rstrode@redhat.com> 0.2.4-1
  241. - update to 0.2.4
  242. * Fri Sep 02 2005 David Zeuthen <davidz@redhat.com> 0.2.3.1-1
  243. - Initial import based on an SRPM from Richard Hughes