SPECS: scalix.spec - tomcat related stuff: - install scalix-sis war - insta...

pawelz pawelz at pld-linux.org
Sun Mar 29 20:10:00 CEST 2009


Author: pawelz                       Date: Sun Mar 29 18:10:00 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- tomcat related stuff:
- install scalix-sis war
- install scalix-sis context.xml

---- Files affected:
SPECS:
   scalix.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/scalix.spec
diff -u SPECS/scalix.spec:1.16 SPECS/scalix.spec:1.17
--- SPECS/scalix.spec:1.16	Sun Mar 29 19:39:49 2009
+++ SPECS/scalix.spec	Sun Mar 29 20:09:55 2009
@@ -18,6 +18,7 @@
 Group:		Applications/WWW
 Source0:	http://downloads.scalix.com/.opensource/11.4.3/%{name}-%{version}-GA-source.tgz
 # Source0-md5:	fb4794f841319ed07605a8619e5a9c36
+Source1:	%{name}-sis-context.xml
 Patch0:		%{name}-python25_26.patch
 Patch1:		%{name}-merlin-fixes.patch
 Patch2:		%{name}-build.patch
@@ -96,17 +97,22 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT%{_datadir}/scalix
+
 # Installer
 install -d $RPM_BUILD_ROOT%{_sbindir}
 install scalix-installer/dist/scalix-installer $RPM_BUILD_ROOT%{_sbindir}/scalix-installer
 
 # SIS
+install %SOURCE1 $RPM_BUILD_ROOT%{_sharedstatedir}/tomcat/conf/Catalina/localhost/scalix-sis.xml
+cp -a scalix-sis/build/war $RPM_BUILD_ROOT%{_datadir}/scalix/scalix-sis
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%dir %{_datadir}/scalix
 
 %files installer
 %defattr(644,root,root,755)
@@ -114,6 +120,8 @@
 
 %files sis
 %defattr(644,root,root,755)
+%config(noreplace) %{_sharedstatedir}/tomcat/conf/Catalina/localhost/scalix-sis.xml
+%{_datadir}/scalix/scalix-sis
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -121,6 +129,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2009/03/29 18:09:55  pawelz
+- tomcat related stuff:
+- install scalix-sis war
+- install scalix-sis context.xml
+
 Revision 1.16  2009/03/29 17:39:49  pawelz
 - jdk bconds
 - include java rpm macros
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/scalix.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list