procps/procps.spec

46 lines
1.1 KiB
RPMSpec
Raw Normal View History

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
2002-11-09 03:01:35 +00:00
%define minor_version 1
2002-11-20 04:09:26 +00:00
%define revision 1
2002-02-01 22:47:29 +00:00
%define version %{major_version}.%{minor_version}.%{revision}
Version: %{version}
Release: 1
Copyright: GPL
Group: Applications/System
2002-10-21 09:07:18 +00:00
Source: http://procps.sf.net/procps-%{version}.tar.gz
BuildRoot: /tmp/procps-root
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
make CC="gcc $RPM_OPT_FLAGS" LDFLAGS=-s
%install
rm -rf $RPM_BUILD_ROOT
2002-10-10 21:08:03 +00:00
make DESTDIR=$RPM_BUILD_ROOT install=install 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)
2002-10-21 09:08:25 +00:00
%doc NEWS BUGS TODO COPYING COPYING.LIB README.top README AUTHORS
2002-10-21 09:07:18 +00:00
%attr(555,root,root) /lib/libproc.so*
%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-09-30 21:54:57 +00:00
%attr(0644,root,root) /usr/man/man1/*
%attr(0644,root,root) /usr/man/man8/*