packages: cas-server/cas-server.spec - install context.xml - cleanup %files...

pawelz pawelz at pld-linux.org
Thu Feb 18 15:24:42 CET 2010


Author: pawelz                       Date: Thu Feb 18 14:24:42 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- install context.xml
- cleanup %files
- make %install more readable
- it builds

---- Files affected:
packages/cas-server:
   cas-server.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: packages/cas-server/cas-server.spec
diff -u packages/cas-server/cas-server.spec:1.13 packages/cas-server/cas-server.spec:1.14
--- packages/cas-server/cas-server.spec:1.13	Thu Feb 18 15:19:40 2010
+++ packages/cas-server/cas-server.spec	Thu Feb 18 15:24:36 2010
@@ -145,21 +145,31 @@
 
 cp -a webapp $RPM_BUILD_ROOT%{webappdir}
 
-MODULES="integration-berkeleydb integration-jboss integration-memcached integration-restlet support-generic support-jdbc support-ldap support-legacy support-openid support-radius support-spnego support-trusted support-x509"
+MODULES="integration-berkeleydb
+integration-jboss
+integration-memcached
+integration-restlet
+support-generic
+support-jdbc
+support-ldap
+support-legacy
+support-openid
+support-radius
+support-spnego
+support-trusted
+support-x509"
 
 for i in $MODULES; do
   install modules/%{name}-$i-%{version}.jar $RPM_BUILD_ROOT%{libdir}/%{name}-$i-%{version}.jar
 done
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sharedstatedir}/tomcat/conf/Catalina/localhost/cas-server.xml
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%dir %{_sysconfdir}/cas-server
-#%config(noreplace) %{_sysconfdir}/cas-server/web.xml
-# do not make this file writeable by tomcat. We do not want to allow user to
-# undeploy this app via tomcat manager.
 %config(noreplace) %{_sharedstatedir}/tomcat/conf/Catalina/localhost/cas-server.xml
 %{_datadir}/cas-server
 %exclude %{libdir}/cas-server-support-spnego-3.3.5.jar
@@ -235,6 +245,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2010/02/18 14:24:36  pawelz
+- install context.xml
+- cleanup %files
+- make %install more readable
+- it builds
+
 Revision 1.13  2010/02/18 14:19:40  pawelz
 - subpackages for modules
 - better Group
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cas-server/cas-server.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list