2024-01-06 10:32:26 +01:00
|
|
|
Name: procps-ng
|
2024-01-06 10:32:27 +01:00
|
|
|
Version: 4.0.4
|
2024-01-06 10:32:27 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 10:32:26 +01:00
|
|
|
Summary: Command line and full screen utilities for browsing procfs
|
|
|
|
Group: System/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 10:32:27 +01:00
|
|
|
URL: https://sourceforge.net/projects/procps-ng
|
2024-01-06 10:32:26 +01:00
|
|
|
Source: http://sourceforge.net/projects/procps-ng/files/Production/procps-ng-%{version}.tar.xz
|
|
|
|
Patch0: procps-3.2.8-sysinfo_7numbers.patch
|
|
|
|
Patch1: procps-3.2.8-kernel-3.0.patch
|
2024-01-06 10:32:27 +01:00
|
|
|
Patch2: procps-ng-4.0.4-add-systemd-elogind-to-w.patch
|
2024-01-06 10:32:26 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libncurses-devel
|
|
|
|
BuildRequires: libsystemd-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 10:32:27 +01:00
|
|
|
Provides: procps
|
2024-01-06 10:32:26 +01:00
|
|
|
Obsoletes: procps < 3.2.9
|
|
|
|
Provides: sysvinit-tools
|
2024-01-06 10:32:27 +01:00
|
|
|
Obsoletes: sysvinit-tools < 3.3.17
|
2024-01-06 10:32:27 +01:00
|
|
|
Provides: /bin/kill
|
2024-01-06 10:32:27 +01:00
|
|
|
Provides: /bin/pidof
|
2024-01-06 10:32:27 +01:00
|
|
|
Provides: /bin/ps
|
2024-01-06 10:32:26 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This project provides command line and full screen utilities for browsing procfs, a "pseudo" file system dynamically generated by the kernel to provide information about the status of entries in its process table (such as whether the process is running, stopped, or a "zombie").
|
|
|
|
It contains free, kill, pkill, pgrep, pmap, ps, pwdx, skill, slabtop, snice, sysctl, tload, top, uptime, vmstat, w, and watch.
|
|
|
|
|
|
|
|
%package -n libprocps
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n libprocps
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n libprocps-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: libprocps = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description -n libprocps-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-01-06 10:32:27 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 10:32:26 +01:00
|
|
|
%prep
|
2024-01-06 10:32:27 +01:00
|
|
|
%setup -q
|
|
|
|
#./autogen.sh
|
2024-01-06 10:32:26 +01:00
|
|
|
#%patch0 -p1
|
|
|
|
#%patch1 -p1
|
2024-01-06 10:32:27 +01:00
|
|
|
%patch 2 -p1 -b .add-systemd-elogind-to-w
|
|
|
|
|
|
|
|
autoreconf -f -i
|
2024-01-06 10:32:26 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--with-systemd \
|
2024-01-06 10:32:27 +01:00
|
|
|
--disable-modern-top
|
2024-01-06 10:32:26 +01:00
|
|
|
|
|
|
|
%make \
|
|
|
|
CC=%{_target_platform}-gcc
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-06 10:32:27 +01:00
|
|
|
%find_lang %{name} --all-name --with-man
|
2024-01-06 10:32:26 +01:00
|
|
|
|
2024-01-06 10:32:26 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 10:32:27 +01:00
|
|
|
%post -n libprocps -p /sbin/ldconfig
|
2024-01-06 10:32:26 +01:00
|
|
|
%postun -n libprocps -p /sbin/ldconfig
|
|
|
|
|
2024-01-06 10:32:26 +01:00
|
|
|
%files -f %{name}.lang
|
2024-01-06 10:32:26 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 10:32:27 +01:00
|
|
|
%{_bindir}/kill
|
|
|
|
%{_bindir}/pidof
|
|
|
|
%{_bindir}/ps
|
|
|
|
%{_sbindir}/sysctl
|
2024-01-06 10:32:26 +01:00
|
|
|
%{_bindir}/free
|
|
|
|
%{_bindir}/pgrep
|
2024-01-06 10:32:27 +01:00
|
|
|
%{_bindir}/pidwait
|
2024-01-06 10:32:26 +01:00
|
|
|
%{_bindir}/pkill
|
|
|
|
%{_bindir}/pmap
|
|
|
|
%{_bindir}/pwdx
|
|
|
|
%{_bindir}/slabtop
|
|
|
|
%{_bindir}/tload
|
|
|
|
%{_bindir}/top
|
|
|
|
%{_bindir}/uptime
|
|
|
|
%{_bindir}/vmstat
|
|
|
|
%{_bindir}/w
|
|
|
|
%{_bindir}/watch
|
|
|
|
%{_mandir}/man?/*
|
2024-01-06 10:32:27 +01:00
|
|
|
%doc COPYING
|
2024-01-06 10:32:26 +01:00
|
|
|
|
|
|
|
%files -n libprocps
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 10:32:27 +01:00
|
|
|
%{_libdir}/libproc2.so.*
|
|
|
|
%doc AUTHORS COPYING.LIB
|
2024-01-06 10:32:26 +01:00
|
|
|
|
|
|
|
%files -n libprocps-devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 10:32:27 +01:00
|
|
|
%dir %{_includedir}/libproc2
|
|
|
|
%{_includedir}/libproc2/*.h
|
|
|
|
%{_libdir}/libproc2.a
|
|
|
|
%{_libdir}/libproc2.so
|
|
|
|
%{_libdir}/pkgconfig/libproc2.pc
|
2024-01-06 10:32:26 +01:00
|
|
|
%dir %{_datadir}/doc/procps-ng
|
|
|
|
%{_datadir}/doc/procps-ng/*
|
|
|
|
%doc NEWS
|
2024-01-06 10:32:26 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:32:27 +01:00
|
|
|
* Fri Sep 01 2023 Automatic Build System <autodist@mambasoft.it> 4.0.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:32:27 +01:00
|
|
|
* Tue Aug 08 2023 Automatic Build System <autodist@mambasoft.it> 4.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:32:27 +01:00
|
|
|
* Thu May 06 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.17-4mamba
|
|
|
|
- provide /bin/kill and /bin/ps
|
|
|
|
|
2024-01-06 10:32:27 +01:00
|
|
|
* Sun May 02 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.17-3mamba
|
|
|
|
- provide /bin/pidof
|
|
|
|
|
|
|
|
* Sat May 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.17-2mamba
|
|
|
|
- rebuilt in /usr
|
|
|
|
|
2024-01-06 10:32:27 +01:00
|
|
|
* Thu Feb 25 2021 Automatic Build System <autodist@mambasoft.it> 3.3.17-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:32:26 +01:00
|
|
|
* Thu Mar 12 2020 Automatic Build System <autodist@mambasoft.it> 3.3.16-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:32:26 +01:00
|
|
|
* Wed Jun 06 2018 Automatic Build System <autodist@mambasoft.it> 3.3.15-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:32:26 +01:00
|
|
|
* Fri Apr 20 2018 Automatic Build System <autodist@mambasoft.it> 3.3.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:32:26 +01:00
|
|
|
* Wed Apr 11 2018 Automatic Build System <autodist@mambasoft.it> 3.3.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:32:26 +01:00
|
|
|
* Thu Jul 14 2016 Automatic Build System <autodist@mambasoft.it> 3.3.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:32:26 +01:00
|
|
|
* Wed Sep 16 2015 Automatic Build System <autodist@mambasoft.it> 3.3.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:32:26 +01:00
|
|
|
* Mon Nov 03 2014 Automatic Build System <autodist@mambasoft.it> 3.3.10-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 10:32:26 +01:00
|
|
|
* Sat Aug 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.9-2mamba
|
|
|
|
- completed work started by Davide
|
|
|
|
|
|
|
|
* Tue Jul 22 2014 Davide Madrisan <davide.madrisan@gmail.com> 3.3.9-1mamba
|
|
|
|
- update to 3.3.9
|
|
|
|
|
|
|
|
* Sun Sep 18 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.8-5mamba
|
|
|
|
- added patch to support 2 components kernel versions (3.0)
|
|
|
|
|
|
|
|
* Sat May 07 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.8-4mamba
|
|
|
|
- added a better patch to fix 'Unknown HZ value' message (see http://bugs.gentoo.org/show_bug.cgi?id=303120#c33)
|
|
|
|
|
|
|
|
* Fri Aug 20 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.8-3mamba
|
|
|
|
- fix the make 3.82 fix to restore build of /bin/ps
|
|
|
|
|
|
|
|
* Wed Aug 18 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.8-2mamba
|
|
|
|
- added Makefile fix for build with make 3.82
|
|
|
|
|
|
|
|
* Sat Jun 06 2009 Automatic Build System <autodist@mambasoft.it> 3.2.8-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Jun 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.7-2mamba
|
|
|
|
- specfile updated
|
|
|
|
|
|
|
|
* Tue Oct 03 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.7-1qilnx
|
|
|
|
- update to version 3.2.7 by autospec
|
|
|
|
|
|
|
|
* Wed Jun 28 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 3.2.6-1qilnx
|
|
|
|
- update to version 3.2.6 by autospec
|
|
|
|
|
|
|
|
* Mon Sep 12 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.5-1qilnx
|
|
|
|
- update to version 3.2.5 by autospec
|
|
|
|
|
|
|
|
* Fri Jul 09 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-1qilnx
|
|
|
|
- new version build
|
|
|
|
|
|
|
|
* Sun Nov 30 2003 Davide Madrisan <davide.madrisan@qilinux.it> 3.1.14-1qilnx
|
|
|
|
- rebuilt with latest version (linux 2.6.x compatible version)
|
|
|
|
|
|
|
|
* Wed Apr 09 2003 Mirko Cortillaro <mirko.cortillaro@qinet.it>
|
|
|
|
- write a spec file for procps
|