gnome-system-monitor-vl.spec 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. # Note that this is NOT a relocatable package
  2. %define glib2_version 2.26.0
  3. %define gconf_version 2.32.0
  4. %define libwnck_version 2.30.5
  5. %define libgtop2_version 2.28.2
  6. %define gtk2_version 2.22.0
  7. %define gnome_icon_theme_version 2.30.0
  8. %define glibmm_version 2.22.0
  9. %define gtkmm2_version 2.22.0
  10. %define libxml2_version 2.7.7
  11. %define librsvg2_version 2.32.0
  12. %define desktop_file_utils_version 0.10
  13. Summary: Gnome system monitor
  14. Summary(ja): GNOMEシステムモニタ
  15. Name: gnome-system-monitor
  16. Version: 2.28.2
  17. Release: 1%{?_dist_release}
  18. License: GPL
  19. Group: Applications/System
  20. Source: %{name}-%{version}.tar.bz2
  21. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  22. Requires(post,postun): scrollkeeper
  23. Requires(post,pre,preun): GConf2
  24. Requires: gnome-icon-theme >= %{gnome_icon_theme_version}
  25. BuildRequires: glib2-devel >= %{glib2_version}
  26. BuildRequires: GConf2-devel >= %{gconf_version}
  27. BuildRequires: libgtop2-devel >= %{libgtop2_version}
  28. BuildRequires: libwnck-devel >= %{libwnck_version}
  29. BuildRequires: gtk2-devel >= %{gtk2_version}
  30. BuildRequires: gnome-icon-theme >= %{gnome_icon_theme_version}
  31. BuildRequires: glibmm-devel >= %{glibmm_version}
  32. BuildRequires: gtkmm2-devel >= %{gtkmm2_version}
  33. BuildRequires: libxml2-devel >= %{libxml2_version}
  34. BuildRequires: librsvg2-devel >= %{librsvg2_version}
  35. BuildRequires: dbus-glib-devel
  36. BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
  37. BuildRequires: gnome-doc-utils >= 0.3.2
  38. Obsoletes: gtop
  39. %description
  40. gnome-system-monitor is a simple process and system monitor.
  41. %description -l ja
  42. GNOMEシステムモニタはプロセスとシステムのためのシンプルなモニタです.
  43. %prep
  44. %setup -q
  45. %build
  46. %configure --disable-scrollkeeper
  47. make %{?_smp_mflags}
  48. %install
  49. rm -rf $RPM_BUILD_ROOT
  50. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  51. %makeinstall
  52. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  53. desktop-file-install --vendor gnome --delete-original \
  54. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  55. $RPM_BUILD_ROOT%{_datadir}/applications/*
  56. rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
  57. %find_lang %{name} --with-gnome
  58. %clean
  59. rm -rf $RPM_BUILD_ROOT
  60. %post
  61. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  62. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gnome-system-monitor.schemas > /dev/null
  63. scrollkeeper-update > /dev/null 2>&1 || :
  64. %posttrans
  65. update-desktop-database -q &> /dev/null || :
  66. %pre
  67. if [ "$1" -gt 1 ]; then
  68. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  69. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gnome-system-monitor.schemas > /dev/null
  70. fi
  71. %preun
  72. if [ "$1" -eq 0 ]; then
  73. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  74. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gnome-system-monitor.schemas > /dev/null
  75. fi
  76. %postun
  77. scrollkeeper-update > /dev/null 2>&1 || :
  78. if [ $1 -eq 0 ] ; then
  79. update-desktop-database -q &> /dev/null || :
  80. fi
  81. %files -f %{name}.lang
  82. %defattr(-, root, root)
  83. %{_sysconfdir}/gconf/schemas/*
  84. %{_bindir}/gnome-system-monitor
  85. %{_datadir}/applications/*.desktop
  86. %{_datadir}/pixmaps/gnome-system-monitor
  87. %changelog
  88. * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
  89. - new upstream release
  90. * Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.1-1
  91. - new upstream release
  92. - add BuildRequires: gnome-doc-utils >= 0.3.2
  93. * Sun Nov 01 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
  94. - new upstream release
  95. - updated build dependency
  96. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  97. - new upstream release
  98. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  99. - new upstream release
  100. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0.1-1
  101. - new upstream release
  102. * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  103. - new upstream release
  104. * Fri Sep 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  105. - new upstream release
  106. * Tue Apr 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  107. - new upstream release
  108. * Sun Apr 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  109. - new upstream release
  110. - added %%pre and %%preun section
  111. - added BuildRequires: glibmm-devel, gtkmm2-devel
  112. * Sat Mar 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.2-0vl1
  113. - new upstream release
  114. * Mon Dec 24 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.1-0vl1
  115. - new upstream release
  116. * Sat Jun 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-0vl1
  117. - new upstream release
  118. - rebuilt with new toolchain
  119. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.1-0vl1
  120. - new upstream release
  121. * Mon Jun 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.4-0vl1
  122. - new upstream release
  123. * Sun Jun 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.3-0vl1
  124. - new upstream release
  125. * Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  126. - new upstream release
  127. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  128. - new upstream release
  129. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.92-0vl1
  130. - new upstream release
  131. * Tue Feb 14 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.2-0vl1
  132. - new upstream release
  133. * Sat Oct 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.1-0vl1
  134. - new upstream release
  135. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  136. - new upstream release
  137. * Sun Aug 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.91-0vl1
  138. - new upstream release
  139. * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  140. - new upstream version
  141. * Sun Feb 27 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-0vl1
  142. - new upstream release
  143. - added gnome-vfs2 Requires
  144. - run scrollkeeper-update at %post, %postun
  145. - added Japanese summary, description
  146. * Mon Nov 08 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.0-0vl1
  147. - new upstream release
  148. - s/Copyright/License/
  149. - rebuild with libgtop2-2.8.1, libwnck-2.8.1
  150. * Sun Jul 04 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl2
  151. - add Patch10 to support SMP system (from 2.6.0)
  152. - add Patch11 to build with gtk+-2.4
  153. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  154. - new upstream release
  155. * Thu Sep 04 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-0vl1
  156. - new upstream release
  157. * Sun May 18 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.0-0vl1
  158. - new upstream release
  159. * Thu Jan 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.4-0vl1
  160. - new upstream release
  161. * Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.3-0vl1
  162. - new upstream release
  163. - build for Vine Linux
  164. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  165. - automated rebuild
  166. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  167. - 2.0.0
  168. - add a bunch of build requires
  169. - put omf in file list
  170. - fix location of desktop file
  171. - use desktop-file-install
  172. * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
  173. - rebuild in different environment
  174. * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
  175. - build with new libs
  176. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  177. - automated rebuild
  178. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  179. - rebuild in different environment
  180. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  181. - obsolete gtop
  182. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  183. - 1.1.7
  184. * Fri May 3 2002 Havoc Pennington <hp@redhat.com>
  185. - rebuild with new libs
  186. * Thu Apr 18 2002 Havoc Pennington <hp@redhat.com>
  187. - 1.1.6
  188. * Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
  189. - Version 1.1.3 (should rename package to gnome-system-monitor as upstream)
  190. * Thu Jan 10 2002 Havoc Pennington <hp@pobox.com>
  191. - make spec "Red Hat style"
  192. - add GConf stuff
  193. - langify