Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37731770
en ru br
ALT Linux repos
S:23.6-alt1
5.0: 22.3-alt1
4.1: 22.3-alt1
4.0: 22.3-alt1
3.0: 21.6-alt1

Group :: Monitoring
RPM: psmisc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: psmisc
Version: 22.3
Release: alt1

Summary: Utilities for managing processes on your system
License: GPL
Group: Monitoring
Url: http://psmisc.sourceforge.net/
Packager: Dmitry V. Levin <ldv at altlinux.org>
Source: ftp://ftp.sourceforge.net/pub/sourceforge/p/ps/psmisc/%name-%version-%release.tar

Requires: SysVinit

# Automatically added by buildreq on Tue Mar 15 2005

BuildRequires: cvs gzip-utils libncurses-devel libtinfo-devel

Summary(ru_RU.KOI8-R): Утилиты для управления процессами операционной системы

%description
This 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.

%description -l ru_RU.KOI8-R
Данный пакет содержит три утилиты для управления процессами операционной
системы:
* pstree выводит список запущенных процессов в виде иерархического дерева;
* killall посылает указанный сигнал (по умолчанию SIGTERM) всем процессам
 с указанным именем;
* fuser показывает идентификатор процесса, использующего указанный файл,
 каталог или порт TCP/UDP.

%prep
%setup -q -n %name-%version-%release

%build
%configure
%make_build
%make_build -C po ru.gmo

%install
%makeinstall
mkdir -p %buildroot/sbin
mv %buildroot%_bindir/fuser %buildroot/sbin/

pushd %buildroot%_bindir/
ln -sf pstree pstree.x11
popd

# Make reference to pidof(8) from SysVinit package.

%__subst -p 's,pidof(1),pidof(8),' %buildroot%_man1dir/*

%find_lang %name

%files -f %name.lang
/sbin/*
%_bindir/*
%_man1dir/*
%doc AUTHORS ChangeLog NEWS README

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin