gnome-power-manager-vl.spec 10 KB

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