2002-12-05 22:22:43 +00:00
|
|
|
URL: http://procps.sf.net/
|
2002-10-21 09:07:18 +00:00
|
|
|
Summary: System and process monitoring utilities
|
2002-02-01 22:47:29 +00:00
|
|
|
Name: procps
|
2002-09-30 19:59:28 +00:00
|
|
|
%define major_version 3
|
2004-01-29 05:05:37 +00:00
|
|
|
%define minor_version 2
|
2006-09-10 06:25:56 +00:00
|
|
|
%define revision 7
|
2002-02-01 22:47:29 +00:00
|
|
|
%define version %{major_version}.%{minor_version}.%{revision}
|
|
|
|
Version: %{version}
|
|
|
|
Release: 1
|
2002-12-05 22:22:43 +00:00
|
|
|
License: LGPL, GPL, BSD-like
|
2002-02-01 22:47:29 +00:00
|
|
|
Group: Applications/System
|
2002-10-21 09:07:18 +00:00
|
|
|
Source: http://procps.sf.net/procps-%{version}.tar.gz
|
2002-12-05 22:22:43 +00:00
|
|
|
BuildRoot: %{_tmppath}/procps-root
|
|
|
|
Packager: <procps-feedback@lists.sf.net>
|
2002-02-01 22:47:29 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The procps package contains a set of system utilities which provide
|
|
|
|
system information. Procps includes ps, free, sysctl, skill, snice,
|
2002-10-21 09:07:18 +00:00
|
|
|
tload, top, uptime, vmstat, w, and watch. You need some of these.
|
2002-02-01 22:47:29 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
|
|
|
|
%build
|
2004-07-21 02:29:19 +00:00
|
|
|
make SKIP="/bin/kill /usr/share/man/man1/kill.1" CFLAGS="$RPM_OPT_FLAGS"
|
2002-02-01 22:47:29 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2006-06-17 05:12:35 +00:00
|
|
|
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-01 22:47:29 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
# add libproc to the cache
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(0644,root,root,755)
|
2004-07-21 02:29:19 +00:00
|
|
|
%doc NEWS BUGS TODO COPYING COPYING.LIB README.top README AUTHORS sysctl.conf
|
|
|
|
%attr(555,root,root) /lib*/libproc*.so*
|
2002-10-21 09:07:18 +00:00
|
|
|
%attr(555,root,root) /bin/*
|
|
|
|
%attr(555,root,root) /sbin/*
|
2002-09-30 21:54:57 +00:00
|
|
|
%attr(555,root,root) /usr/bin/*
|
2002-02-01 22:47:29 +00:00
|
|
|
|
2002-12-15 07:03:16 +00:00
|
|
|
%attr(0644,root,root) /usr/share/man/man1/*
|
2003-03-30 20:09:23 +00:00
|
|
|
%attr(0644,root,root) /usr/share/man/man5/*
|
2002-12-15 07:03:16 +00:00
|
|
|
%attr(0644,root,root) /usr/share/man/man8/*
|
2006-06-17 05:12:35 +00:00
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Fri Apr 14 09:23:45 PDT 2006 Jesse Brandeburg <jesse.brandeburg@in...>
|
|
|
|
- fix missing trailing slash in %install to fix builds on x86_64
|