perfsonar-dev - perfsonar: r4431 - trunk/packaging/rpm/geant2-java-sql-ma
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r4431 - trunk/packaging/rpm/geant2-java-sql-ma
- Date: Mon, 1 Sep 2008 10:59:25 -0400
Author: roman
Date: 2008-09-01 10:59:24 -0400 (Mon, 01 Sep 2008)
New Revision: 4431
Modified:
trunk/packaging/rpm/geant2-java-sql-ma/geant2-java-sql-ma.specs
Log:
Modified: trunk/packaging/rpm/geant2-java-sql-ma/geant2-java-sql-ma.specs
===================================================================
--- trunk/packaging/rpm/geant2-java-sql-ma/geant2-java-sql-ma.specs
2008-09-01 13:39:50 UTC (rev 4430)
+++ trunk/packaging/rpm/geant2-java-sql-ma/geant2-java-sql-ma.specs
2008-09-01 14:59:24 UTC (rev 4431)
@@ -43,7 +43,12 @@
%{__install} -d -m 755 ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}
%{__install} -d -m 755 ${RPM_BUILD_ROOT}/usr/share/doc/%{name}
%{__install} -d -m 755 ${RPM_BUILD_ROOT}/usr/share/doc/%{name}/schema
+%{__install} -d -m 755 ${RPM_BUILD_ROOT}%{prefix}/WEB-INF
+%{__install} -d -m 755 ${RPM_BUILD_ROOT}%{prefix}/WEB-INF/samples
+%{__install} -d -m 755 ${RPM_BUILD_ROOT}%{prefix}/WEB-INF/samples/requests
+%{__install} -d -m 755 ${RPM_BUILD_ROOT}%{prefix}/WEB-INF/samples/responses
+
# copy the service content to the tomcat webapps directory
pushd ${RPM_BUILD_DIR}/%{name}-%{version}/build
%{__cp} -a %{name}/* ${RPM_BUILD_ROOT}%{prefix}
@@ -53,8 +58,13 @@
%{__cp} -a * ${RPM_BUILD_ROOT}/usr/share/doc/%{name}
popd
+pushd ${RPM_BUILD_DIR}/%{name}-%{version}
+ %{__cp} -a samples/requests/*
${RPM_BUILD_ROOT}%{prefix}/WEB-INF/samples/requests
+ %{__cp} -a samples/responses/*
${RPM_BUILD_ROOT}%{prefix}/WEB-INF/samples/responses
+popd
+
%post
## make symlink for easy access to conf
%{__ln_s} %{prefix}/WEB-INF/classes/perfsonar/conf/*.properties
%{_sysconfdir}/%{name}
- perfsonar: r4431 - trunk/packaging/rpm/geant2-java-sql-ma, svnlog, 09/01/2008
Archive powered by MHonArc 2.6.16.