Группа :: Мониторинг
Пакет: flow-capture
Главная Изменения Спек Патчи Загрузить Bugs and FR
%define name flow-capture
%define iscript %name.init
%define sconfig %name.sysconfig
%define flowdir %_logdir/%name
Name: %name
Version: 0.1
Release: alt0.M24.2
Summary: Flow-capture in Netflow collector program
License: GPL
Group: Monitoring
Source: %name-%version.tgz
BuildArch: noarch
Provides: flow-capture-collector
Requires: flow-tools
%description
Flow-capture in Netflow collector program
NOTE: This package DOES NOT contain flow-capture binary itself (it
belong to flow-tools package). This package contain addition componets
(SySV init script and config), to enable you gather netflow statistics
with some netflow sensor (ipcad, fprobe or other).
%prep
%setup
%build
%install
%__mkdir_p %buildroot%_initdir
%__install %iscript %buildroot%_initdir/%name
%__mkdir_p %buildroot%_sysconfdir/sysconfig
%__install %sconfig %buildroot%_sysconfdir/sysconfig/%name
%__mkdir_p %buildroot%flowdir
%post
%post_service %name
%preun
%preun_service %name
%files
%_initdir/%name
%config(noreplace) %_sysconfdir/sysconfig/%name
%dir
%flowdir
%changelog
…
Полный changelog можно просмотреть здесь
%define iscript %name.init
%define sconfig %name.sysconfig
%define flowdir %_logdir/%name
Name: %name
Version: 0.1
Release: alt0.M24.2
Summary: Flow-capture in Netflow collector program
License: GPL
Group: Monitoring
Source: %name-%version.tgz
BuildArch: noarch
Provides: flow-capture-collector
Requires: flow-tools
%description
Flow-capture in Netflow collector program
NOTE: This package DOES NOT contain flow-capture binary itself (it
belong to flow-tools package). This package contain addition componets
(SySV init script and config), to enable you gather netflow statistics
with some netflow sensor (ipcad, fprobe or other).
%prep
%setup
%build
%install
%__mkdir_p %buildroot%_initdir
%__install %iscript %buildroot%_initdir/%name
%__mkdir_p %buildroot%_sysconfdir/sysconfig
%__install %sconfig %buildroot%_sysconfdir/sysconfig/%name
%__mkdir_p %buildroot%flowdir
%post
%post_service %name
%preun
%preun_service %name
%files
%_initdir/%name
%config(noreplace) %_sysconfdir/sysconfig/%name
%dir
%flowdir
%changelog
…
Полный changelog можно просмотреть здесь