-
Notifications
You must be signed in to change notification settings - Fork 0
/
gkrellm.spec
98 lines (78 loc) · 2.89 KB
/
gkrellm.spec
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
%define name gkrellm
%define version 2.3.5
%define release 1
%define prefix /usr
Summary: Multiple stacked system monitors: 1 process.
Name: %{name}
Version: %{version}
Release: %{release}
License: GPL
Group: X11/Utilities
URL: http://gkrellm.net
Source: http://members.dslextreme.com/users/billw/gkrellm/%{name}-%{version}.tar.bz2
Vendor: Bill Wilson <billw--at--gkrellm.net>
Packager: Bill Wilson <billw--at--gkrellm.net>
Requires: gtk2 >= 2.4, glib2 >= 2.0
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
GKrellM charts SMP CPU, load, Disk, and all active net interfaces
automatically. An on/off button and online timer for the PPP interface
is provided. Monitors for memory and swap usage, file system, internet
connections, APM laptop battery, mbox style mailboxes, and cpu temps.
Also includes an uptime monitor, a hostname label, and a clock/calendar.
Additional features are:
* Autoscaling grid lines with configurable grid line resolution.
* LED indicators for the net interfaces.
* A gui popup for configuration of chart sizes and resolutions.
%prep
%setup -q
%build
make CFLAGS="$RPM_OPT_FLAGS" LOCALEDIR="%{_datadir}/locale"
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig
mkdir -p $RPM_BUILD_ROOT%{_includedir}/%{name}
make install INSTALLROOT=$RPM_BUILD_ROOT/%{_prefix} LOCALEDIR=$RPM_BUILD_ROOT%{_datadir}/locale MANDIR=$RPM_BUILD_ROOT/%{_mandir}/man1
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc COPYRIGHT Changelog README Themes.html
%doc INSTALL
%{_bindir}/gkrellm
%{_bindir}/gkrellmd
%{_mandir}/man1/gkrellm.1.gz
%{_mandir}/man1/gkrellmd.1.gz
%{_includedir}/gkrellm2/gkrellm*
%{_includedir}/gkrellm2/log*
%{_libdir}/pkgconfig/gkrellm.pc
%{_datadir}/locale/*/LC_MESSAGES/gkrellm.mo
%changelog
* Sat Jun 7 2003 Henrik Brix Andersen <[email protected]>
- changed Source from .gz to .bz2
- added prefix to install path
* Sun Jun 1 2003 Bill Wilson <[email protected]>
- Use INSTALLROOT and added pkgconfig lines.
* Wed Aug 14 2002 Vladimir Kondratiev <[email protected]>
- spec: include locale, server files, change 'include' subdir name
* Tue May 1 2001 Vladimir Kondratiev <[email protected]>
- use macros like _bindir, _mandir, _includedir
- source 1.0.8
* Wed Mar 14 2001 Rob Lineweaver <[email protected]>
- fixed new manpage inclusion for newer RPM versions
- source is 1.0.7
- compiled for PPC and i386
* Fri Jan 19 2001 Kevin Ford <[email protected]>
- general cleanup of spec file
* Thu Jan 18 2001 Kevin Ford <[email protected]>
- Updated spec file to work with both v3 & v4 rpm
- moved changelog to bottom of spec file
- added defines for common items
* Thu Apr 6 2000 Bill Wilson
- added INCLUDEDIR to the make install
* Fri Oct 29 1999 Gary Thomas <[email protected]>
- .spec file still broken
* Thu Oct 7 1999 David Mihm <[email protected]>
- fixed spec.