2013-08-07 14:30:18 +00:00
|
|
|
# The testsuite is unsuitable for running on buildsystems
|
2013-06-26 11:01:27 +00:00
|
|
|
%global tests_enabled 0
|
2012-03-07 15:21:14 +00:00
|
|
|
|
|
|
|
Summary: System and process monitoring utilities
|
|
|
|
Name: procps-ng
|
2013-12-03 15:15:59 +00:00
|
|
|
Version: 3.3.9
|
2014-02-27 13:59:44 +00:00
|
|
|
Release: 6%{?dist}
|
2013-08-07 18:00:29 +00:00
|
|
|
License: GPL+ and GPLv2 and GPLv2+ and GPLv3+ and LGPLv2+
|
2012-03-07 15:21:14 +00:00
|
|
|
Group: Applications/System
|
2013-01-08 14:15:09 +00:00
|
|
|
URL: https://sourceforge.net/projects/procps-ng/
|
2012-03-07 15:21:14 +00:00
|
|
|
|
2013-10-17 15:55:10 +00:00
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
|
2012-09-25 12:24:07 +00:00
|
|
|
|
2014-01-20 19:25:49 +00:00
|
|
|
Patch0: vmstat-wide-not-wide-enough.patch
|
2014-01-24 17:39:00 +00:00
|
|
|
Patch1: ksh-skip-trailing-zeros.patch
|
2014-02-05 11:53:25 +00:00
|
|
|
Patch2: vmstat-timestamps.patch
|
|
|
|
Patch3: watch-fd-leak.patch
|
2014-02-05 16:04:15 +00:00
|
|
|
Patch4: vmstat-format-security.patch
|
2014-02-27 13:59:44 +00:00
|
|
|
Patch5: subtract-shmem-from-cached.patch
|
2014-01-20 19:25:49 +00:00
|
|
|
|
2012-03-07 15:21:14 +00:00
|
|
|
Requires(post): /sbin/ldconfig
|
|
|
|
Requires(postun): /sbin/ldconfig
|
|
|
|
|
2013-08-07 14:30:18 +00:00
|
|
|
Requires: systemd-libs
|
|
|
|
|
2012-03-07 15:21:14 +00:00
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: gettext-devel
|
2013-08-07 14:30:18 +00:00
|
|
|
BuildRequires: systemd-devel
|
2012-03-07 15:21:14 +00:00
|
|
|
|
|
|
|
%if %{tests_enabled}
|
2012-08-21 09:42:39 +00:00
|
|
|
BuildRequires: dejagnu
|
2012-03-07 15:21:14 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
Provides: procps = %{version}-%{release}
|
|
|
|
Obsoletes: procps < 3.2.9-1
|
|
|
|
|
|
|
|
# usrmove hack - will be removed once initscripts are fixed
|
|
|
|
Provides: /sbin/sysctl
|
2012-03-08 18:41:49 +00:00
|
|
|
Provides: /bin/ps
|
2012-03-07 15:21:14 +00:00
|
|
|
|
2013-10-17 15:55:10 +00:00
|
|
|
# sysvinit removal in Fedora 21
|
2013-11-07 13:06:43 +00:00
|
|
|
Obsoletes: sysvinit-tools < 0:2.89
|
2013-10-17 15:55:10 +00:00
|
|
|
Provides: /sbin/pidof
|
|
|
|
|
|
|
|
|
2012-03-07 15:21:14 +00:00
|
|
|
%description
|
|
|
|
The procps package contains a set of system utilities that provide
|
|
|
|
system information. Procps includes ps, free, skill, pkill, pgrep,
|
2013-01-15 15:23:50 +00:00
|
|
|
snice, tload, top, uptime, vmstat, w, watch and pwdx. The ps command
|
2012-03-07 15:21:14 +00:00
|
|
|
displays a snapshot of running processes. The top command provides
|
|
|
|
a repetitive update of the statuses of running processes. The free
|
|
|
|
command displays the amounts of free and used memory on your
|
|
|
|
system. The skill command sends a terminate command (or another
|
|
|
|
specified signal) to a specified set of processes. The snice
|
|
|
|
command is used to change the scheduling priority of specified
|
|
|
|
processes. The tload command prints a graph of the current system
|
|
|
|
load average to a specified tty. The uptime command displays the
|
|
|
|
current time, how long the system has been running, how many users
|
|
|
|
are logged on, and system load averages for the past one, five,
|
|
|
|
and fifteen minutes. The w command displays a list of the users
|
|
|
|
who are currently logged on and what they are running. The watch
|
|
|
|
program watches a running program. The vmstat command displays
|
|
|
|
virtual memory statistics about processes, memory, paging, block
|
2013-01-15 15:23:50 +00:00
|
|
|
I/O, traps, and CPU activity. The pwdx command reports the current
|
2012-03-07 15:21:14 +00:00
|
|
|
working directory of a process or processes.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: System and process monitoring utilities
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Provides: procps-devel = %{version}-%{release}
|
|
|
|
Obsoletes: procps-devel < 3.2.9-1
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
System and process monitoring utilities development headers
|
|
|
|
|
|
|
|
%prep
|
2012-12-11 12:26:13 +00:00
|
|
|
%setup -q -n %{name}-%{version}
|
2012-09-25 12:24:07 +00:00
|
|
|
|
2014-01-20 19:25:49 +00:00
|
|
|
%patch0 -p1
|
2014-01-24 17:39:00 +00:00
|
|
|
%patch1 -p1
|
2014-02-05 11:53:25 +00:00
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
2014-02-05 16:04:15 +00:00
|
|
|
%patch4 -p1
|
2014-02-27 13:59:44 +00:00
|
|
|
%patch5 -p1
|
2014-01-20 19:25:49 +00:00
|
|
|
|
2013-06-12 16:57:35 +00:00
|
|
|
|
2012-03-07 15:21:14 +00:00
|
|
|
%build
|
2013-01-08 14:15:09 +00:00
|
|
|
# The following stuff is needed for git archives only
|
|
|
|
#echo "%{version}" > .tarball-version
|
|
|
|
#./autogen.sh
|
2012-08-07 14:10:17 +00:00
|
|
|
|
2013-01-08 14:15:09 +00:00
|
|
|
autoreconf --verbose --force --install
|
2012-08-07 14:10:17 +00:00
|
|
|
|
2012-03-07 15:21:14 +00:00
|
|
|
./configure --prefix=/ \
|
|
|
|
--bindir=%{_bindir} \
|
|
|
|
--sbindir=%{_sbindir} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--includedir=%{_includedir} \
|
|
|
|
--sysconfdir=%{_sysconfdir} \
|
|
|
|
--docdir=/unwanted \
|
|
|
|
--disable-static \
|
|
|
|
--disable-w-from \
|
|
|
|
--disable-kill \
|
2013-05-30 17:07:36 +00:00
|
|
|
--disable-rpath \
|
2013-06-17 16:36:39 +00:00
|
|
|
--enable-watch8bit \
|
2013-07-01 17:19:45 +00:00
|
|
|
--enable-skill \
|
2013-08-07 14:30:18 +00:00
|
|
|
--enable-sigwinch \
|
|
|
|
--enable-libselinux \
|
|
|
|
--with-systemd
|
2012-03-07 15:21:14 +00:00
|
|
|
|
2013-01-08 14:15:09 +00:00
|
|
|
make CFLAGS="%{optflags}"
|
2012-03-07 15:21:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
%if %{tests_enabled}
|
|
|
|
%check
|
|
|
|
make check
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/sysctl.d
|
|
|
|
|
2014-01-07 19:28:37 +00:00
|
|
|
ln -s %{_bindir}/pidof %{buildroot}%{_sbindir}/pidof
|
2013-10-17 15:55:10 +00:00
|
|
|
|
2012-03-07 15:21:14 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2012-08-07 14:10:17 +00:00
|
|
|
%doc AUTHORS Documentation/BUGS COPYING COPYING.LIB Documentation/FAQ NEWS README top/README.top Documentation/TODO
|
2012-03-07 15:21:14 +00:00
|
|
|
|
|
|
|
%{_libdir}/libprocps.so.*
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_sbindir}/*
|
|
|
|
%{_sysconfdir}/sysctl.d
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
%{_mandir}/man5/*
|
|
|
|
|
|
|
|
%exclude %{_libdir}/libprocps.la
|
|
|
|
%exclude %{_sysconfdir}/sysctl.conf
|
|
|
|
%exclude /unwanted/*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc COPYING COPYING.LIB
|
|
|
|
%{_libdir}/libprocps.so
|
2013-04-15 17:19:05 +00:00
|
|
|
%{_libdir}/pkgconfig/libprocps.pc
|
2012-03-07 15:21:14 +00:00
|
|
|
%{_includedir}/proc
|
|
|
|
|
|
|
|
%changelog
|
2014-02-27 13:59:44 +00:00
|
|
|
* Thu Feb 27 2014 Jaromir Capik <jcapik@redhat.com> - 3.3.9-6
|
|
|
|
- Subtracting Shmem from Cached (#1070736)
|
|
|
|
|
2014-02-05 11:53:25 +00:00
|
|
|
* Wed Feb 05 2014 Jaromir Capik <jcapik@redhat.com> - 3.3.9-5
|
|
|
|
- Support for timestamps & wide diskstat (#1053428, #1025833)
|
|
|
|
- Fixing fd leak in watch
|
2014-02-05 16:04:15 +00:00
|
|
|
- Fixing format-security build issues
|
2014-02-05 11:53:25 +00:00
|
|
|
|
2014-01-24 17:39:00 +00:00
|
|
|
* Fri Jan 24 2014 Jaromir Capik <jcapik@redhat.com> - 3.3.9-4
|
|
|
|
- Skipping trailing zeros in read_unvectored (#1057600)
|
|
|
|
|
2014-01-20 19:25:49 +00:00
|
|
|
* Mon Jan 20 2014 Jaromir Capik <jcapik@redhat.com> - 3.3.9-3
|
|
|
|
- 'vmstat -w' was not wide enough (#1025833)
|
|
|
|
|
2014-01-07 19:28:37 +00:00
|
|
|
* Tue Jan 07 2014 Jaromir Capik <jcapik@redhat.com> - 3.3.9-2
|
|
|
|
- Replacing the /sbin/pidof wrapper with symlink
|
|
|
|
|
2013-12-03 15:15:59 +00:00
|
|
|
* Tue Dec 03 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.9-1
|
|
|
|
- Update to 3.3.9
|
|
|
|
|
2013-11-07 13:06:43 +00:00
|
|
|
* Mon Nov 04 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.8-17
|
|
|
|
- Fixing pidof compilation warnings
|
|
|
|
- RPM workaround - changing sysvinit-tools Conflicts/Obsoletes (#1026504)
|
|
|
|
|
2013-10-17 15:55:10 +00:00
|
|
|
* Wed Oct 16 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.8-16
|
|
|
|
- Introducing pidof (#987064)
|
|
|
|
|
2013-10-08 15:01:18 +00:00
|
|
|
* Tue Sep 17 2013 Aristeu Rozanski <aris@redhat.com> - 3.3.8-15
|
|
|
|
- Introduce namespaces support (#1016242)
|
|
|
|
|
2013-09-17 18:29:19 +00:00
|
|
|
* Tue Sep 17 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.8-14
|
|
|
|
- top: Fixing missing newline when running in the batch mode (#1008674)
|
|
|
|
|
2013-08-09 16:20:36 +00:00
|
|
|
* Fri Aug 09 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.8-13
|
|
|
|
- Including forgotten man fixes (#948522)
|
|
|
|
|
2013-08-07 18:00:29 +00:00
|
|
|
* Wed Aug 07 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.8-12
|
|
|
|
- Fixing the license tag
|
|
|
|
|
2013-08-07 14:30:18 +00:00
|
|
|
* Wed Aug 07 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.8-11
|
|
|
|
- Support for libselinux (#975459)
|
|
|
|
- Support for systemd (#994457)
|
|
|
|
- Support for 'Shmem' in free (#993271)
|
|
|
|
|
2013-08-04 05:13:09 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.8-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-19 13:01:39 +00:00
|
|
|
* Fri Jul 19 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.8-9
|
|
|
|
- RH man page scan (#948522)
|
|
|
|
|
2013-07-02 12:48:27 +00:00
|
|
|
* Tue Jul 02 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.8-8
|
|
|
|
- Extending the end-of-job patch disabling the screen content restoration
|
|
|
|
|
2013-07-01 17:19:45 +00:00
|
|
|
* Mon Jul 01 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.8-7
|
|
|
|
- Disabling screen content restoration when exiting 'top' (#977561)
|
|
|
|
- Enabling SIGWINCH flood prevention
|
|
|
|
|
2013-06-26 16:26:16 +00:00
|
|
|
* Wed Jun 26 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.8-6
|
|
|
|
- Avoiding "write error" messages when piping to grep (#976199)
|
|
|
|
|
2013-06-26 11:01:27 +00:00
|
|
|
* Wed Jun 26 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.8-5
|
|
|
|
- Disabling tests - unsuitable for running on buildsystems
|
|
|
|
|
2013-06-17 16:36:39 +00:00
|
|
|
* Mon Jun 17 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.8-4
|
|
|
|
- Enabling skill and snice (#974752)
|
|
|
|
|
2013-06-12 16:57:35 +00:00
|
|
|
* Wed Jun 12 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.8-3
|
|
|
|
- Adding major version in the libnuma soname
|
|
|
|
|
2013-05-30 17:07:36 +00:00
|
|
|
* Thu May 30 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.8-2
|
|
|
|
- watch: enabling UTF-8 (#965867)
|
|
|
|
|
2013-05-29 16:41:23 +00:00
|
|
|
* Wed May 29 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.8-1
|
|
|
|
- Update to 3.3.8
|
|
|
|
|
2013-05-22 15:15:35 +00:00
|
|
|
* Wed May 22 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.7-4
|
|
|
|
- top: inoculated against a window manager like 'screen' (#962022)
|
|
|
|
|
2013-04-16 15:18:25 +00:00
|
|
|
* Tue Apr 16 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.7-3
|
|
|
|
- Avoid segfaults when reading zero bytes - file2str (#951391)
|
|
|
|
|
2013-04-15 17:19:05 +00:00
|
|
|
* Mon Apr 15 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.7-2
|
|
|
|
- Moving libprocps.pc to the devel subpackage (#951726)
|
|
|
|
|
2013-03-26 17:01:51 +00:00
|
|
|
* Tue Mar 26 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.7-1
|
|
|
|
- Update to 3.3.7
|
|
|
|
- Reverting upstream commit for testsuite/unix.exp
|
|
|
|
|
2013-02-05 12:23:54 +00:00
|
|
|
* Tue Feb 05 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.6-4
|
|
|
|
- Fixing empty pmap output on ppc/s390 (#906457)
|
|
|
|
|
2013-01-15 15:23:50 +00:00
|
|
|
* Tue Jan 15 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.6-3
|
|
|
|
- Typo in the description, pdwx instead of pwdx (#891476)
|
|
|
|
|
2013-01-08 15:18:03 +00:00
|
|
|
* Tue Jan 08 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.6-2
|
|
|
|
- Rebuilding with tests disabled (koji issue #853084)
|
|
|
|
|
2013-01-08 14:15:09 +00:00
|
|
|
* Tue Jan 08 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.6-1
|
|
|
|
- Update to 3.3.6
|
|
|
|
- Changing URL/Source from gitorious to recently created sourceforge page
|
|
|
|
- Replacing autogen.sh with autoreconf
|
|
|
|
|
|
|
|
* Mon Jan 07 2013 Jaromir Capik <jcapik@redhat.com> - 3.3.5-1
|
|
|
|
- Update to 3.3.5
|
|
|
|
|
|
|
|
* Tue Dec 11 2012 Jaromir Capik <jcapik@redhat.com> - 3.3.4-2
|
|
|
|
- fixing the following regressions:
|
|
|
|
- negative ETIME field in ps (#871819)
|
|
|
|
- procps states a bug is hit when receiving a signal (#871824)
|
|
|
|
- allow core file generation by ps command (#871825)
|
|
|
|
|
2012-12-11 12:26:13 +00:00
|
|
|
* Tue Dec 11 2012 Jaromir Capik <jcapik@redhat.com> - 3.3.4-1
|
|
|
|
- Update to 3.3.4
|
|
|
|
|
2012-09-25 12:24:07 +00:00
|
|
|
* Tue Sep 25 2012 Jaromir Capik <jcapik@redhat.com> - 3.3.3-3.20120807git
|
|
|
|
- SELinux spelling fixes (#859900)
|
|
|
|
|
2012-08-21 09:42:39 +00:00
|
|
|
* Tue Aug 21 2012 Jaromir Capik <jcapik@redhat.com> - 3.3.3-2.20120807git
|
|
|
|
- Tests enabled
|
|
|
|
|
2012-08-07 14:10:17 +00:00
|
|
|
* Tue Aug 07 2012 Jaromir Capik <jcapik@redhat.com> - 3.3.3-1.20120807git
|
|
|
|
- Update to 3.3.3-20120807git
|
|
|
|
|
2012-07-21 03:08:56 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2013-05-22 15:15:35 +00:00
|
|
|
* Thu Mar 08 2012 Jaromir Capik <jcapik@redhat.com> - 3.3.2-3
|
2012-03-08 18:41:49 +00:00
|
|
|
- Second usrmove hack - providing /bin/ps
|
|
|
|
|
2012-03-07 15:21:14 +00:00
|
|
|
* Tue Mar 06 2012 Jaromir Capik <jcapik@redhat.com> - 3.3.2-2
|
|
|
|
- Fixing requires in the devel subpackage (missing %{?_isa} macro)
|
|
|
|
- License statement clarification (upstream patch referrenced in the spec header)
|
|
|
|
|
|
|
|
* Mon Feb 27 2012 Jaromir Capik <jcapik@redhat.com> - 3.3.2-1
|
|
|
|
- Initial version
|