[11013] | 1 | %define major_ver 1.18 |
---|
[11425] | 2 | %define ver %{major_ver}.1 |
---|
[11013] | 3 | %define rel 1 |
---|
| 4 | |
---|
[5311] | 5 | Summary: A system monitor for MATE |
---|
| 6 | Name: mate-system-monitor |
---|
[11013] | 7 | Version: %{ver} |
---|
| 8 | Release: %{rel}%{?_dist_release} |
---|
| 9 | Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz |
---|
[5311] | 10 | License: GPLv2 |
---|
[5316] | 11 | Group: Applications/System |
---|
[6679] | 12 | URL: http://mate-desktop.org/ |
---|
[5311] | 13 | |
---|
[7697] | 14 | Patch0: mate-system-monitor-1.6.0-glibmm.patch |
---|
| 15 | |
---|
[5311] | 16 | BuildRequires: mate-common |
---|
| 17 | BuildRequires: mate-icon-theme |
---|
[10899] | 18 | BuildRequires: gtk3-devel |
---|
[5311] | 19 | BuildRequires: libxml2-devel |
---|
| 20 | BuildRequires: libgtop2-devel |
---|
[10899] | 21 | BuildRequires: libwnck3-devel |
---|
[5311] | 22 | BuildRequires: librsvg2-devel |
---|
[10899] | 23 | #BuildRequires: dbus-glib-devel |
---|
| 24 | BuildRequires: gtkmm3-devel |
---|
[5311] | 25 | BuildRequires: glibmm-devel |
---|
[8359] | 26 | BuildRequires: itstool |
---|
[5311] | 27 | BuildRequires: gtk-doc |
---|
| 28 | BuildRequires: autoconf |
---|
| 29 | BuildRequires: automake |
---|
| 30 | |
---|
[7697] | 31 | Requires(posttrans,postun): glib2 |
---|
[5311] | 32 | Requires(post,postun): desktop-file-utils |
---|
| 33 | |
---|
| 34 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 35 | |
---|
| 36 | Vendor: Project Vine |
---|
| 37 | Distribution: Vine Linux |
---|
[10899] | 38 | Packager: Takemikaduchi, iwaim |
---|
[5311] | 39 | |
---|
| 40 | |
---|
| 41 | %description |
---|
| 42 | View current processes and monitor system state |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | %prep |
---|
| 46 | %setup -q |
---|
[7697] | 47 | %patch0 -p1 |
---|
[5311] | 48 | |
---|
| 49 | %build |
---|
| 50 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 51 | %configure \ |
---|
[7697] | 52 | --disable-static |
---|
[5311] | 53 | |
---|
| 54 | %{__make} %{?_smp_mflags} |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %install |
---|
| 58 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 59 | |
---|
| 60 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 61 | |
---|
| 62 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 63 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 64 | |
---|
| 65 | %find_lang %{name} |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %clean |
---|
| 69 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 70 | |
---|
| 71 | %post |
---|
| 72 | /sbin/ldconfig |
---|
| 73 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 74 | |
---|
| 75 | %postun |
---|
| 76 | /sbin/ldconfig |
---|
[7697] | 77 | if [ $1 -eq 0 ]; then |
---|
| 78 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 79 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 80 | fi |
---|
[5311] | 81 | |
---|
[7697] | 82 | %posttrans |
---|
| 83 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[5311] | 84 | |
---|
[7697] | 85 | |
---|
[5311] | 86 | %files -f %{name}.lang |
---|
| 87 | %defattr(-,root,root,-) |
---|
| 88 | %doc COPYING ChangeLog NEWS README |
---|
[9552] | 89 | %{_bindir}/%{name} |
---|
[11013] | 90 | %dir %{_libexecdir}/mate-system-monitor |
---|
| 91 | %{_libexecdir}/mate-system-monitor/msm-kill |
---|
| 92 | %{_libexecdir}/mate-system-monitor/msm-renice |
---|
| 93 | %{_datadir}/polkit-1/actions/org.mate.mate-system-monitor.policy |
---|
[9552] | 94 | %{_datadir}/appdata/%{name}.appdata.xml |
---|
| 95 | %{_datadir}/applications/%{name}.desktop |
---|
[7697] | 96 | %{_datadir}/glib-2.0/schemas/org.mate.system-monitor.enums.xml |
---|
| 97 | %{_datadir}/glib-2.0/schemas/org.mate.system-monitor.gschema.xml |
---|
[8359] | 98 | %{_datadir}/help/* |
---|
[9552] | 99 | %{_datadir}/pixmaps/%{name} |
---|
| 100 | %{_mandir}/man1/%{name}.1.gz |
---|
[5311] | 101 | |
---|
| 102 | |
---|
| 103 | %changelog |
---|
[11425] | 104 | * Mon Jan 22 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1 |
---|
| 105 | - update to 1.18.1 |
---|
| 106 | |
---|
[11013] | 107 | * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1 |
---|
| 108 | - update to 1.18.0 |
---|
| 109 | - add msm-kill and msm-renice |
---|
| 110 | - add polkit policy |
---|
| 111 | |
---|
[10899] | 112 | * Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1 |
---|
| 113 | - new upstream release |
---|
| 114 | - update GTK+ version |
---|
| 115 | - BR: gtk3-devel etc. |
---|
| 116 | - update Package |
---|
| 117 | |
---|
[10527] | 118 | * Mon Jul 4 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.12.2-2 |
---|
| 119 | - rebuilt with new toolchain. |
---|
| 120 | |
---|
[10104] | 121 | * Tue Mar 29 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1 |
---|
| 122 | - new upstream release |
---|
| 123 | |
---|
[9842] | 124 | * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
| 125 | - new upstream release |
---|
| 126 | |
---|
[9797] | 127 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
| 128 | - new upstream release |
---|
| 129 | |
---|
[9667] | 130 | * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1 |
---|
| 131 | - new upstream release |
---|
| 132 | |
---|
[9552] | 133 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
| 134 | - new upstream release |
---|
| 135 | |
---|
[8447] | 136 | * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2 |
---|
| 137 | - rebuild with libgtop2-2.30.0 |
---|
| 138 | |
---|
[8359] | 139 | * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 140 | - new upstream release |
---|
| 141 | - change BuildRequires: libwnck-devel instead of libmatewnck-devel |
---|
| 142 | - add BuildRequires: itstool |
---|
| 143 | |
---|
[8068] | 144 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
| 145 | - rebuild with VineSeed environment |
---|
| 146 | |
---|
[7821] | 147 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 148 | - new upstream release |
---|
| 149 | |
---|
[7697] | 150 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 151 | - new upstream release |
---|
| 152 | - remove BuildRequires: mate-conf-devel |
---|
| 153 | - add Patch0 (mate-system-monitor-1.6.0-glibmm.patch) |
---|
| 154 | |
---|
[6679] | 155 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 156 | - new upstream release |
---|
| 157 | - remove Patch0 (mate-system-monitor-1.2.1-configure.patch) |
---|
| 158 | - change BuildRequires: libmatewnck-devel instead of libwnck-devel |
---|
| 159 | |
---|
[6172] | 160 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1 |
---|
| 161 | - new upstream release |
---|
| 162 | - add Patch0 (mate-system-monitor-1.2.1-configure.patch) |
---|
| 163 | |
---|
[5316] | 164 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 165 | - change category |
---|
| 166 | |
---|
[5311] | 167 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 168 | - initial build for Vine Linux |
---|
| 169 | |
---|