Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:Monitoring
dba-centreon-engine
dba-centreon-engine.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-centreon-engine.spec of Package dba-centreon-engine
%define real_name centreon-engine %define version 1.5.0 %define vers 1500 %define release 1 %define clibversion 1.4.2 %define prefix /DBA/%{real_name}/%{version} %define maketest 0 Name: dba-%{real_name} Summary: Centreon Engine is an network monitoring application Version: %{version} Release: %{release} Source: http://download.centreon.com/%{real_name}/%{real_name}-%{version}.tar.gz Source1: %{real_name}-rpmlintrc Patch1: remove_chown.patch License: GPL-2.0+ Group: System/Monitoring Url: http://www.centreon.com BuildRoot: %{_tmppath}/%{real_name}-%{version}-%{release}-buildroot %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif BuildRequires: gcc-c++ cmake >= 2.8 make BuildRequires: gsoap-devel gsoap BuildRequires: dba-centreon-clib BuildRequires: openssl-devel BuildRequires: zlib-devel BuildRequires: xerces-c-devel %description Centreon Engine is an Open Source system and network monitoring application. It watches hosts and services that you specify, alerting you when things go bad and when they get better. Some of the many features of Centreon Engine include: - monitoring of network services (SMTP, IMAP, HTTP, NNTP, PING ...). - monitoring of host resources (processor load, disk usage ...). - simple plugin design that allows users to easily develop their own service checks. - parallelized service checks. - ability to define network host hierarchy using .parent. hosts, allowing detection of and distinction between hosts that are down and those that are unreachable. - contact notifications when service or host problems occur and get resolved (via email, page, or user-defined method). - ability to define event handlers to be run during service or host events for proactive problem resolution. - automatic log file rotation. - support for implementing redundant monitoring hosts. %prep %setup -q -n %{real_name}-%{version} %patch1 -p0 %build cd build cmake \ -DWITH_PREFIX=%{prefix} \ -DWITH_USER=abuild \ -DWITH_GROUP=abuild \ -DWITH_LOGROTATE_SCRIPT=1 \ -DWITH_PKGCONFIG_SCRIPT=1 \ -DWITH_CENTREON_CLIB_INCLUDE_DIR=/DBA/centreon-clib/%{clibversion}/include \ -DWITH_CENTREON_CLIB_LIBRARY_DIR=/DBA/centreon-clib/%{clibversion}/lib \ -DWITH_TESTING=0 . # -DWITH_LOCK_FILE=/DBA/centreon-data/centreon-engine/var/log/centengine.lock # -DWITH_LOGROTATE_DIR=%{prefix}/etc/logrotate.d # -DWITH_STARTUP_DIR=%{prefix}/etc/init.d # -DWITH_USER=centreon-engine \ # -DWITH_GROUP=centreon-engine \ %{__make} %check %if %maketest %{__make} check %endif %install %if 0%{?suse_version:1} # disable rpath checking export NO_BRP_CHECK_RPATH=true %endif # not working in suse buildservice # cd build # %{__make} DESTDIR=%{buildroot} install # make %{?_smp_mflags} DESTDIR=%{buildroot} install %{__mkdir_p} %{buildroot}%{prefix}/include/centreon-engine %{__cp} -r inc/* %{buildroot}%{prefix}/include/centreon-engine %{__mkdir_p} %{buildroot}%{prefix}/etc %{__cp} -r conf/* %{buildroot}%{prefix}/etc %{__mkdir_p} %{buildroot}%{prefix}/lib/centreon-engine/ %{__install} -m 0755 build/modules/external_commands/externalcmd.so %{buildroot}%{prefix}/lib/centreon-engine/ %{__mkdir_p} %{buildroot}%{prefix}/lib/centreon-engine/pkgconfig %{__install} -m 0644 scripts/centengine.pc %{buildroot}%{prefix}/lib/centreon-engine/pkgconfig %{__mkdir_p} %{buildroot}%{prefix}/bin %{__install} -m 0755 build/centengine %{buildroot}%{prefix}/bin %{__install} -m 0755 build/centenginestats %{buildroot}%{prefix}/bin # add empty log and lib dirs %{__mkdir_p} %{buildroot}%{prefix}/var/lib/centreon %{__mkdir_p} %{buildroot}%{prefix}/var/log # %{__rm} -fr %{buildroot}/usr/lib/debug find %{buildroot} -name "*.cfg.in" -o -name "*.la" | xargs -i rm -vf {} %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %post cd %{prefix}/.. %{__rm} -f 1.latest %{__ln_s} -f %{version} 1.latest # add centengine.pc to pkgconfig directory if [ -d %{_libdir}/pkgconfig ]; then cd %{_libdir}/pkgconfig if [ -e centengine.pc ]; then %{__rm} -f centengine.pc fi %{__ln_s} -f %{prefix}/lib/centreon-engine/pkgconfig/centengine.pc . fi %files %defattr(-,root,root,-) %dir %{prefix} %{prefix}/* %changelog * Thu Apr 17 2015 Florian Asche <florian.asche@bertelsmann.de> - Update to 1.4.11 * Thu Aug 19 2014 Florian Asche <florian.asche@bertelsmann.de> - Removed Qt library * Thu Feb 20 2014 Holger Manthey <holger.manthey@bertelsmann.de> - inital version
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor