gnome-power-manager-vl.spec 10 KB

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