%define TC_NAME u3r %define PACKAGE_NAME deegree2-u3r %define PACKAGE_VERSION 2.6pre %define PACKAGE_RELEASE 1gp Summary: Deegree2 U3R is the administrative interface to configure the deegree secureproxy security solution Name: %{PACKAGE_NAME} Version: %{PACKAGE_VERSION} Release: %{PACKAGE_RELEASE} License: GNU LGPL Group: Development/Libraries Requires: postgresql-server #Requires: osaas-server Requires: gispatcher-integration-u3r Requires: tomcat6 Requires: java-1_6_0-sun Source0: %{PACKAGE_NAME}-%{PACKAGE_VERSION}-%{PACKAGE_RELEASE}.tar.gz BuildRoot: %{_tmppath}/%{PACKAGE_NAME}-%{PACKAGE_VERSION}-%{PACKAGE_RELEASE}-buildroot %description deegree2 U3R is the administrative interface to configure the deegree secureproxy security solution. The webinteface offers the possibility to administrate roles, users and services which need to be secured. %prep %setup -q -n %{PACKAGE_NAME}-%{PACKAGE_VERSION}-%{PACKAGE_RELEASE} %build %install %makeinstall %post if [ "$1" == "1" ] ; then # first install mail -s 'U3R-configuration needs work!' root << EOF Dear administrator, the currently installed package %{PACKAGE_NAME} needs a configuration, unless it will not start. The following file need to be updated with the database-configuration: /opt/gispatcher/u3r/webapps/u3r/WEB-INF/conf/security/security.xml After doing that start the services with /etc/init.d/apache2 start /etc/init.d/u3r start and point your Browser to the following adress to login: http://localhost/u3r Best regards The GISpatcher-team EOF fi if [ "$1" == "2" ] ; then # upgrade of the package # start the service again in order to get the new files loaded by the # tomcat /etc/init.d/%{TC_NAME} start fi %pre if [ "$1" == "2" ] ; then # upgrade the package # stop the tomcat befor updating /etc/init.d/%{TC_NAME} stop fi %preun if [ "$1" == "0" ] ; then # remove the package if [ -e /var/run/%{TC_NAME}.pid ] ; then # stop tomcat before removing the %{TC_NAME} /etc/init.d/%{TC_NAME} stop fi fi %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,gispatcher,tomcat) /opt/gispatcher/* %config(noreplace) /opt/gispatcher/u3r/webapps/u3r/WEB-INF/web.xml %config(noreplace) /opt/gispatcher/u3r/webapps/u3r/WEB-INF/conf/security/security.xml %config(noreplace) /opt/gispatcher/u3r/webapps/u3r/WEB-INF/conf/security/config_startcontext.xml %config(noreplace) /opt/gispatcher/u3r/webapps/u3r/WEB-INF/conf/security/security_controller.xml %changelog * Thu Nov 17 2011 Bjoern Schilberg + Fixed Issue #4: Added Separate rights for GetMap and GetFeatureInfo. + Fixed Issue #300: preparing for making right to do SLD-Requests configurable, GUI changes, allow setting/removing of sld access right + Fixed Issue #417: Added maxWidth and maxHeight restrictions, support editing of maxwidth/height on service level * Wed Dec 08 2010 Bjoern Schilberg + Fixed problem with single quotes (') in layer title in udateservice.jsp and editservice.jsp. See issue308. * Wed Dec 02 2010 Bjoern Schilberg + Fixed problem with single quotes (') in layer title in serviceseditor.jsp and rightseditor.jsp. See issue301. * Fri Oct 8 2010 Bjoern Schilberg - created this inital Spec-file