Group :: Monitoring
RPM: psmisc
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: psmisc
Version: 21.6
Release: alt1
Summary: Utilities for managing processes on your system
License: GPL
Group: Monitoring
Url: http://%name.sourceforge.net/
Source: http://mesh.dl.sourceforge.net/sourceforge/%name/%name-%version.tar.gz
Patch1: %name-21.4-alt-fuser_kill.patch
Patch2: %name-21.5-owl-alt-pstree-restricted-proc.patch
Patch3: %name-21.6-alt-tinfo.patch
Patch4: %name-21.4-alt-progname.patch
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
The %name 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
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
# Fix gettextization.
if [ ! -s po/LINGUAS ]; then
%__sed -ne 's/^ALL_LINGUAS="\([^"]*\)"$/\1/p' configure.in >>po/LINGUAS
%__subst 's/^\(ALL_LINGUAS=\)/#\1/g' configure.in
fi
export lt_cv_prog_cc_static_works=no
autoreconf -fisv
%configure
%make_build
%install
%makeinstall
%__mkdir_p %buildroot/sbin
%__mv %buildroot%_bindir/fuser %buildroot/sbin/
pushd %buildroot%_bindir/
%__ln_s -f 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
Version: 21.6
Release: alt1
Summary: Utilities for managing processes on your system
License: GPL
Group: Monitoring
Url: http://%name.sourceforge.net/
Source: http://mesh.dl.sourceforge.net/sourceforge/%name/%name-%version.tar.gz
Patch1: %name-21.4-alt-fuser_kill.patch
Patch2: %name-21.5-owl-alt-pstree-restricted-proc.patch
Patch3: %name-21.6-alt-tinfo.patch
Patch4: %name-21.4-alt-progname.patch
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
The %name 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
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
# Fix gettextization.
if [ ! -s po/LINGUAS ]; then
%__sed -ne 's/^ALL_LINGUAS="\([^"]*\)"$/\1/p' configure.in >>po/LINGUAS
%__subst 's/^\(ALL_LINGUAS=\)/#\1/g' configure.in
fi
export lt_cv_prog_cc_static_works=no
autoreconf -fisv
%configure
%make_build
%install
%makeinstall
%__mkdir_p %buildroot/sbin
%__mv %buildroot%_bindir/fuser %buildroot/sbin/
pushd %buildroot%_bindir/
%__ln_s -f 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