Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
icinga
:
production
>
ix-isac-push
> ix-isac-push.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File ix-isac-push.spec of Package ix-isac-push
%define pkg_name ix-monitoring-event-handler %define pkg_version 0.1 %define monitor icinga Name: ix-isac-push Version: %{pkg_version} Release: 0 Url: http://www.internetx.com/ License: unknown Source0: %{pkg_name}.tar.gz Source1: ix-isac-push.cfg Group: System/Monitoring Summary: Icinga2ISAC push handler BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: perl(Switch) BuildRequires: perl(JSON) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(HTTP::Cookies) BuildRequires: perl(Log::Log4perl) Requires: perl(Switch) Requires: perl(JSON) Requires: perl(LWP::UserAgent) Requires: perl(HTTP::Cookies) Requires: perl(Log::Log4perl) BuildRequires: -post-build-checks %description InterNetX Monitoring push handler for ISAC / ISAC App. %prep %setup -n %pkg_name %build %install %__install -d -m0755 %{buildroot}%{_prefix}/local/ISACMonitoringEventhandler %__cp ISAC-IcingaEventhandler/*.sh ISAC-IcingaEventhandler/*.conf ISAC-IcingaEventhandler/*.pl %{buildroot}%{_prefix}/local/ISACMonitoringEventhandler/ chmod +x %{buildroot}%{_prefix}/local/ISACMonitoringEventhandler/*.sh chmod +x %{buildroot}%{_prefix}/local/ISACMonitoringEventhandler/*.pl %__install -D -m0644 %{S:1} %{buildroot}%{_sysconfdir}/%{monitor}/base/ix-isac-push.cfg %files %defattr(-,root,root) %dir %{_prefix}/local/ISACMonitoringEventhandler %{_prefix}/local/ISACMonitoringEventhandler/* %dir %{_sysconfdir}/%{monitor} %dir %{_sysconfdir}/%{monitor}/base %config %{_sysconfdir}/%{monitor}/base/ix-isac-push.cfg %changelog