icinga2/icinga2.spec

58 lines
1.3 KiB
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
Version: 0.0.2
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)
%{_sysconfdir}/%{name}
#%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
%attr(755,-,-) %{_sysconfdir}/init.d/%{name}
%{_sbindir}/%{name}
%{_libdir}/%{name}
%{_datadir}/doc/%{name}
%{_datadir}/%{name}
%{_datadir}/%{name}/itl
%{_mandir}/man8/%{name}.8.gz
%changelog
* Sat May 04 2013 Michael Friedrich <michael.friedrich@netways.de> - 0.0.2-1
- icinga2 binary in sbindir
- 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 <gunnar.beutner@netways.de> - 0.0.1-1
- initial version