gnome-system-monitor-vl.spec 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. # Note that this is NOT a relocatable package
  2. %define glib2_version 2.34.0
  3. %define libwnck3_version 3.0.0
  4. %define libgtop2_version 2.28.2
  5. %define gtk3_version 3.6.0
  6. %define gnome_icon_theme_version 3.4.0
  7. %define glibmm_version 2.22.0
  8. %define gtkmm3_version 3.0.0
  9. %define libxml2_version 2.7.7
  10. %define librsvg2_version 2.32.0
  11. %define desktop_file_utils_version 0.10
  12. Summary: Gnome system monitor
  13. Summary(ja): GNOMEシステムモニタ
  14. Name: gnome-system-monitor
  15. Version: 3.6.1
  16. Release: 1%{?_dist_release}
  17. License: GPL
  18. Group: Applications/System
  19. Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.6/%{name}-%{version}.tar.xz
  20. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  21. Requires(post,postun): scrollkeeper
  22. Requires: gnome-icon-theme >= %{gnome_icon_theme_version}
  23. BuildRequires: glib2-devel >= %{glib2_version}
  24. BuildRequires: libgtop2-devel >= %{libgtop2_version}
  25. BuildRequires: libwnck3-devel >= %{libwnck3_version}
  26. BuildRequires: gtk3-devel >= %{gtk3_version}
  27. BuildRequires: gnome-icon-theme >= %{gnome_icon_theme_version}
  28. BuildRequires: glibmm-devel >= %{glibmm_version}
  29. BuildRequires: gtkmm3-devel >= %{gtkmm3_version}
  30. BuildRequires: libxml2-devel >= %{libxml2_version}
  31. BuildRequires: librsvg2-devel >= %{librsvg2_version}
  32. BuildRequires: dbus-glib-devel
  33. BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
  34. BuildRequires: yelp-tools
  35. Obsoletes: gtop
  36. Vendor: Project Vine
  37. Distribution: Vine Linux
  38. Packager: Takemikaduchi
  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. make install DESTDIR=$RPM_BUILD_ROOT
  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. scrollkeeper-update > /dev/null 2>&1 || :
  62. %posttrans
  63. update-desktop-database -q &> /dev/null || :
  64. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  65. %postun
  66. scrollkeeper-update > /dev/null 2>&1 || :
  67. if [ $1 -eq 0 ] ; then
  68. update-desktop-database -q &> /dev/null || :
  69. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  70. fi
  71. %files -f %{name}.lang
  72. %defattr(-, root, root)
  73. %{_bindir}/gnome-system-monitor
  74. %{_datadir}/applications/*.desktop
  75. %{_datadir}/glib-2.0/schemas/*.xml
  76. %{_datadir}/%{name}/*.ui
  77. %{_datadir}/pixmaps/gnome-system-monitor
  78. %changelog
  79. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  80. - new upstream release
  81. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  82. - new upstream release
  83. - change BuildRequires: yelp-tools instead of gnome-doc-utils
  84. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  85. - new upstream release
  86. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  87. - new upstream release
  88. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  89. - new upstream release
  90. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1
  91. - new upstream release
  92. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1
  93. - new upstream release
  94. - change BuildRequires: gtk3-devel instead of gtk2-devel
  95. - change BuildRequires: libwnck3-devel instead of libwnck-devel
  96. - change BuildRequires: gtkmm3-devel instead of gtkmm2-devel
  97. * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
  98. - new upstream release
  99. * Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.1-1
  100. - new upstream release
  101. - add BuildRequires: gnome-doc-utils >= 0.3.2
  102. * Sun Nov 01 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
  103. - new upstream release
  104. - updated build dependency
  105. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  106. - new upstream release
  107. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  108. - new upstream release
  109. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0.1-1
  110. - new upstream release
  111. * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  112. - new upstream release
  113. * Fri Sep 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  114. - new upstream release
  115. * Tue Apr 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  116. - new upstream release
  117. * Sun Apr 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  118. - new upstream release
  119. - added %%pre and %%preun section
  120. - added BuildRequires: glibmm-devel, gtkmm2-devel
  121. * Sat Mar 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.2-0vl1
  122. - new upstream release
  123. * Mon Dec 24 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.1-0vl1
  124. - new upstream release
  125. * Sat Jun 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-0vl1
  126. - new upstream release
  127. - rebuilt with new toolchain
  128. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.1-0vl1
  129. - new upstream release
  130. * Mon Jun 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.4-0vl1
  131. - new upstream release
  132. * Sun Jun 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.3-0vl1
  133. - new upstream release
  134. * Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  135. - new upstream release
  136. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  137. - new upstream release
  138. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.92-0vl1
  139. - new upstream release
  140. * Tue Feb 14 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.2-0vl1
  141. - new upstream release
  142. * Sat Oct 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.1-0vl1
  143. - new upstream release
  144. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  145. - new upstream release
  146. * Sun Aug 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.91-0vl1
  147. - new upstream release
  148. * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  149. - new upstream version
  150. * Sun Feb 27 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-0vl1
  151. - new upstream release
  152. - added gnome-vfs2 Requires
  153. - run scrollkeeper-update at %post, %postun
  154. - added Japanese summary, description
  155. * Mon Nov 08 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.0-0vl1
  156. - new upstream release
  157. - s/Copyright/License/
  158. - rebuild with libgtop2-2.8.1, libwnck-2.8.1
  159. * Sun Jul 04 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl2
  160. - add Patch10 to support SMP system (from 2.6.0)
  161. - add Patch11 to build with gtk+-2.4
  162. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  163. - new upstream release
  164. * Thu Sep 04 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-0vl1
  165. - new upstream release
  166. * Sun May 18 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.0-0vl1
  167. - new upstream release
  168. * Thu Jan 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.4-0vl1
  169. - new upstream release
  170. * Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.3-0vl1
  171. - new upstream release
  172. - build for Vine Linux
  173. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  174. - automated rebuild
  175. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  176. - 2.0.0
  177. - add a bunch of build requires
  178. - put omf in file list
  179. - fix location of desktop file
  180. - use desktop-file-install
  181. * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
  182. - rebuild in different environment
  183. * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
  184. - build with new libs
  185. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  186. - automated rebuild
  187. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  188. - rebuild in different environment
  189. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  190. - obsolete gtop
  191. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  192. - 1.1.7
  193. * Fri May 3 2002 Havoc Pennington <hp@redhat.com>
  194. - rebuild with new libs
  195. * Thu Apr 18 2002 Havoc Pennington <hp@redhat.com>
  196. - 1.1.6
  197. * Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
  198. - Version 1.1.3 (should rename package to gnome-system-monitor as upstream)
  199. * Thu Jan 10 2002 Havoc Pennington <hp@pobox.com>
  200. - make spec "Red Hat style"
  201. - add GConf stuff
  202. - langify