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