icinga2/icinga2.spec

40 lines
840 B
Plaintext
Raw Normal View History

2012-05-26 14:42:03 +02:00
Summary: network monitoring application
2012-05-26 23:12:46 +02:00
Name: icinga2
2012-10-15 14:57:50 +02:00
Version: 2.0.0a1
2012-05-26 23:12:46 +02:00
Release: 1%{?dist}
2012-05-26 14:42:03 +02:00
License: GPL
2012-05-26 23:12:46 +02:00
Group: Applications/System
2012-05-27 16:21:50 +02:00
Source: %{name}-%{version}.tar.gz
2012-05-26 14:42:03 +02:00
URL: http://www.icinga.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: openssl-devel
BuildRequires: gcc-c++
2012-05-27 16:21:50 +02:00
BuildRequires: boost
BuildRequires: boost-devel
BuildRequires: boost-test
2012-05-26 14:42:03 +02:00
%description
2012-05-27 16:21:50 +02:00
Icinga is a general-purpose network monitoring application.
2012-05-26 14:42:03 +02:00
%prep
2012-05-27 16:21:50 +02:00
%setup -q -n %{name}-%{version}
2012-05-26 14:42:03 +02:00
%build
2012-05-27 16:21:50 +02:00
%configure
make %{?_smp_mflags}
2012-05-26 14:42:03 +02:00
%install
2012-05-27 16:21:50 +02:00
[ "%{buildroot}" != "/" ] && [ -d "%{buildroot}" ] && rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
2012-05-26 14:42:03 +02:00
%clean
2012-05-27 16:21:50 +02:00
[ "%{buildroot}" != "/" ] && [ -d "%{buildroot}" ] && rm -rf %{buildroot}
2012-05-26 14:42:03 +02:00
%files
%defattr(-,root,root)
%{_bindir}/icinga2
2012-05-27 16:21:50 +02:00
%{_datadir}/doc/icinga2
%{_libdir}/icinga2
%{_sysconfdir}/icinga2