[icinga-checkins] icinga.org: icinga-core/dev/cgis: icinga.spec: add devel package #2634

git at icinga.org git at icinga.org
Wed Aug 1 03:00:27 CEST 2012


Module: icinga-core
Branch: dev/cgis
Commit: a01b75af539b18489365dd79c0e9951085313ef8
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=a01b75af539b18489365dd79c0e9951085313ef8

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Jul  6 17:06:59 2012 +0200

icinga.spec: add devel package #2634

refs #2634

---

 Changelog   |    3 +++
 icinga.spec |   20 ++++++++++++++++++++
 2 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/Changelog b/Changelog
index d86f237..788ee0c 100644
--- a/Changelog
+++ b/Changelog
@@ -11,11 +11,14 @@ ENHANCEMENTS
 * core: try the most common macros ($ARGn$, $USERn$) first (Andreas Ericsson) #2674
 * core: handle passive checks via external commands the same way as active checks, bypassing the temp check result file and reaper (Andreas Ericsson) #2687
 
+* icinga.spec: add devel package 2634
+
 FIXES
 * core: unify check scheduling replacement logic for new events (Andreas Ericsson) #2676
 * core: get rid of the instame macro usage while logging alerts and states (Andreas Ericsson) #2665
 
 CHANGES
+* icinga.spec: add devel package #2634
 
 1.7.1 - 18/06/2012
 
diff --git a/icinga.spec b/icinga.spec
index 2336d0f..b44b1db 100644
--- a/icinga.spec
+++ b/icinga.spec
@@ -62,6 +62,15 @@ Requires: %{name}-doc
 %description gui
 This package contains the webgui (html,css,cgi etc.) for %{name}
 
+%package devel
+Summary: Provides include files that Icinga-related applications may compile against
+Group: Development/Libraries/C and C++
+Requires: %{name} = %{version}
+
+%description devel
+This package provides include files that Icinga-related applications
+may compile against.
+
 %package idoutils-libdbi-mysql
 Summary: database broker module for %{name}
 Group: Applications/System
@@ -176,6 +185,10 @@ install -D -m 0644 icinga.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/%{nam
 # install sample htpasswd file
 install -D -m 0644 icinga.htpasswd %{buildroot}%{_sysconfdir}/%{name}/passwd
 
+# install headers for development package
+install -d -m0755 "%{buildroot}%{_includedir}/%{name}/"
+install -m0644 include/*.h "%{buildroot}%{_includedir}/%{name}"
+
 %pre
 # Add icinga user
 %{_sbindir}/groupadd icinga 2> /dev/null || :
@@ -355,6 +368,9 @@ fi
 %attr(664,icinga,icingacmd) %{logdir}/gui/index.htm
 %attr(664,icinga,icingacmd) %{logdir}/gui/.htaccess
 
+%files devel
+%defattr(-,root,root)
+%{_includedir}/%{name}/
 
 %files idoutils-libdbi-mysql
 %defattr(-,root,root,-)
@@ -382,6 +398,10 @@ fi
 
 
 %changelog
+* Fri Jul 06 2012 Michael Friedrich <michael.friedrich at univie.ac.at> - 1.8.0-1
+- bump version
+- add devel package, installing header files to include/
+
 * Sun May 06 2012 Michael Friedrich <michael.friedrich at univie.ac.at> - 1.7.0-1
 - drop idoutils, add idoutils-libdbi-mysql and idoutils-libdbi-pgsql
 - add requires for libdbi drivers mysql and pgsql





More information about the icinga-checkins mailing list