gnome-system-monitor-vl.spec 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. # Note that this is NOT a relocatable package
  2. %define glib2_version 2.16.0
  3. %define gconf_version 2.28.0
  4. %define libwnck_version 2.28.0
  5. %define libgtop2_version 2.28.0
  6. %define gtk2_version 2.16.0
  7. %define gnome_icon_theme_version 2.28.0
  8. %define glibmm_version 2.20.0
  9. %define gtkmm2_version 2.16.0
  10. %define libxml2_version 2.6.32
  11. %define librsvg2_version 2.12.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.1
  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. * Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.1-1
  89. - new upstream release
  90. - add BuildRequires: gnome-doc-utils >= 0.3.2
  91. * Sun Nov 01 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
  92. - new upstream release
  93. - updated build dependency
  94. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  95. - new upstream release
  96. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  97. - new upstream release
  98. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0.1-1
  99. - new upstream release
  100. * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  101. - new upstream release
  102. * Fri Sep 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  103. - new upstream release
  104. * Tue Apr 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  105. - new upstream release
  106. * Sun Apr 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  107. - new upstream release
  108. - added %%pre and %%preun section
  109. - added BuildRequires: glibmm-devel, gtkmm2-devel
  110. * Sat Mar 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.2-0vl1
  111. - new upstream release
  112. * Mon Dec 24 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.1-0vl1
  113. - new upstream release
  114. * Sat Jun 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-0vl1
  115. - new upstream release
  116. - rebuilt with new toolchain
  117. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.1-0vl1
  118. - new upstream release
  119. * Mon Jun 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.4-0vl1
  120. - new upstream release
  121. * Sun Jun 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.3-0vl1
  122. - new upstream release
  123. * Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  124. - new upstream release
  125. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  126. - new upstream release
  127. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.92-0vl1
  128. - new upstream release
  129. * Tue Feb 14 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.2-0vl1
  130. - new upstream release
  131. * Sat Oct 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.1-0vl1
  132. - new upstream release
  133. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  134. - new upstream release
  135. * Sun Aug 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.91-0vl1
  136. - new upstream release
  137. * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  138. - new upstream version
  139. * Sun Feb 27 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-0vl1
  140. - new upstream release
  141. - added gnome-vfs2 Requires
  142. - run scrollkeeper-update at %post, %postun
  143. - added Japanese summary, description
  144. * Mon Nov 08 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.0-0vl1
  145. - new upstream release
  146. - s/Copyright/License/
  147. - rebuild with libgtop2-2.8.1, libwnck-2.8.1
  148. * Sun Jul 04 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl2
  149. - add Patch10 to support SMP system (from 2.6.0)
  150. - add Patch11 to build with gtk+-2.4
  151. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  152. - new upstream release
  153. * Thu Sep 04 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-0vl1
  154. - new upstream release
  155. * Sun May 18 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.0-0vl1
  156. - new upstream release
  157. * Thu Jan 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.4-0vl1
  158. - new upstream release
  159. * Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.3-0vl1
  160. - new upstream release
  161. - build for Vine Linux
  162. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  163. - automated rebuild
  164. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  165. - 2.0.0
  166. - add a bunch of build requires
  167. - put omf in file list
  168. - fix location of desktop file
  169. - use desktop-file-install
  170. * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
  171. - rebuild in different environment
  172. * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
  173. - build with new libs
  174. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  175. - automated rebuild
  176. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  177. - rebuild in different environment
  178. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  179. - obsolete gtop
  180. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  181. - 1.1.7
  182. * Fri May 3 2002 Havoc Pennington <hp@redhat.com>
  183. - rebuild with new libs
  184. * Thu Apr 18 2002 Havoc Pennington <hp@redhat.com>
  185. - 1.1.6
  186. * Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
  187. - Version 1.1.3 (should rename package to gnome-system-monitor as upstream)
  188. * Thu Jan 10 2002 Havoc Pennington <hp@pobox.com>
  189. - make spec "Red Hat style"
  190. - add GConf stuff
  191. - langify