Yast module spec files changes so that we stop including our icons as

part of our yast packages since the icons are now part of the openSUSE
themes.

CASA-auth-token-svc changes are to allow the package to install and run
under openSUSE11.
This commit is contained in:
Juan Carlos Luciani 2008-05-29 20:37:23 +00:00
parent f644145b3d
commit 7a1eec39e5
6 changed files with 39 additions and 12 deletions

View File

@ -14,14 +14,18 @@ else
LIB=lib
fi
JAVA_HOME="/usr/$LIB/jvm/jre-1.5.0"
JAVA_HOME="/usr/$LIB/jvm/jre"
CATALINA_BASE="/srv/www/casaats"
if [ -d /usr/share/tomcat55 ]; then
CATALINA_HOME="/usr/share/tomcat55"
if [ -d /usr/share/tomcat6 ]; then
CATALINA_HOME="/usr/share/tomcat6"
else
CATALINA_HOME="/usr/share/tomcat5"
if [ -d /usr/share/tomcat55 ]; then
CATALINA_HOME="/usr/share/tomcat55"
else
CATALINA_HOME="/usr/share/tomcat5"
fi
fi
CATALINA_PID="/var/lib/CASA/authtoken/svc/casaatsd.pid"

View File

@ -40,7 +40,7 @@ else
LIB=lib
fi
JAVA_HOME=/usr/$LIB/jvm/jre-1.5.0
JAVA_HOME=/usr/$LIB/jvm/jre
KEYTOOL_PATH=$JAVA_HOME/bin/keytool
KEYSTORE_PATH=/etc/CASA/authtoken/keys/trusted-ats-jks-store
LOCAL_ATS_SIGNING_CERT_PATH=/etc/CASA/authtoken/keys/localSigningCert

View File

@ -13,6 +13,16 @@ Mon Jan 28 13:19:43 MST 2008 - jluciani@novell.com
allow for extended characters in the file. This addresses BUG
338574.
-------------------------------------------------------------------
Wed Jan 30 02:06:58 CET 2008 - ro@suse.de
- fix tomcat requires as well
-------------------------------------------------------------------
Sat Jan 26 11:55:41 CET 2008 - coolo@suse.de
- build against tomcat6
-------------------------------------------------------------------
Thu Aug 9 10:19:43 MDT 2007 - jluciani@novell.com

View File

@ -18,14 +18,19 @@
Name: @PACKAGE@
URL: http://www.novell.com/products
BuildRequires: gcc-c++ glib2-devel identity-abstraction insserv libstdc++ libstdc++-devel mono-devel pkgconfig servletapi5 sysvinit xerces-j2 xml-commons-apis
BuildRequires: java-sdk-1.5.0 update-alternatives log4j jakarta-commons-logging pwdutils CASA-devel curl
BuildRequires: CASA-devel curl jakarta-commons-logging java-sdk-1.5.0 log4j pwdutils update-alternatives
%if %suse_version < 1030
BuildRequires: tomcat5
BuildRequires: tomcat5
%else
BuildRequires: tomcat55
%if %suse_version > 1030
BuildRequires: tomcat6
%else
BuildRequires: tomcat55
%endif
%endif
%define prefix /usr
License: LGPL
License: LGPL v2.1 or later
Group: System/Libraries
Group: Applications/System
Autoreqprov: on
%define bldno @VERSION@
@ -35,11 +40,15 @@ Summary: Novell CASA Authentication Token Service
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: jre >= 1.5.0
Requires: servletapi5 sysvinit insserv identity-abstraction sed log4j xerces-j2 CASA curl
Requires: servletapi5 sysvinit insserv identity-abstraction sed log4j xerces-j2 CASA curl
%if %suse_version < 1030
Requires: tomcat5
Requires: tomcat5
%else
Requires: tomcat55
%if %suse_version > 1030
Requires: tomcat6
%else
Requires: tomcat55
%endif
%endif
PreReq: %fillup_prereq %insserv_prereq
PreReq: /usr/bin/awk, /usr/bin/test, /bin/grep, /bin/cat, /usr/bin/install, /bin/pwd

View File

@ -27,7 +27,9 @@ Summary: Configuration of casa-ats
@clientdir@/*.ycp
@moduledir@/CasaAts.*
@desktopdir@/casa-ats.desktop
%if %suse_version < 1030
@themedir@/NLD/icons/22x22/apps/*.png
@themedir@/NLD/icons/32x32/apps/*.png
@themedir@/NLD/icons/48x48/apps/*.png
%endif
%doc @docdir@

View File

@ -67,9 +67,11 @@ exit 0
%defattr(-,root,root)
%dir @yncludedir@/CASA
/usr/share/applications/install_casa_yast_icons
%if %suse_version < 1030
/usr/share/pixmaps/CASA_22.png
/usr/share/pixmaps/CASA_32.png
/usr/share/pixmaps/CASA_48.png
%endif
@yncludedir@/CASA/*
@clientdir@/CASA.ycp
@clientdir@/CASA_*.ycp