bb9f421dff
autobuild.
164 lines
5.5 KiB
RPMSpec
164 lines
5.5 KiB
RPMSpec
#
|
|
# spec file for the CASA_auth_token java packages.
|
|
#
|
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
# For debug build, please replace Release to Debug and set debug_opt to --enable-debug
|
|
%define cfg Release
|
|
%define debug_opt ""
|
|
|
|
|
|
Name: @PACKAGE@
|
|
URL: http://www.novell.com/products
|
|
BuildRequires: libstdc++ libgcc gcc-c++ glib2-devel libstdc++-devel pkgconfig java-1_5_0-ibm-devel update-alternatives mono-devel servletapi5 identity-abstraction
|
|
%define prefix /usr
|
|
License: LGPL
|
|
Group: Applications/System
|
|
Autoreqprov: on
|
|
%define bldno 1.0.0
|
|
Version: @VERSION@
|
|
Release: 0
|
|
Summary: Novell Common Authentication Services Adapter Authentication Token Infrastructure "Java" (CASA_auth_token)
|
|
Source: %{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Requires: java-1_5_0-ibm servletapi5 tomcat5
|
|
PreReq: %fillup_prereq %insserv_prereq
|
|
BuildArchitectures: noarch
|
|
|
|
%description
|
|
CASA_auth_token is an authentication token infrastructure with support for multiple
|
|
authentication mechanisms with an emphasis on providing a scalable single
|
|
sign-on solution.
|
|
|
|
A key feature of CASA_auth_token is that its authentication tokens contain identity
|
|
information about the entity being authenticated. This information is made available
|
|
to the consuming services. The amount of information contained in the tokens is
|
|
configured on a per-service basis. Because of this feature, we say that CASA_auth_token
|
|
projects an "Authenticated Identity".
|
|
|
|
The CASA_auth_token_svc is the infrastructure component responsible for authenticating
|
|
entities using the native authentication mechanism and for issuing tokens that can later
|
|
be used by applications to authenticate the entity o services that are CASA authentication
|
|
enabled.
|
|
|
|
%package -n CASA_auth_token_jaas-support
|
|
Summary: Libraries needed for JAAS applications development.
|
|
Group: Applications/System
|
|
Requires: java-1_5_0-ibm
|
|
|
|
%description -n CASA_auth_token_jaas-support
|
|
CASA_auth_token is an authentication token infrastructure with support for multiple
|
|
authentication mechanisms with an emphasis on providing a scalable single
|
|
sign-on solution.
|
|
|
|
A key feature of CASA_auth_token is that its authentication tokens contain identity
|
|
information about the entity being authenticated. This information is made available
|
|
to the consuming services. The amount of information contained in the tokens is
|
|
configured on a per-service basis. Because of this feature, we say that CASA_auth_token
|
|
projects an "Authenticated Identity".
|
|
|
|
The CASA_auth_token_jaas-support package contains the CASA (Common Authentication
|
|
Services Adapter) authentication token infrastructure JAAS module and supporting libraries
|
|
for token verification.
|
|
|
|
%prep
|
|
%setup -q
|
|
#%patch
|
|
%if %{_lib} == "lib64"
|
|
%define binsource bin64
|
|
%else
|
|
%define binsource bin
|
|
%endif
|
|
|
|
%build
|
|
export PATH=.:$PATH:/usr/%_lib/qt3/bin
|
|
%if %suse_version > 1000
|
|
export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -fstack-protector"
|
|
%endif
|
|
|
|
./autogen.sh
|
|
make
|
|
|
|
|
|
%install
|
|
|
|
## Prime the file system ##
|
|
install -d %{buildroot}%{prefix}
|
|
install -d %{buildroot}%{prefix}/share
|
|
install -d %{buildroot}%{prefix}/share/java
|
|
|
|
## CASA_auth_token_svc ##
|
|
# Libs
|
|
install -m 755 %{_lib}/java/CasaAuthTokenSvc.war %{buildroot}%{prefix}/share/java/CasaAuthTokenSvc-%{bldno}.war
|
|
|
|
# Lib Symbolic Links
|
|
ln -sf CasaAuthTokenSvc-%{bldno}.war %{buildroot}%{prefix}/share/java/CasaAuthTokenSvc.war
|
|
ln -sf CasaAuthTokenSvc-%{bldno}.war %{buildroot}%{prefix}/share/java/CasaAuthTokenSvc.war.1
|
|
|
|
## CASA_auth_token_jaas-support ##
|
|
# Libs
|
|
install -m 755 %{_lib}/java/CasaJaasSupport.jar %{buildroot}%{prefix}/share/java/CasaJaasSupport-%{bldno}.jar
|
|
install -m 755 %{_lib}/java/CasaAuthToken.jar %{buildroot}%{prefix}/share/java/CasaAuthToken-%{bldno}.jar
|
|
|
|
# Lib Symbolic Links
|
|
ln -sf CasaJaasSupport-%{bldno}.jar %{buildroot}%{prefix}/share/java/CasaJaasSupport.jar
|
|
ln -sf CasaJaasSupport-%{bldno}.jar %{buildroot}%{prefix}/share/java/CasaJaasSupport.jar.1
|
|
ln -sf CasaAuthToken-%{bldno}.jar %{buildroot}%{prefix}/share/java/CasaAuthToken.jar
|
|
ln -sf CasaAuthToken-%{bldno}.jar %{buildroot}%{prefix}/share/java/CasaAuthToken.jar.1
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
## CASA_auth_token_svc ##
|
|
%pre
|
|
# Nothing to do in this pre script
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
|
|
%preun
|
|
# Nothing to do in this preun script
|
|
|
|
%postun
|
|
# Nothing to do in this postun script
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{prefix}/share/java/CasaAuthTokenSvc-%{bldno}.war
|
|
%{prefix}/share/java/CasaAuthTokenSvc.war
|
|
%{prefix}/share/java/CasaAuthTokenSvc.war.1
|
|
|
|
|
|
## CASA_auth_token_jaas-support ##
|
|
%pre -n CASA_auth_token_jaas-support
|
|
# Nothing to do in this pre script
|
|
|
|
%post -n CASA_auth_token_jaas-support
|
|
/sbin/ldconfig
|
|
|
|
%preun -n CASA_auth_token_jaas-support
|
|
# Nothing to do in this preun script
|
|
|
|
%postun -n CASA_auth_token_jaas-support
|
|
# Nothing to do in this postun script
|
|
|
|
%files -n CASA_auth_token_jaas-support
|
|
%defattr(-,root,root)
|
|
%{prefix}/share/java/CasaJaasSupport-%{bldno}.jar
|
|
%{prefix}/share/java/CasaJaasSupport.jar
|
|
%{prefix}/share/java/CasaJaasSupport.jar.1
|
|
%{prefix}/share/java/CasaAuthToken-%{bldno}.jar
|
|
%{prefix}/share/java/CasaAuthToken.jar
|
|
%{prefix}/share/java/CasaAuthToken.jar.1
|
|
|
|
|
|
%changelog -n package
|