ALT Linux repositórios
Group :: Monitoramento
RPM: apachetop
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%def_without fam
Name: apachetop
Version: 0.12.6
Release: alt1
Epoch: 20060605
Summary: ApacheTop is top-like utility for Apache
License: BSD
Group: Monitoring
Url: http://clueful.shagged.org/apachetop
Source: %url/files/%name-%version.tar.gz
Patch0: http://security.debian.org/pool/updates/main/a/apachetop/apachetop_0.12.5-1sarge1.diff.gz
Patch1: apachetop-0.12.6-gcc41.patch
Summary(ru_RU.KOI8-R): ApacheTop -- top'ÏÏÂÒÁÚÎÁÑ ÕÔÉÌÉÔÁ ÄÌÑ Apache
Summary(uk_UA.KOI8-U): ApacheTop -- top'ÏÏÂÒÁÚÎÁ ÕÔÉ̦ÔÁ ÄÌÑ Apache
# Automatically added by buildreq on Mon Jun 05 2006
BuildRequires: gcc-c++ libadns-devel libncurses-devel libpcre-devel libreadline-devel
%if_with fam
BuildRequires: libgamin-devel
%endif
%description
A curses-based top-like display for Apache information, including requests per
second, bytes per second, most popular URLs, etc.
%description -l ru_RU.KOI8-R
ëÏÎÓÏÌØÎÁÑ ÕÔÉÌÉÔÁ ÄÌÑ ÍÏÎÉÔÏÒÉÎÇÁ web-ÓÅÒ×ÅÒÁ Apache, ÐÏËÁÚÙ×ÁÀÝÁÑ ËÏÌÉÞÅÓÔ×Ï
ÚÁÐÒÏÓÏ×/ÂÁÊÔ × ÓÅËÕÎÄÕ, ÎÁÉÂÏÌÅÅ ÐÏÐÕÌÑÒÎÙÅ ÁÄÒÅÓÁ É Ô.Ð.
%description -l uk_UA.KOI8-U
ëÏÎÓÏÌØÎÁ ÕÔÉ̦ÔÁ ÄÌÑ ÍÏΦÔÏÒÉÎÇÕ web-ÓÅÒ×ÅÒÕ Apache, ÝÏ ÐÏËÁÚÕ¤ ˦ÌØ˦ÓÔØ
ÚÁÐÉÔ¦×/ÂÁÊÔ Õ ÓÅËÕÎÄÕ, ÎÁʦÌØÛ ÐÏÐÕÌÑÒΦ ÁÄÒÅÓÉ ÔÁ ¦Î.
%prep
%setup -q
%patch1 -b .gcc41
%build
subst 's,pcre.h,pcre/pcre.h,g' src/apachetop.h configure
%configure --with-logfile=%_logdir/httpd/access_log --without-fam
%make_build
%install
%makeinstall
%files
%_bindir/*
%doc AUTHORS ChangeLog LICENSE NEWS README TODO
%doc %_man1dir/*
# TODO:
# - some wrapper to point at /var/log/httpd/access_log ?
# (until proper multi-host infrastructure is in place)
%changelog
…
Todas as alterações você pod ver aqui
Name: apachetop
Version: 0.12.6
Release: alt1
Epoch: 20060605
Summary: ApacheTop is top-like utility for Apache
License: BSD
Group: Monitoring
Url: http://clueful.shagged.org/apachetop
Source: %url/files/%name-%version.tar.gz
Patch0: http://security.debian.org/pool/updates/main/a/apachetop/apachetop_0.12.5-1sarge1.diff.gz
Patch1: apachetop-0.12.6-gcc41.patch
Summary(ru_RU.KOI8-R): ApacheTop -- top'ÏÏÂÒÁÚÎÁÑ ÕÔÉÌÉÔÁ ÄÌÑ Apache
Summary(uk_UA.KOI8-U): ApacheTop -- top'ÏÏÂÒÁÚÎÁ ÕÔÉ̦ÔÁ ÄÌÑ Apache
# Automatically added by buildreq on Mon Jun 05 2006
BuildRequires: gcc-c++ libadns-devel libncurses-devel libpcre-devel libreadline-devel
%if_with fam
BuildRequires: libgamin-devel
%endif
%description
A curses-based top-like display for Apache information, including requests per
second, bytes per second, most popular URLs, etc.
%description -l ru_RU.KOI8-R
ëÏÎÓÏÌØÎÁÑ ÕÔÉÌÉÔÁ ÄÌÑ ÍÏÎÉÔÏÒÉÎÇÁ web-ÓÅÒ×ÅÒÁ Apache, ÐÏËÁÚÙ×ÁÀÝÁÑ ËÏÌÉÞÅÓÔ×Ï
ÚÁÐÒÏÓÏ×/ÂÁÊÔ × ÓÅËÕÎÄÕ, ÎÁÉÂÏÌÅÅ ÐÏÐÕÌÑÒÎÙÅ ÁÄÒÅÓÁ É Ô.Ð.
%description -l uk_UA.KOI8-U
ëÏÎÓÏÌØÎÁ ÕÔÉ̦ÔÁ ÄÌÑ ÍÏΦÔÏÒÉÎÇÕ web-ÓÅÒ×ÅÒÕ Apache, ÝÏ ÐÏËÁÚÕ¤ ˦ÌØ˦ÓÔØ
ÚÁÐÉÔ¦×/ÂÁÊÔ Õ ÓÅËÕÎÄÕ, ÎÁʦÌØÛ ÐÏÐÕÌÑÒΦ ÁÄÒÅÓÉ ÔÁ ¦Î.
%prep
%setup -q
%patch1 -b .gcc41
%build
subst 's,pcre.h,pcre/pcre.h,g' src/apachetop.h configure
%configure --with-logfile=%_logdir/httpd/access_log --without-fam
%make_build
%install
%makeinstall
%files
%_bindir/*
%doc AUTHORS ChangeLog LICENSE NEWS README TODO
%doc %_man1dir/*
# TODO:
# - some wrapper to point at /var/log/httpd/access_log ?
# (until proper multi-host infrastructure is in place)
%changelog
…
Todas as alterações você pod ver aqui