9397
|
1 |
#
|
|
2 |
# spec file for package gnome-system-monitor
|
|
3 |
#
|
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
15477
|
8 |
# Owner: niall
|
9397
|
9 |
#
|
|
10 |
%include l10n.inc
|
|
11 |
Name: gnome-system-monitor
|
14562
|
12 |
License: GPL v2
|
9397
|
13 |
Group: System/GUI/GNOME
|
18730
|
14 |
Version: 2.26.2
|
15641
|
15 |
Release: 2
|
9397
|
16 |
Distribution: Java Desktop System
|
|
17 |
Vendor: Sun Microsystems, Inc.
|
|
18 |
Summary: Simple process monitor
|
15398
|
19 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.26/%{name}-%{version}.tar.bz2
|
9400
|
20 |
Source1: %{name}-po-sun-%{po_sun_version}.tar.bz2
|
12031
|
21 |
%if %build_l10n
|
|
22 |
Source2: l10n-configure.sh
|
|
23 |
%endif
|
9937
|
24 |
# The G_GNUC_INTERNAL portions of the 01-solaris patch are in bugzilla 373041.
|
15477
|
25 |
# date:2006-11-15 owner:niall type:feature
|
9397
|
26 |
#This patch make libgtop run at Solaris
|
|
27 |
Patch1: gnome-system-monitor-01-solaris.diff
|
14917
|
28 |
# date:2006-11-15 owner:calumb type:bug bugster:6489289 bugzilla:375669
|
9397
|
29 |
Patch2: gnome-system-monitor-02-launch-menu-item.diff
|
15477
|
30 |
# date:2008-11-27 owner:niall type:bug bugster:6777351
|
14670
|
31 |
Patch3: gnome-system-monitor-03-zfs.diff
|
9397
|
32 |
URL: http://www.gnome.org
|
|
33 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
34 |
Autoreqprov: on
|
|
35 |
Prereq: GConf
|
|
36 |
|
|
37 |
%define libgnomeui_version 2.6.0
|
|
38 |
%define libwnck_version 2.6.0
|
|
39 |
%define libgtop_version 2.9.5
|
|
40 |
%define scrollkeeper_version 0.3.14
|
|
41 |
|
|
42 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
|
|
43 |
BuildRequires: libwnck-devel >= %{libwnck_version}
|
|
44 |
BuildRequires: libgtop-devel >= %{libgtop_version}
|
|
45 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version}
|
|
46 |
Requires: libgnomeui >= %{libgnomeui_version}
|
|
47 |
Requires: libwnck >= %{libwnck_version}
|
|
48 |
Requires: libgtop >= %{libgtop_version}
|
|
49 |
|
|
50 |
|
|
51 |
%description
|
|
52 |
Gnome-system-monitor is a simple process and system monitor for Gnome.
|
|
53 |
|
|
54 |
%prep
|
|
55 |
%setup -q
|
|
56 |
%if %build_l10n
|
9400
|
57 |
bzcat %SOURCE1 | tar xf -
|
9397
|
58 |
cd po-sun; make; cd ..
|
|
59 |
%endif
|
|
60 |
%patch1 -p1
|
|
61 |
%patch2 -p1
|
14670
|
62 |
%patch3 -p1
|
9397
|
63 |
|
|
64 |
%build
|
|
65 |
%ifos linux
|
|
66 |
if [ -x /usr/bin/getconf ]; then
|
|
67 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
68 |
fi
|
|
69 |
%else
|
|
70 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
71 |
%endif
|
|
72 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
73 |
CPUS=1
|
|
74 |
fi
|
|
75 |
|
|
76 |
gnome-doc-common
|
|
77 |
libtoolize --force
|
10407
|
78 |
intltoolize --force --copy --automake
|
12031
|
79 |
|
|
80 |
%if %build_l10n
|
|
81 |
bash -x %SOURCE2 --enable-copyright
|
|
82 |
%endif
|
|
83 |
|
9397
|
84 |
aclocal $ACLOCAL_FLAGS
|
|
85 |
automake -a -c -f
|
|
86 |
autoconf
|
|
87 |
|
|
88 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
89 |
./configure --prefix=%{_prefix} \
|
11699
|
90 |
--disable-scrollkeeper \
|
9397
|
91 |
--sysconfdir=%{_sysconfdir}
|
|
92 |
# Create a missing file. Fixed in cvs.
|
|
93 |
touch pixmaps/side.png
|
|
94 |
make -j $CPUS
|
|
95 |
|
|
96 |
%install
|
|
97 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
98 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
99 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
100 |
|
|
101 |
#Copy zh_HK from zh_TW
|
|
102 |
#Fixes bug 4930405
|
|
103 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
|
|
104 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
|
|
105 |
|
|
106 |
|
|
107 |
# Delete scrollkeeper files - conflict with eog files!
|
|
108 |
rm -rf $RPM_BUILD_ROOT%{_prefix}/var/scrollkeeper
|
|
109 |
|
|
110 |
%clean
|
|
111 |
rm -rf $RPM_BUILD_ROOT
|
|
112 |
|
|
113 |
%post
|
|
114 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
115 |
SCHEMAS="gnome-system-monitor.schemas"
|
|
116 |
for S in $SCHEMAS; do
|
|
117 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
|
|
118 |
done
|
|
119 |
|
|
120 |
%files
|
|
121 |
%defattr(-, root, root)
|
|
122 |
%doc AUTHORS COPYING ChangeLog HACKING NEWS README TODO
|
|
123 |
%{_bindir}/gnome-system-monitor
|
|
124 |
%{_datadir}/applications/gnome-system-monitor.desktop
|
|
125 |
%{_datadir}/locale/*/*/gnome-system-monitor.mo
|
|
126 |
%{_datadir}/gnome/help/gnome-system-monitor
|
|
127 |
%{_datadir}/omf/gnome-system-monitor/*.omf
|
|
128 |
%{_sysconfdir}/gconf/schemas/*.schemas
|
|
129 |
%{_mandir}/man1/*
|
|
130 |
|
|
131 |
%changelog
|
18812
|
132 |
* Wed Jul 15 2009 - [email protected]
|
|
133 |
- Update gnome-system-monitor-01-solaris.diff to fix doo#9931
|
18730
|
134 |
* Mon Jun 08 2009 - [email protected]
|
|
135 |
- Bump to 2.26.2.
|
15641
|
136 |
* Thu Apr 16 2009 - [email protected]
|
|
137 |
- zfs patch reworked - no longer indiana specific
|
15628
|
138 |
* Wed Apr 15 2009 - [email protected]
|
18730
|
139 |
- Bump to 2.26.1.
|
15477
|
140 |
* Mon Mar 23 2009 - [email protected]
|
18730
|
141 |
Take ownership of spec file + patches.
|
15398
|
142 |
* Fri Mar 13 2009 - [email protected]
|
18730
|
143 |
- Bump to 2.26.0.
|
15295
|
144 |
* Wed Mar 04 2009 - [email protected]
|
|
145 |
- Bump to 2.25.91.
|
14670
|
146 |
* Fri Nov 27 2008 - [email protected]
|
18730
|
147 |
- Add patch to fix 6777351.
|
11699
|
148 |
* Fri Feb 22 2008 - [email protected]
|
|
149 |
- Add --disable-scrollkeeper to configure because scrollkeeper-update breaks
|
|
150 |
build.
|
10407
|
151 |
* Thu Aug 30 2007 - [email protected]
|
|
152 |
- Add intltoolize call to update intltool scripts.
|
9953
|
153 |
* Mon May 28 2007 - [email protected]
|
|
154 |
- Bump to 2.18.2.
|
9719
|
155 |
* Wed Apr 11 2007 - [email protected]
|
|
156 |
- Bump to 2.18.1.1
|
9539
|
157 |
* Tue Mar 13 2007 - [email protected]
|
|
158 |
- Bump to 2.18.0.
|
9437
|
159 |
* Mon Mar 05 2007 - [email protected]
|
|
160 |
- Bump to 2.17.95.
|
9397
|
161 |
* Tue Feb 13 2007 - [email protected]
|
|
162 |
- Add l10n tarball.
|
|
163 |
* Tue Feb 13 2007 - [email protected]
|
|
164 |
- Bump to 2.17.91.
|
|
165 |
* Mon Jan 22 2007 - [email protected]
|
|
166 |
- Bump to 2.17.6.
|
|
167 |
* Tue Jan 09 2007 - [email protected]
|
|
168 |
- Bump to 2.17.5.
|
|
169 |
* Thu Jan 04 2007 - [email protected]
|
|
170 |
- Add patch, 04-src-link, to fix #392776, unresolved symbols during link.
|
|
171 |
* Wed Dec 20 2006 - [email protected]
|
|
172 |
- Bump to 2.17.4.2.
|
|
173 |
* Tue Dec 19 2006 - [email protected]
|
|
174 |
- Bump to 2.17.4.1.
|
|
175 |
* Mon Dec 18 2006 - [email protected]
|
|
176 |
- Bump to 2.17.4. Remove upstream patch 03-wifexited-wait.
|
|
177 |
* Thu Dec 07 2006 - [email protected]
|
|
178 |
- Add patch, 03-wifexited-wait to include sys/wait.h in src/sysinfo.cpp.
|
|
179 |
Fixes 383291.
|
|
180 |
* Tue Dec 05 2006 - [email protected]
|
|
181 |
- Bump to 2.17.3.
|
|
182 |
* Wed Nov 22 2006 - [email protected]
|
|
183 |
- Bump to 2.17.2.1.
|
|
184 |
* Thu Nov 16 2006 - [email protected]
|
|
185 |
- add patch comments.
|
|
186 |
* Wed Nov 15 2006 - [email protected]
|
|
187 |
- Modify launch menu entry to match latest UI spec.
|
|
188 |
* Mon Oct 02 2006 - [email protected]
|
|
189 |
- Bump to 2.16.1.
|
|
190 |
* Wed Sep 06 2006 - [email protected]
|
|
191 |
- Bump to 2.16.0.
|
|
192 |
* Tue Aug 22 2006 - [email protected]
|
|
193 |
- Bump to 2.15.92.
|
|
194 |
* Tue Aug 08 2006 - [email protected]
|
|
195 |
- Bump to 2.15.91.
|
|
196 |
* Wed Jul 26 2006 - [email protected]
|
|
197 |
- Bump to 2.15.90.
|
|
198 |
* Wed July 19 2006 - [email protected]
|
|
199 |
- Add one patch so that Monitor can run at Solaris,
|
|
200 |
also fix some existed bugs.
|
|
201 |
* Fri Apr 10 2006 - [email protected]
|
|
202 |
- Bump to 2.14.1.
|
|
203 |
Mon Mar 13 2006 - [email protected]
|
|
204 |
- Bump to 2.14.0.
|
|
205 |
Tue Feb 28 2006 - [email protected]
|
|
206 |
- Bump to 2.13.92.
|
|
207 |
* Tue Jan 31 2006 - [email protected]
|
|
208 |
- Bump to 2.13.90.
|
|
209 |
* Tue Jan 17 2006 - [email protected]
|
18730
|
210 |
- Bump to 2.13.5.
|
9397
|
211 |
* Sun Jan 15 2006 - [email protected]
|
|
212 |
- Bump to 2.13.4.
|
|
213 |
* Tue Nov 29 2005 - laca.com
|
|
214 |
- remove javahelp stuff
|
|
215 |
* Tue Oct 11 2005 - [email protected]
|
18730
|
216 |
- Bump to 2.12.1.
|
9397
|
217 |
* Sat Sep 17 2005 - [email protected]
|
18730
|
218 |
- Bump to 2.12.0.
|
9397
|
219 |
* Mon Aug 15 2005 - [email protected]
|
|
220 |
- Bump to 2.11.91.
|
|
221 |
* Thu May 19 2005 - [email protected]
|
18730
|
222 |
- Bump to 2.10.1.
|
9397
|
223 |
* Wed Mar 09 2005 - [email protected]
|
18730
|
224 |
- Updated gnome-system-monitor-01-l10n-online-help.diff for l10n help.
|
9397
|
225 |
* Fri Jan 14 2005 - [email protected]
|
18730
|
226 |
- Updated l10n help tarball for cinnabar-linux.
|
9397
|
227 |
* Thu Oct 28 2004 - [email protected]
|
18730
|
228 |
- Updated l10n help tarball and added pt_BR.
|
9397
|
229 |
* Wed Aug 25 2004 - [email protected]
|
18730
|
230 |
- Updated l10n help tarball name for Cinnabar.
|
9397
|
231 |
* Thu Aug 05 2004 - [email protected]
|
18730
|
232 |
- Integrated docs 0.3 tarball from [email protected].
|
9397
|
233 |
* Thu Jul 08 2004 - [email protected]
|
18730
|
234 |
- Updated l10n content to gnome-system-monitor-l10n-po-1.2.tar.bz2.
|
9397
|
235 |
* Wed Jul 07 2004 - [email protected]
|
18730
|
236 |
- added "-j $CPUS" to make to speed up builds.
|
9397
|
237 |
* Fri Jun 11 2004 - [email protected]
|
18730
|
238 |
- Integrated docs 0.2 tarball from [email protected].
|
9397
|
239 |
* Wed May 12 2004 - [email protected]
|
18730
|
240 |
- Updated l10n content to gnome-system-monitor-l10n-po-1.1.tar.bz2.
|
9397
|
241 |
* Sun Apr 18 2004 - [email protected]
|
18730
|
242 |
- enable javahelp conversion on Solaris.
|
9397
|
243 |
* Thu Apr 08 2004 - [email protected]
|
18730
|
244 |
- bump to 2.6.0.
|
9397
|
245 |
* Thu Apr 01 2004 - [email protected]
|
18730
|
246 |
- Javahelp conversion.
|
9397
|
247 |
* Mon Mar 29 2004 - [email protected]
|
18730
|
248 |
- Updated l10n content to gnome-system-monitor-l10n-po-1.0.tar.bz2.
|
9397
|
249 |
* Mon Feb 16 2004 - [email protected]
|
18730
|
250 |
- Bump to 2.5.3, port docs/l10n.
|
9397
|
251 |
* Tue Dec 16 2003 - [email protected]
|
18730
|
252 |
- Bump to 2.5.2.
|
9397
|
253 |
* Fri Oct 31 2003 - [email protected]
|
|
254 |
- Remove the Sun Supported keyword, reorder patches.
|
|
255 |
* Tue Oct 14 2003 - [email protected]
|
18730
|
256 |
- updated to version 2.4.0, reset release.
|
9397
|
257 |
* Fri Aug 08 2003 - [email protected]
|
18730
|
258 |
- Remove mnemonics from notebook tab labels (#4903256).
|
9397
|
259 |
* Tue Aug 05 2003 - [email protected]
|
|
260 |
- Update tarball, bump version, reset release.
|
|
261 |
* Fri Aug 01 2003 - [email protected]
|
|
262 |
- Add menu category to the menu entry.
|
|
263 |
* Wed May 14 2003 - [email protected]
|
18730
|
264 |
- Initial release.
|
|
265 |
|