2024-01-06 10:34:11 +01:00
|
|
|
Name: psmisc
|
2024-01-06 10:34:12 +01:00
|
|
|
Version: 23.6
|
|
|
|
Release: 1mamba
|
2024-01-06 10:34:11 +01:00
|
|
|
Summary: Small utilities that use the /proc filesystem
|
|
|
|
Group: System/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 10:34:11 +01:00
|
|
|
URL: https://gitlab.com/psmisc/psmisc
|
2024-01-06 10:34:11 +01:00
|
|
|
Source: https://gitlab.com/psmisc/psmisc.git/v%{version}/psmisc-%{version}.tar.bz2
|
2024-01-06 10:34:11 +01:00
|
|
|
Patch0: psmisc-22.20-selinux-scontext.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libncurses-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: gettext-devel
|
2024-01-06 10:34:11 +01:00
|
|
|
Provides: /bin/fuser
|
2024-01-06 10:34:11 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The psmisc package contains utilities for managing processes on your system: pstree, killall and fuser.
|
|
|
|
The pstree command displays a tree structure of all of the running processes on your system.
|
|
|
|
The killall command sends a specified signal (SIGTERM if nothing is specified) to processes identified by name.
|
|
|
|
The fuser command identifies the PIDs of processes that are using specified files or filesystems.
|
|
|
|
|
2024-01-06 10:34:11 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 10:34:11 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
#%patch0 -p1
|
2024-01-06 10:34:11 +01:00
|
|
|
sed -i "/--wrap-po no/d" man-po/Makefile*
|
2024-01-06 10:34:11 +01:00
|
|
|
./autogen.sh
|
|
|
|
|
2024-01-06 10:34:11 +01:00
|
|
|
%build
|
2024-01-06 10:34:11 +01:00
|
|
|
%configure \
|
|
|
|
%if "%{stage1}" != "1"
|
|
|
|
--enable-selinux \
|
|
|
|
%endif
|
|
|
|
%if "%{_host}" != "%{_build}"
|
|
|
|
ac_cv_func_malloc_0_nonnull=yes \
|
|
|
|
ac_cv_func_realloc_0_nonnull=yes
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-06 10:34:11 +01:00
|
|
|
%find_lang %{name} --with-man --all-name
|
2024-01-06 10:34:11 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 10:34:11 +01:00
|
|
|
%{_bindir}/fuser
|
2024-01-06 10:34:11 +01:00
|
|
|
%{_bindir}/peekfd
|
|
|
|
%{_bindir}/killall
|
|
|
|
%{_bindir}/prtstat
|
2024-01-06 10:34:11 +01:00
|
|
|
%{_bindir}/pslog
|
2024-01-06 10:34:11 +01:00
|
|
|
%{_bindir}/pstree
|
|
|
|
%{_bindir}/pstree.x11
|
2024-01-06 10:34:11 +01:00
|
|
|
%{_mandir}/man1/fuser.1*
|
|
|
|
%{_mandir}/man1/killall.1*
|
|
|
|
%{_mandir}/man1/prtstat.1*
|
|
|
|
%{_mandir}/man1/pslog.1*
|
|
|
|
%{_mandir}/man1/pstree.1*
|
|
|
|
%{_mandir}/man1/peekfd.1*
|
2024-01-06 10:34:11 +01:00
|
|
|
%doc AUTHORS COPYING
|
2024-01-06 10:34:11 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:34:12 +01:00
|
|
|
* Tue Dec 13 2022 Automatic Build System <autodist@mambasoft.it> 23.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:34:11 +01:00
|
|
|
* Fri May 27 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 23.5-2mamba
|
|
|
|
- provide /bin/fuser required by openmamba-lsb-core
|
|
|
|
|
|
|
|
* Thu May 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 23.5-1mamba
|
|
|
|
- update to 23.5
|
|
|
|
|
2024-01-06 10:34:11 +01:00
|
|
|
* Sat Mar 13 2021 Automatic Build System <autodist@mambasoft.it> 23.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:34:11 +01:00
|
|
|
* Thu Nov 14 2019 Automatic Build System <autodist@mambasoft.it> 23.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:34:11 +01:00
|
|
|
* Mon May 27 2019 Automatic Build System <autodist@mambasoft.it> 23.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:34:11 +01:00
|
|
|
* Sat Feb 22 2014 Automatic Build System <autodist@mambasoft.it> 22.21-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Jun 29 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 22.20-2mamba
|
|
|
|
- arm: rebuild with recent ncurses to fix undefined symbol: __aeabi_idiv
|
|
|
|
|
|
|
|
* Fri Jan 18 2013 Automatic Build System <autodist@mambasoft.it> 22.20-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Aug 10 2012 Automatic Build System <autodist@mambasoft.it> 22.19-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jun 26 2011 Automatic Build System <autodist@mambasoft.it> 22.14-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Oct 03 2010 Automatic Build System <autodist@mambasoft.it> 22.13-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Jul 31 2010 Automatic Build System <autodist@mambasoft.it> 22.12-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Jun 25 2010 Automatic Build System <autodist@mambasoft.it> 22.11-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Jun 03 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 22.6-1mamba
|
|
|
|
- update to 22.6
|
|
|
|
- removed fuser-ipv6 patch applied upstream
|
|
|
|
|
|
|
|
* Tue Mar 27 2007 Davide Madrisan <davide.madrisan@qilinux.it> 22.3-2qilnx
|
|
|
|
- fuser moved to the /bin directory (should be in /sbin but users need it)
|
|
|
|
|
|
|
|
* Fri Mar 23 2007 Davide Madrisan <davide.madrisan@qilinux.it> 22.3-1qilnx
|
|
|
|
- update to version 22.3 by autospec
|
|
|
|
- fuser moved to /sbin for lsb compliance
|
|
|
|
|
|
|
|
* Thu Dec 15 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 21.8-1qilnx
|
|
|
|
- update to version 21.8 by autospec
|
|
|
|
- specfile updated and fixed
|
|
|
|
- fixed package group
|
|
|
|
|
|
|
|
* Mon Jun 16 2003 Silvan Calarco <silvan.calarco@qinet.it> 21.3-1qilnx
|
|
|
|
- changed location of files
|
|
|
|
|
|
|
|
* Mon Apr 09 2003 Alessandro Ramazzina <alessandro.ramazzina@qinet.it>
|
|
|
|
- creation of psmisc package
|