[icinga-checkins] icinga.org: icinga2/master: icinga2.spec: show some love for proper builds

git at icinga.org git at icinga.org
Sat May 4 17:53:24 CEST 2013


Module: icinga2
Branch: master
Commit: 94b977ac24fc146bc836bd09e3f98759e8712a22
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=94b977ac24fc146bc836bd09e3f98759e8712a22

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Sat May  4 17:49:28 2013 +0200

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 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/icinga2.spec b/icinga2.spec
index e9774cf..cdb43ae 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 <michael.friedrich at 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 at netways.de> - 0.0.1-1
+- initial version





More information about the icinga-checkins mailing list