2002-12-06 03:52:43 +05:30
|
|
|
URL: http://procps.sf.net/
|
2002-10-21 14:37:18 +05:30
|
|
|
Summary: System and process monitoring utilities
|
2002-02-02 04:17:29 +05:30
|
|
|
Name: procps
|
2002-10-01 01:29:28 +05:30
|
|
|
%define major_version 3
|
2004-01-29 10:35:37 +05:30
|
|
|
%define minor_version 2
|
2005-10-30 12:17:15 +05:30
|
|
|
%define revision 6
|
2002-02-02 04:17:29 +05:30
|
|
|
%define version %{major_version}.%{minor_version}.%{revision}
|
|
|
|
Version: %{version}
|
|
|
|
Release: 1
|
2002-12-06 03:52:43 +05:30
|
|
|
License: LGPL, GPL, BSD-like
|
2002-02-02 04:17:29 +05:30
|
|
|
Group: Applications/System
|
2002-10-21 14:37:18 +05:30
|
|
|
Source: http://procps.sf.net/procps-%{version}.tar.gz
|
2002-12-06 03:52:43 +05:30
|
|
|
BuildRoot: %{_tmppath}/procps-root
|
|
|
|
Packager: <procps-feedback@lists.sf.net>
|
2002-02-02 04:17:29 +05:30
|
|
|
|
|
|
|
%description
|
|
|
|
The procps package contains a set of system utilities which provide
|
|
|
|
system information. Procps includes ps, free, sysctl, skill, snice,
|
2002-10-21 14:37:18 +05:30
|
|
|
tload, top, uptime, vmstat, w, and watch. You need some of these.
|
2002-02-02 04:17:29 +05:30
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
|
|
|
|
%build
|
2004-07-21 07:59:19 +05:30
|
|
|
make SKIP="/bin/kill /usr/share/man/man1/kill.1" CFLAGS="$RPM_OPT_FLAGS"
|
2002-02-02 04:17:29 +05:30
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2003-08-11 05:10:41 +05:30
|
|
|
make SKIP="/bin/kill /usr/share/man/man1/kill.1" DESTDIR=$RPM_BUILD_ROOT ldconfig=echo install="install -D" lib="$RPM_BUILD_ROOT/%{_lib}" install
|
2002-02-02 04:17:29 +05:30
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
# add libproc to the cache
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(0644,root,root,755)
|
2004-07-21 07:59:19 +05:30
|
|
|
%doc NEWS BUGS TODO COPYING COPYING.LIB README.top README AUTHORS sysctl.conf
|
|
|
|
%attr(555,root,root) /lib*/libproc*.so*
|
2002-10-21 14:37:18 +05:30
|
|
|
%attr(555,root,root) /bin/*
|
|
|
|
%attr(555,root,root) /sbin/*
|
2002-10-01 03:24:57 +05:30
|
|
|
%attr(555,root,root) /usr/bin/*
|
2002-02-02 04:17:29 +05:30
|
|
|
|
2002-12-15 12:33:16 +05:30
|
|
|
%attr(0644,root,root) /usr/share/man/man1/*
|
2003-03-31 01:39:23 +05:30
|
|
|
%attr(0644,root,root) /usr/share/man/man5/*
|
2002-12-15 12:33:16 +05:30
|
|
|
%attr(0644,root,root) /usr/share/man/man8/*
|