[icinga-checkins] icinga.org: icinga-core/rbartels/cgis: Put documentation in a separate package

git at icinga.org git at icinga.org
Sat Sep 4 12:32:54 CEST 2010


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

Author: Christoph Maser <cmr at financial.com>
Date:   Wed Sep  1 11:16:10 2010 +0200

Put documentation in a separate package

---

 icinga.spec |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/icinga.spec b/icinga.spec
index a5bb626..86736be 100644
--- a/icinga.spec
+++ b/icinga.spec
@@ -54,6 +54,7 @@ Group: Applications/System
 Requires: %{name} = %{version}-%{release}
 Requires: httpd
 Requires: php
+Requires: %{name}-doc
 
 %description gui
 This package contains the webgui (html,css,cgi etc.) for %{name}
@@ -75,6 +76,13 @@ Requires: php
 %description api
 PHP api for %{name}
 
+%package doc
+Summary: documentation %{name}
+Group: Applications/System
+ 
+%description doc
+Documentation for %{name}
+
 
 %prep
 %setup -n %{name}-%{version}
@@ -205,13 +213,16 @@ fi
 %dir %{_localstatedir}/icinga/checkresults
 %attr(2755,icinga,icingacmd) %{_localstatedir}/icinga/rw/
 
+%files doc
+%defattr(-,icinga,icinga,-)
+%{_datadir}/icinga/docs
+
 %files gui
 %defattr(-,icinga,icinga,-)
 %config(noreplace) %attr(-,root,root) %{apacheconfdir}/icinga.conf
 %dir %{_datadir}/icinga
 %{_datadir}/icinga/cgi
 %{_datadir}/icinga/contexthelp
-%{_datadir}/icinga/docs
 %{_datadir}/icinga/getList.php
 %{_datadir}/icinga/images
 %{_datadir}/icinga/includes
@@ -239,10 +250,13 @@ fi
 %files api
 %defattr(-,icinga,icinga,-)
 %{_datadir}/icinga/icinga-api
-%(-,%{apacheuser},%{apacheuser}) %{_datadir}/icinga/icinga-api/log
+%attr(-,%{apacheuser},%{apacheuser}) %{_datadir}/icinga/icinga-api/log
 
 
 %changelog
+* Wed Sep 01 2010 Christoph Maser <cmaser at gmx.de> - 1.0.3-3
+- Put documentation in a separate package
+
 * Tue Aug 31 2010 Christoph Maser <cmaser at gmx.de> - 1.0.3-2
 - Set icinga-api logdir ownership to apache user 
 - add php dependency for icinga-gui subpackage





More information about the icinga-checkins mailing list