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