mate-system-monitor-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. Summary: A system monitor for MATE
  2. Name: mate-system-monitor
  3. Version: 1.4.0
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: Applications/System
  8. URL: http://mate-desktop.org/
  9. BuildRequires: mate-common
  10. BuildRequires: mate-doc-utils
  11. BuildRequires: mate-conf-devel
  12. BuildRequires: mate-icon-theme
  13. BuildRequires: gtk2-devel
  14. BuildRequires: libxml2-devel
  15. BuildRequires: libgtop2-devel
  16. BuildRequires: libmatewnck-devel
  17. BuildRequires: librsvg2-devel
  18. BuildRequires: dbus-glib-devel
  19. BuildRequires: gtkmm2-devel
  20. BuildRequires: glibmm-devel
  21. BuildRequires: gtk-doc
  22. BuildRequires: autoconf
  23. BuildRequires: automake
  24. Requires(post,pre,preun): mate-conf
  25. Requires(post,postun): desktop-file-utils
  26. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  27. Vendor: Project Vine
  28. Distribution: Vine Linux
  29. Packager: Takemikaduchi
  30. %description
  31. View current processes and monitor system state
  32. %prep
  33. %setup -q
  34. %build
  35. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  36. %configure \
  37. --disable-static \
  38. --disable-scrollkeeper
  39. %{__make} %{?_smp_mflags}
  40. %install
  41. %{__rm} -rf ${RPM_BUILD_ROOT}
  42. export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  43. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  44. unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  45. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  46. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  47. %find_lang %{name}
  48. %clean
  49. %{__rm} -rf ${RPM_BUILD_ROOT}
  50. %post
  51. /sbin/ldconfig
  52. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  53. SCHEMAS=" \
  54. mate-system-monitor.schemas"
  55. for S in $SCHEMAS; do
  56. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  57. | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||:
  58. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  59. %pre
  60. if [ "$1" -gt 1 ]; then
  61. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  62. SCHEMAS=" \
  63. mate-system-monitor.schemas"
  64. for S in $SCHEMAS; do
  65. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  66. | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
  67. fi
  68. %preun
  69. if [ "$1" -eq 0 ]; then
  70. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  71. SCHEMAS=" \
  72. mate-system-monitor.schemas"
  73. for S in $SCHEMAS; do
  74. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  75. | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
  76. fi
  77. %postun
  78. /sbin/ldconfig
  79. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  80. %files -f %{name}.lang
  81. %defattr(-,root,root,-)
  82. %doc COPYING ChangeLog NEWS README
  83. %{_sysconfdir}/mateconf/schemas/mate-system-monitor.schemas
  84. %{_bindir}/mate-system-monitor
  85. %{_datadir}/applications/mate-system-monitor.desktop
  86. %{_datadir}/mate/help/mate-system-monitor
  87. %{_datadir}/omf/mate-system-monitor
  88. %{_datadir}/pixmaps/mate-system-monitor
  89. %changelog
  90. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  91. - new upstream release
  92. - remove Patch0 (mate-system-monitor-1.2.1-configure.patch)
  93. - change BuildRequires: libmatewnck-devel instead of libwnck-devel
  94. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  95. - new upstream release
  96. - add Patch0 (mate-system-monitor-1.2.1-configure.patch)
  97. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  98. - change category
  99. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  100. - initial build for Vine Linux