Group :: Monitoramento
RPM: htop
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: htop
Version: 0.8.3
Release: alt2
Summary: Interactive ncurses-based process viewer for Linux
License: GPL
Group: Monitoring
Url: http://htop.sourceforge.net
Source0: http://heanet.dl.sourceforge.net/sourceforge/%name/%name-%version.tar.gz
Source1: %name.ru.1
%def_enable openvz
%def_enable unicode
%def_enable taskstats
BuildRequires: /proc
BuildPreReq: libncurses-devel
%if_enabled unicode
BuildPreReq: libncursesw-devel
%endif
%define rman1dir %_mandir/ru/man1
Summary(ru_RU.KOI8-R): éÎÔÅÒÁËÔÉ×ÎÙÊ ÐÒÏÓÍÏÔÒ ÓÐÉÓËÁ ÚÁÐÕÝÅÎÎÙÈ ÐÒÏÃÅÓÓÏ×
%description
%name is similar to top, but allows to scroll the list vertically
and horizontally to see all processes and their full command lines.
Tasks related to processes (killing, renicing)
can be done without entering their PIDs.
%description -l ru_RU.KOI8-R
%name ÓÌÕÖÉÔ ÄÌÑ ÐÒÏÓÍÏÔÒÁ ÓÐÉÓËÁ ÚÁÐÕÝÅÎÎÙÈ ÐÒÏÃÅÓÓÏ×.
ðÏ ÓÒÁ×ÎÅÎÉÀ Ó ËÌÁÓÓÉÞÅÓËÉÍ top ÏÎ ÕÓÏ×ÅÒÛÅÎÓÔ×Ï×ÁÎ ÓÌÅÄÕÀÝÉÍ ÏÂÒÁÚÏÍ:
* ÅÓÌÉ ÓÐÉÓÏË ÐÒÏÃÅÓÓÏ× ÎÅ ×ÌÅÚÁÅÔ × ÜËÒÁÎ ÐÏ ×ÙÓÏÔÅ,
ÅÇÏ ÍÏÖÎÏ ÐÒÏÌÉÓÔÙ×ÁÔØ ××ÅÒÈ/×ÎÉÚ,
* ÅÓÌÉ ÉÎÆÏÒÍÁÃÉÑ Ï ÐÒÏÃÅÓÓÅ ÎÅ ×ÌÅÚÁÅÔ × ÜËÒÁÎ ÐÏ ÛÉÒÉÎÅ,
Å£ ÍÏÖÎÏ ÐÒÏËÒÕÞÉ×ÁÔØ ×ÐÒÁ×Ï/×ÌÅ×Ï,
* ÄÅÊÓÔ×ÉÑ ÎÁÄ ÐÒÏÃÅÓÓÁÍÉ (ÓÍÅÎÁ ÐÒÉÏÒÉÔÅÔÁ, ÕÄÁÌÅÎÉÅ)
ÎÅ ÔÒÅÂÕÀÔ ×ÒÕÞÎÕÀ ××ÏÄÉÔØ ÉÄÅÎÔÉÆÉËÁÔÏÒ ÐÒÏÃÅÓÓÁ (PID),
* ×ÏÚÍÏÖÎÙ ÄÅÊÓÔ×ÉÑ ÎÁÄ ÇÒÕÐÐÁÍÉ ÐÒÏÃÅÓÓÏ×.
htop ÉÓÐÏÌØÚÕÅÔ ÄÌÑ ÒÁÂÏÔÙ Ó ÜËÒÁÎÏÍ ÂÉÂÌÉÏÔÅËÕ ncurses.
%prep
%setup
%build
%configure -C \
%{subst_enable openvz} \
%{subst_enable unicode} \
%{subst_enable taskstats}
%make_build
%install
%makeinstall_std
install -pDm644 %SOURCE1 %buildroot%rman1dir/%name.1
install -pDm644 %name.png %buildroot%_iconsdir/%name.png
%files
%_bindir/%name
%_man1dir/%name.1*
%rman1dir/%name.1*
%doc AUTHORS README ChangeLog
%_desktopdir/%name.*
%_pixmapsdir/%name.*
%_iconsdir/%name.*
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.8.3
Release: alt2
Summary: Interactive ncurses-based process viewer for Linux
License: GPL
Group: Monitoring
Url: http://htop.sourceforge.net
Source0: http://heanet.dl.sourceforge.net/sourceforge/%name/%name-%version.tar.gz
Source1: %name.ru.1
%def_enable openvz
%def_enable unicode
%def_enable taskstats
BuildRequires: /proc
BuildPreReq: libncurses-devel
%if_enabled unicode
BuildPreReq: libncursesw-devel
%endif
%define rman1dir %_mandir/ru/man1
Summary(ru_RU.KOI8-R): éÎÔÅÒÁËÔÉ×ÎÙÊ ÐÒÏÓÍÏÔÒ ÓÐÉÓËÁ ÚÁÐÕÝÅÎÎÙÈ ÐÒÏÃÅÓÓÏ×
%description
%name is similar to top, but allows to scroll the list vertically
and horizontally to see all processes and their full command lines.
Tasks related to processes (killing, renicing)
can be done without entering their PIDs.
%description -l ru_RU.KOI8-R
%name ÓÌÕÖÉÔ ÄÌÑ ÐÒÏÓÍÏÔÒÁ ÓÐÉÓËÁ ÚÁÐÕÝÅÎÎÙÈ ÐÒÏÃÅÓÓÏ×.
ðÏ ÓÒÁ×ÎÅÎÉÀ Ó ËÌÁÓÓÉÞÅÓËÉÍ top ÏÎ ÕÓÏ×ÅÒÛÅÎÓÔ×Ï×ÁÎ ÓÌÅÄÕÀÝÉÍ ÏÂÒÁÚÏÍ:
* ÅÓÌÉ ÓÐÉÓÏË ÐÒÏÃÅÓÓÏ× ÎÅ ×ÌÅÚÁÅÔ × ÜËÒÁÎ ÐÏ ×ÙÓÏÔÅ,
ÅÇÏ ÍÏÖÎÏ ÐÒÏÌÉÓÔÙ×ÁÔØ ××ÅÒÈ/×ÎÉÚ,
* ÅÓÌÉ ÉÎÆÏÒÍÁÃÉÑ Ï ÐÒÏÃÅÓÓÅ ÎÅ ×ÌÅÚÁÅÔ × ÜËÒÁÎ ÐÏ ÛÉÒÉÎÅ,
Å£ ÍÏÖÎÏ ÐÒÏËÒÕÞÉ×ÁÔØ ×ÐÒÁ×Ï/×ÌÅ×Ï,
* ÄÅÊÓÔ×ÉÑ ÎÁÄ ÐÒÏÃÅÓÓÁÍÉ (ÓÍÅÎÁ ÐÒÉÏÒÉÔÅÔÁ, ÕÄÁÌÅÎÉÅ)
ÎÅ ÔÒÅÂÕÀÔ ×ÒÕÞÎÕÀ ××ÏÄÉÔØ ÉÄÅÎÔÉÆÉËÁÔÏÒ ÐÒÏÃÅÓÓÁ (PID),
* ×ÏÚÍÏÖÎÙ ÄÅÊÓÔ×ÉÑ ÎÁÄ ÇÒÕÐÐÁÍÉ ÐÒÏÃÅÓÓÏ×.
htop ÉÓÐÏÌØÚÕÅÔ ÄÌÑ ÒÁÂÏÔÙ Ó ÜËÒÁÎÏÍ ÂÉÂÌÉÏÔÅËÕ ncurses.
%prep
%setup
%build
%configure -C \
%{subst_enable openvz} \
%{subst_enable unicode} \
%{subst_enable taskstats}
%make_build
%install
%makeinstall_std
install -pDm644 %SOURCE1 %buildroot%rman1dir/%name.1
install -pDm644 %name.png %buildroot%_iconsdir/%name.png
%files
%_bindir/%name
%_man1dir/%name.1*
%rman1dir/%name.1*
%doc AUTHORS README ChangeLog
%_desktopdir/%name.*
%_pixmapsdir/%name.*
%_iconsdir/%name.*
%changelog
…
Todas as alterações você pod ver aqui