mate-system-monitor-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. Summary: A system monitor for MATE
  2. Name: mate-system-monitor
  3. Version: 1.12.2
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.12/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: Applications/System
  8. URL: http://mate-desktop.org/
  9. Patch0: mate-system-monitor-1.6.0-glibmm.patch
  10. BuildRequires: mate-common
  11. BuildRequires: mate-doc-utils
  12. BuildRequires: mate-icon-theme
  13. BuildRequires: gtk2-devel
  14. BuildRequires: libxml2-devel
  15. BuildRequires: libgtop2-devel
  16. BuildRequires: libwnck-devel
  17. BuildRequires: librsvg2-devel
  18. BuildRequires: dbus-glib-devel
  19. BuildRequires: gtkmm2-devel
  20. BuildRequires: glibmm-devel
  21. BuildRequires: itstool
  22. BuildRequires: gtk-doc
  23. BuildRequires: autoconf
  24. BuildRequires: automake
  25. Requires(posttrans,postun): glib2
  26. Requires(post,postun): desktop-file-utils
  27. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  28. Vendor: Project Vine
  29. Distribution: Vine Linux
  30. Packager: Takemikaduchi
  31. %description
  32. View current processes and monitor system state
  33. %prep
  34. %setup -q
  35. %patch0 -p1
  36. %build
  37. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  38. %configure \
  39. --disable-static
  40. %{__make} %{?_smp_mflags}
  41. %install
  42. %{__rm} -rf ${RPM_BUILD_ROOT}
  43. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  44. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  45. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  46. %find_lang %{name}
  47. %clean
  48. %{__rm} -rf ${RPM_BUILD_ROOT}
  49. %post
  50. /sbin/ldconfig
  51. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  52. %postun
  53. /sbin/ldconfig
  54. if [ $1 -eq 0 ]; then
  55. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  56. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  57. fi
  58. %posttrans
  59. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  60. %files -f %{name}.lang
  61. %defattr(-,root,root,-)
  62. %doc COPYING ChangeLog NEWS README
  63. %{_bindir}/%{name}
  64. %{_datadir}/MateConf/gsettings/%{name}.convert
  65. %{_datadir}/appdata/%{name}.appdata.xml
  66. %{_datadir}/applications/%{name}.desktop
  67. %{_datadir}/glib-2.0/schemas/org.mate.system-monitor.enums.xml
  68. %{_datadir}/glib-2.0/schemas/org.mate.system-monitor.gschema.xml
  69. %{_datadir}/help/*
  70. %{_datadir}/pixmaps/%{name}
  71. %{_mandir}/man1/%{name}.1.gz
  72. %changelog
  73. * Tue Mar 29 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1
  74. - new upstream release
  75. * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  76. - new upstream release
  77. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  78. - new upstream release
  79. * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  80. - new upstream release
  81. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  82. - new upstream release
  83. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
  84. - rebuild with libgtop2-2.30.0
  85. * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  86. - new upstream release
  87. - change BuildRequires: libwnck-devel instead of libmatewnck-devel
  88. - add BuildRequires: itstool
  89. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  90. - rebuild with VineSeed environment
  91. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  92. - new upstream release
  93. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  94. - new upstream release
  95. - remove BuildRequires: mate-conf-devel
  96. - add Patch0 (mate-system-monitor-1.6.0-glibmm.patch)
  97. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  98. - new upstream release
  99. - remove Patch0 (mate-system-monitor-1.2.1-configure.patch)
  100. - change BuildRequires: libmatewnck-devel instead of libwnck-devel
  101. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  102. - new upstream release
  103. - add Patch0 (mate-system-monitor-1.2.1-configure.patch)
  104. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  105. - change category
  106. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  107. - initial build for Vine Linux