]> git.pld-linux.org Git - packages/cas.git/commitdiff
- install context.xml
authorpawelz <pawelz@pld-linux.org>
Thu, 18 Feb 2010 14:24:36 +0000 (14:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- cleanup %files
- make %install more readable
- it builds

Changed files:
    cas.spec -> 1.14

cas.spec

index 354004d8db46cfc9561a0f3695e4842055fd863a..6d21059a11d071dc8e01b7ada4e1c1eeb221301d 100644 (file)
--- a/cas.spec
+++ b/cas.spec
@@ -144,21 +144,31 @@ install -d $RPM_BUILD_ROOT{%{_sysconfdir}/cas-server,%{_datadir},%{_sharedstated
 
 cp -a webapp $RPM_BUILD_ROOT%{webappdir}
 
 
 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
 
 
 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)
 %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
 %config(noreplace) %{_sharedstatedir}/tomcat/conf/Catalina/localhost/cas-server.xml
 %{_datadir}/cas-server
 %exclude %{libdir}/cas-server-support-spnego-3.3.5.jar
This page took 0.067136 seconds and 4 git commands to generate.