[packages/eventum/dev-3.0] move docs and wiki to subpackage

glen glen at pld-linux.org
Mon Oct 12 22:43:07 CEST 2015


commit d4a553ea1b693a5f394591869f86b8779d298839
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Oct 12 23:21:57 2015 +0300

    move docs and wiki to subpackage

 eventum.spec | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/eventum.spec b/eventum.spec
index 4e4cf3a..b833431 100644
--- a/eventum.spec
+++ b/eventum.spec
@@ -2,7 +2,7 @@
 # Conditional build:
 %bcond_with	order	# with experimental order patch
 
-%define		rel		1.10
+%define		rel		1.11
 %define		subver  101
 %define		githash e275162
 %define		php_min_version 5.3.3
@@ -155,6 +155,13 @@ Ten pakiet należy zainstalować w celu wstępnej konfiguracji Eventum po
 pierwszej instalacji. Potem należy go odinstalować, jako że
 pozostawienie plików instalacyjnych mogłoby być niebezpieczne.
 
+%package doc
+Summary:	Eventum documentation and Wiki
+Group:		Documentation
+
+%description doc
+Eventum documentation and copy of Wiki.
+
 %package mail-queue
 Summary:	Eventum mail queue process
 Summary(pl.UTF-8):	Przetwarzanie kolejki poczty Eventum
@@ -655,7 +662,6 @@ done
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc docs/*
 %attr(751,root,root) %dir %{_webappdir}
 %attr(751,root,root) %dir %{_webappdir}/custom_field
 %attr(751,root,root) %dir %{_webappdir}/templates
@@ -713,8 +719,6 @@ done
 %{_appdir}/lib/eventum
 %exclude %{_appdir}/lib/eventum/class.monitor.php
 
-%{_examplesdir}/%{name}-%{version}
-
 %{systemdtmpfilesdir}/%{name}.conf
 %dir %attr(730,root,http) /var/run/%{name}
 %dir %attr(730,root,http) /var/cache/%{name}
@@ -734,6 +738,10 @@ done
 %defattr(644,root,root,755)
 %{_appdir}/htdocs/setup
 
+%files doc
+%doc docs/*
+%{_examplesdir}/%{name}-%{version}
+
 %files mail-queue
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_appdir}/bin/process_mail_queue.php
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/eventum.git/commitdiff/5301be5399334f9ba2adc6e933ef2590d9f8f3ca



More information about the pld-cvs-commit mailing list