1 | Summary: A system monitor for MATE |
---|
2 | Name: mate-system-monitor |
---|
3 | Version: 1.2.1 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | Source0: %{name}-%{version}.tar.xz |
---|
6 | License: GPLv2 |
---|
7 | Group: Applications/System |
---|
8 | URL: https://matsusoft.com.ar/projects/mate/ |
---|
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: libwnck-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 | Patch0: mate-system-monitor-1.2.1-configure.patch |
---|
32 | |
---|
33 | Vendor: Project Vine |
---|
34 | Distribution: Vine Linux |
---|
35 | Packager: Takemikaduchi |
---|
36 | |
---|
37 | |
---|
38 | %description |
---|
39 | View current processes and monitor system state |
---|
40 | |
---|
41 | |
---|
42 | %prep |
---|
43 | %setup -q |
---|
44 | %patch0 -p1 |
---|
45 | |
---|
46 | |
---|
47 | %build |
---|
48 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
49 | %configure \ |
---|
50 | --disable-static \ |
---|
51 | --disable-scrollkeeper |
---|
52 | |
---|
53 | %{__make} %{?_smp_mflags} |
---|
54 | |
---|
55 | |
---|
56 | %install |
---|
57 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
58 | |
---|
59 | export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
60 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
61 | unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
62 | |
---|
63 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
64 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
65 | |
---|
66 | %find_lang %{name} |
---|
67 | |
---|
68 | |
---|
69 | %clean |
---|
70 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
71 | |
---|
72 | %post |
---|
73 | /sbin/ldconfig |
---|
74 | |
---|
75 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
76 | |
---|
77 | SCHEMAS=" \ |
---|
78 | mate-system-monitor.schemas" |
---|
79 | for S in $SCHEMAS; do |
---|
80 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
81 | | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||: |
---|
82 | |
---|
83 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
84 | |
---|
85 | %pre |
---|
86 | if [ "$1" -gt 1 ]; then |
---|
87 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
88 | |
---|
89 | SCHEMAS=" \ |
---|
90 | mate-system-monitor.schemas" |
---|
91 | for S in $SCHEMAS; do |
---|
92 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
93 | | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||: |
---|
94 | fi |
---|
95 | |
---|
96 | %preun |
---|
97 | if [ "$1" -eq 0 ]; then |
---|
98 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
99 | |
---|
100 | SCHEMAS=" \ |
---|
101 | mate-system-monitor.schemas" |
---|
102 | for S in $SCHEMAS; do |
---|
103 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
104 | | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||: |
---|
105 | fi |
---|
106 | |
---|
107 | %postun |
---|
108 | /sbin/ldconfig |
---|
109 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
110 | |
---|
111 | |
---|
112 | %files -f %{name}.lang |
---|
113 | %defattr(-,root,root,-) |
---|
114 | %doc COPYING ChangeLog NEWS README |
---|
115 | %{_sysconfdir}/mateconf/schemas/mate-system-monitor.schemas |
---|
116 | %{_bindir}/mate-system-monitor |
---|
117 | %{_datadir}/applications/mate-system-monitor.desktop |
---|
118 | %{_datadir}/mate/help/mate-system-monitor |
---|
119 | %{_datadir}/omf/mate-system-monitor |
---|
120 | %{_datadir}/pixmaps/mate-system-monitor |
---|
121 | |
---|
122 | |
---|
123 | %changelog |
---|
124 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1 |
---|
125 | - new upstream release |
---|
126 | - add Patch0 (mate-system-monitor-1.2.1-configure.patch) |
---|
127 | |
---|
128 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
129 | - change category |
---|
130 | |
---|
131 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
132 | - initial build for Vine Linux |
---|
133 | |
---|