From 94b977ac24fc146bc836bd09e3f98759e8712a22 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Sat, 4 May 2013 17:49:28 +0200 Subject: [PATCH] icinga2.spec: show some love for proper builds - icinga2 binary location changed to sbin/ - new initscript - itl is installed into share/ - man pages in man/ - use name macro for every 'icinga2' occurence - add a changelog update to 0.0.2 release fixes #4050 --- icinga2.spec | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/icinga2.spec b/icinga2.spec index e9774cf47..cdb43aef3 100644 --- a/icinga2.spec +++ b/icinga2.spec @@ -1,6 +1,6 @@ Summary: network monitoring application Name: icinga2 -Version: 0.0.1 +Version: 0.0.2 Release: 1%{?dist} License: GPL Group: Applications/System @@ -33,7 +33,25 @@ make install DESTDIR=%{buildroot} %files %defattr(-,root,root) -%{_bindir}/icinga2 -%{_datadir}/doc/icinga2 -%{_libdir}/icinga2 -%{_sysconfdir}/icinga2 +%{_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 - 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 - 0.0.1-1 +- initial version