author | dcarbery |
Mon, 23 Oct 2006 12:46:17 +0000 | |
branch | gnome-2-14 |
changeset 19195 | 352a4716f1f3 |
parent 19109 | 4c5ae6e4f4c5 |
permissions | -rw-r--r-- |
5518 | 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 |
# |
|
74 | 8 |
Name: gnome-system-monitor |
9 |
License: GPL |
|
10 |
Group: System/GUI/GNOME |
|
7031 | 11 |
Version: 2.14.1 |
5518 | 12 |
Release: 1 |
13 |
Distribution: Java Desktop System |
|
575 | 14 |
Vendor: Sun Microsystems, Inc. |
74 | 15 |
Summary: Simple process monitor |
6917 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.14/%{name}-%{version}.tar.bz2 |
5518 | 17 |
Source1: gnome-system-monitor.1.gz |
74 | 18 |
URL: http://www.gnome.org |
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
167 | 20 |
Autoreqprov: on |
5518 | 21 |
Prereq: GConf |
167 | 22 |
|
2432 | 23 |
%define libgnomeui_version 2.6.0 |
24 |
%define libwnck_version 2.6.0 |
|
5518 | 25 |
%define libgtop_version 2.9.5 |
2432 | 26 |
%define scrollkeeper_version 0.3.14 |
172 | 27 |
|
28 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
29 |
BuildRequires: libwnck-devel >= %{libwnck_version} |
|
30 |
BuildRequires: libgtop-devel >= %{libgtop_version} |
|
1073 | 31 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
172 | 32 |
Requires: libgnomeui >= %{libgnomeui_version} |
33 |
Requires: libwnck >= %{libwnck_version} |
|
34 |
Requires: libgtop >= %{libgtop_version} |
|
74 | 35 |
|
19109 | 36 |
Patch1: gnome-system-monitor-01-solaris.diff |
37 |
||
74 | 38 |
%description |
39 |
Gnome-system-monitor is a simple process and system monitor for Gnome. |
|
40 |
||
41 |
%prep |
|
42 |
%setup -q |
|
19109 | 43 |
%patch1 -p1 |
4455 | 44 |
|
74 | 45 |
%build |
3263 | 46 |
%ifos linux |
47 |
if [ -x /usr/bin/getconf ]; then |
|
48 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
49 |
fi |
|
50 |
%else |
|
3846 | 51 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 52 |
%endif |
53 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
54 |
CPUS=1 |
|
55 |
fi |
|
5518 | 56 |
|
57 |
gnome-doc-common |
|
5196 | 58 |
libtoolize --force |
5518 | 59 |
aclocal $ACLOCAL_FLAGS |
5196 | 60 |
automake -a -c -f |
61 |
autoconf |
|
5518 | 62 |
|
903 | 63 |
CFLAGS="$RPM_OPT_FLAGS" \ |
167 | 64 |
./configure --prefix=%{_prefix} \ |
65 |
--sysconfdir=%{_sysconfdir} |
|
3263 | 66 |
make -j $CPUS |
74 | 67 |
|
68 |
%install |
|
69 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
167 | 70 |
make DESTDIR=$RPM_BUILD_ROOT install |
74 | 71 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
1522 | 72 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
5518 | 73 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 |
74 | 74 |
|
1446 | 75 |
#Copy zh_HK from zh_TW |
76 |
#Fixes bug 4930405 |
|
1522 | 77 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
78 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
79 |
|
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
80 |
|
5565
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5529
diff
changeset
|
81 |
# Delete scrollkeeper files - conflict with eog files! |
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5529
diff
changeset
|
82 |
rm -rf $RPM_BUILD_ROOT%{_prefix}/var/scrollkeeper |
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5529
diff
changeset
|
83 |
|
413 | 84 |
%clean |
85 |
rm -rf $RPM_BUILD_ROOT |
|
86 |
||
74 | 87 |
%post |
88 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
89 |
SCHEMAS="gnome-system-monitor.schemas" |
|
90 |
for S in $SCHEMAS; do |
|
91 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
92 |
done |
|
93 |
||
94 |
%files |
|
95 |
%defattr(-, root, root) |
|
96 |
%doc AUTHORS COPYING ChangeLog HACKING NEWS README TODO |
|
97 |
%{_bindir}/gnome-system-monitor |
|
98 |
%{_datadir}/applications/gnome-system-monitor.desktop |
|
99 |
%{_datadir}/locale/*/*/gnome-system-monitor.mo |
|
100 |
%{_datadir}/gnome/help/gnome-system-monitor |
|
101 |
%{_datadir}/omf/gnome-system-monitor/*.omf |
|
102 |
%{_sysconfdir}/gconf/schemas/*.schemas |
|
1446 | 103 |
%{_mandir}/man1/* |
74 | 104 |
|
105 |
%changelog |
|
19109 | 106 |
* Wed July 19 2006 - [email protected] |
107 |
- Add one patch so that Monitor can run at Solaris, |
|
108 |
also fix some existed bugs. |
|
109 |
||
7031 | 110 |
* Fri Apr 10 2006 - [email protected] |
111 |
- Bump to 2.14.1. |
|
112 |
||
6917 | 113 |
* Mon Mar 13 2006 - [email protected] |
114 |
- Bump to 2.14.0. |
|
115 |
||
6862 | 116 |
* Tue Feb 28 2006 - [email protected] |
117 |
- Bump to 2.13.92. |
|
118 |
||
6708 | 119 |
* Tue Jan 31 2006 - [email protected] |
120 |
- Bump to 2.13.90. |
|
121 |
||
6587
1ac34d6f9507
* zenity.spec, sound-juicer.spec, nautilus-cd-burner.spec, nautilus.spec
dc144907
parents:
6564
diff
changeset
|
122 |
* Tue Jan 17 2006 - [email protected] |
1ac34d6f9507
* zenity.spec, sound-juicer.spec, nautilus-cd-burner.spec, nautilus.spec
dc144907
parents:
6564
diff
changeset
|
123 |
- Bump to 2.13.5 |
1ac34d6f9507
* zenity.spec, sound-juicer.spec, nautilus-cd-burner.spec, nautilus.spec
dc144907
parents:
6564
diff
changeset
|
124 |
|
6564
480b9993069a
* control-center.spec, eog.spec, gcalctool.spec, gdm.spec, gedit.spec,
dc144907
parents:
6299
diff
changeset
|
125 |
* Sun Jan 15 2006 - [email protected] |
480b9993069a
* control-center.spec, eog.spec, gcalctool.spec, gdm.spec, gedit.spec,
dc144907
parents:
6299
diff
changeset
|
126 |
- Bump to 2.13.4. |
480b9993069a
* control-center.spec, eog.spec, gcalctool.spec, gdm.spec, gedit.spec,
dc144907
parents:
6299
diff
changeset
|
127 |
|
6299 | 128 |
* Tue Nov 29 2005 - laca.com |
129 |
- remove javahelp stuff |
|
130 |
||
6080
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
5927
diff
changeset
|
131 |
* Tue Oct 11 2005 - [email protected] |
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
5927
diff
changeset
|
132 |
- Bump to 2.12.1 |
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
5927
diff
changeset
|
133 |
|
5895 | 134 |
* Sat Sep 17 2005 - [email protected] |
135 |
- Bump to 2.12.0 |
|
136 |
||
5529
9133a916e53a
* *.spec: More bumping to latest versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
137 |
* Mon Aug 15 2005 - [email protected] |
9133a916e53a
* *.spec: More bumping to latest versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
138 |
- Bump to 2.11.91. |
9133a916e53a
* *.spec: More bumping to latest versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
139 |
|
5518 | 140 |
* Thu May 19 2005 - [email protected] |
141 |
- Bump to 2.10.1 |
|
142 |
||
5189 | 143 |
* Wed Mar 09 2005 - [email protected] |
144 |
- Updated gnome-system-monitor-01-l10n-online-help.diff for l10n help |
|
145 |
||
4844 | 146 |
* Fri Jan 14 2005 - [email protected] |
147 |
- Updated l10n help tarball for cinnabar-linux |
|
148 |
||
4352 | 149 |
* Thu Oct 28 2004 - [email protected] |
150 |
- Updated l10n help tarball and added pt_BR |
|
151 |
||
3734 | 152 |
* Wed Aug 25 2004 - [email protected] |
153 |
- Updated l10n help tarball name for Cinnabar |
|
154 |
||
3487 | 155 |
* Thu Aug 05 2004 - [email protected] |
156 |
- Integrated docs 0.3 tarball from [email protected] |
|
157 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
158 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
159 |
- Updated l10n content to gnome-system-monitor-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
160 |
|
3263 | 161 |
* Wed Jul 07 2004 - [email protected] |
162 |
- added "-j $CPUS" to make to speed up builds |
|
163 |
||
3135
a4b447165ea0
* gnome-media.spec, gnome-panel.spec, gnome-system-monitor.spec,
dc144907
parents:
3120
diff
changeset
|
164 |
* Fri Jun 11 2004 - [email protected] |
a4b447165ea0
* gnome-media.spec, gnome-panel.spec, gnome-system-monitor.spec,
dc144907
parents:
3120
diff
changeset
|
165 |
- Integrated docs 0.2 tarball from [email protected] |
a4b447165ea0
* gnome-media.spec, gnome-panel.spec, gnome-system-monitor.spec,
dc144907
parents:
3120
diff
changeset
|
166 |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
167 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
168 |
- Updated l10n content to gnome-system-monitor-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
169 |
|
2485 | 170 |
* Sun Apr 18 2004 - [email protected] |
171 |
- enable javahelp conversion on Solaris |
|
172 |
||
2432 | 173 |
* Thu Apr 08 2004 - [email protected] |
174 |
- bump to 2.6.0 |
|
175 |
||
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
176 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
177 |
- Javahelp conversion |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
178 |
|
2350 | 179 |
* Mon Mar 29 2004 - [email protected] |
180 |
- Updated l10n content to gnome-system-monitor-l10n-po-1.0.tar.bz2 |
|
181 |
||
1707 | 182 |
* Mon Feb 16 2004 - [email protected] |
183 |
- Bump to 2.5.3, port docs/l10n |
|
184 |
||
1446 | 185 |
* Tue Dec 16 2003 - [email protected] |
186 |
- Bump to 2.5.2 |
|
187 |
||
1374 | 188 |
* Fri Oct 31 2003 - [email protected] |
189 |
- Remove the Sun Supported keyword, reorder patches. |
|
190 |
||
1269 | 191 |
* Tue Oct 14 2003 - [email protected] |
192 |
- updated to version 2.4.0, reset release |
|
193 |
||
1016 | 194 |
* Fri Aug 08 2003 - [email protected] |
195 |
- Remove mnemonics from notebook tab labels (#4903256) |
|
196 |
||
965 | 197 |
* Tue Aug 05 2003 - [email protected] |
198 |
- Update tarball, bump version, reset release. |
|
199 |
||
903 | 200 |
* Fri Aug 01 2003 - [email protected] |
201 |
- Add menu category to the menu entry. |
|
202 |
||
74 | 203 |
* Wed May 14 2003 - [email protected] |
204 |
- Initial release |