Summary: network monitoring application Name: icinga2 Version: 0.0.2 Release: 1%{?dist} License: GPL Group: Applications/System Source: %{name}-%{version}.tar.gz URL: http://www.icinga.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: asciidoc BuildRequires: docbook-simple BuildRequires: doxygen BuildRequires: openssl-devel BuildRequires: gcc-c++ BuildRequires: libstdc++-devel BuildRequires: libtool-ltdl-devel BuildRequires: boost BuildRequires: boost-devel BuildRequires: boost-test %description Icinga is a general-purpose network monitoring application. %prep %setup -q -n %{name}-%{version} %build %configure make %{?_smp_mflags} %install [ "%{buildroot}" != "/" ] && [ -d "%{buildroot}" ] && rm -rf %{buildroot} make install DESTDIR=%{buildroot} # dist config mv %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf.dist %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf %clean [ "%{buildroot}" != "/" ] && [ -d "%{buildroot}" ] && rm -rf %{buildroot} %files %defattr(-,root,root) %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf %attr(755,-,-) %{_sysconfdir}/init.d/%{name} %{_bindir}/%{name} %{_libdir}/%{name} %{_datadir}/doc/%{name} %{_datadir}/%{name} %{_datadir}/%{name}/itl %{_mandir}/man8/%{name}.8.gz %changelog * Sat May 04 2013 Michael Friedrich - 0.0.2-1 - new initscript in initdir - itl is installed into datadir - man pages in mandir - use name macro to avoid typos * Fri Nov 19 2012 Gunnar Beutner - 0.0.1-1 - initial version