]> granicus.if.org Git - icinga2/blob - icinga2.spec
spec: Fix buildrequires.
[icinga2] / icinga2.spec
1 Summary: network monitoring application
2 Name: icinga2
3 Version: 0.0.2
4 Release: 1%{?dist}
5 License: GPL
6 Group: Applications/System
7 Source: %{name}-%{version}.tar.gz
8 URL: http://www.icinga.org/
9 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
10
11 BuildRequires: asciidoc
12 BuildRequires: docbook-simple
13 BuildRequires: doxygen
14 BuildRequires: openssl-devel
15 BuildRequires: gcc-c++
16 BuildRequires: libstdc++-devel
17 BuildRequires: libtool-ltdl-devel
18 BuildRequires: boost
19 BuildRequires: boost-devel
20 BuildRequires: boost-test
21
22 %description
23 Icinga is a general-purpose network monitoring application.
24
25 %prep
26 %setup -q -n %{name}-%{version}
27
28 %build
29 %configure
30 make %{?_smp_mflags}
31
32 %install
33 [ "%{buildroot}" != "/" ] && [ -d "%{buildroot}" ] && rm -rf %{buildroot}
34 make install DESTDIR=%{buildroot}
35
36 %clean
37 [ "%{buildroot}" != "/" ] && [ -d "%{buildroot}" ] && rm -rf %{buildroot}
38
39 %files
40 %defattr(-,root,root)
41 %{_sysconfdir}/%{name}
42 #%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
43 %attr(755,-,-) %{_sysconfdir}/init.d/%{name}
44 %{_bindir}/%{name}
45 %{_libdir}/%{name}
46 %{_datadir}/doc/%{name}
47 %{_datadir}/%{name}
48 %{_datadir}/%{name}/itl
49 %{_mandir}/man8/%{name}.8.gz
50
51
52
53 %changelog
54 * Sat May 04 2013 Michael Friedrich <michael.friedrich@netways.de> - 0.0.2-1
55 - new initscript in initdir
56 - itl is installed into datadir
57 - man pages in mandir
58 - use name macro to avoid typos
59
60 * Fri Nov 19 2012 Gunnar Beutner <gunnar.beutner@netways.de> - 0.0.1-1
61 - initial version