~ubuntu-branches/ubuntu/oneiric/gnome-system-monitor/oneiric-proposed

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Note that this is NOT a relocatable package

Summary: Simple process monitor
Name: gnome-system-monitor
Version: 2.3.0
Release: 1
Copyright: GPL
Group: Applications/System
Source: http://www.personal.psu.edu/kfv101/procman/source/gnome-system-monitor-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
Requires: libgnomeui >= 2.0.0
Requires: libgtop >= 2.0.0
Requires: libwnck >= 0.12
Obsoletes: procman

%description
Procman is a simple process and system monitor.

%prep
%setup -q

%build
%configure

make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%makeinstall
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gnome-system-monitor.schemas > /dev/null

%files -f %{name}.lang
%defattr(-, root, root)

%{_bindir}/gnome-system-monitor
%{_datadir}/applications/gnome-system-monitor.schemas
%{_sysconfdir}/gconf/schemas/*

%changelog

* Thu Jan 10 2002 Havoc Pennington <hp@pobox.com>
- make spec "Red Hat style"
- add GConf stuff
- langify