2005-10-11 21:51:00 +02:00
|
|
|
#
|
2005-12-13 20:00:37 +01:00
|
|
|
# spec file for package CASA (Version 1.6.0)
|
2005-10-11 21:51:00 +02:00
|
|
|
#
|
2006-01-27 18:37:52 +01:00
|
|
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2005-10-11 21:51:00 +02:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
2006-01-27 18:37:52 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org
|
2005-10-11 21:51:00 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
2006-01-27 18:37:52 +01:00
|
|
|
# neededforbuild glade-sharp gnome-filesystem mono mono-core gtk2-devel gtk2 gtk-sharp gtk-sharp-gapi glib-sharp glib2 glib2-devel qt3-devel gcc-c++ kdeutils3 kdelibs3-devel kdelibs3 qt3 qt3-devel kdesdk3 libstdc++-devel pkgconfig gnome-keyring gnome-keyring-devel glib-devel glib pam pam-devel java2 krb5-devel libgssapi
|
2005-10-11 21:51:00 +02:00
|
|
|
|
|
|
|
Name: CASA
|
2006-01-27 18:37:52 +01:00
|
|
|
#BuildRequires: glade-sharp gnome-filesystem mono mono-core gtk2-devel gtk2 gtk-sharp gtk-sharp-gapi glib-sharp glib2 glib2-devel qt3-devel gcc-c++ kdeutils3 kdelibs3-devel kdelibs3 qt3 qt3-devel kdesdk3 libstdc++-devel pkgconfig gnome-keyring gnome-keyring-devel glib-devel glib pam pam-devel java2 krb5-devel libgssapi
|
2005-10-11 21:51:00 +02:00
|
|
|
URL: http://www.novell.com/products
|
2006-02-07 22:05:39 +01:00
|
|
|
%define prefix /usr/share/doc/packages
|
|
|
|
%define bin_prefix /usr
|
2006-01-27 18:37:52 +01:00
|
|
|
License: LGPL
|
2005-10-11 21:51:00 +02:00
|
|
|
Group: Productivity/Other
|
|
|
|
Autoreqprov: on
|
2005-11-07 22:02:08 +01:00
|
|
|
%define bldno 1.1.1
|
2006-01-30 19:58:40 +01:00
|
|
|
Version: 1.6.000
|
2005-10-11 21:51:00 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Novell Common Authentication Service Adapter (CASA)
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2005-12-13 20:00:37 +01:00
|
|
|
#Patch: %{name}-%{version}.dif
|
2005-10-11 21:51:00 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2006-01-30 19:58:40 +01:00
|
|
|
requires: mono >= 1.1.13 mono-core >= 1.1.13
|
2005-10-11 21:51:00 +02:00
|
|
|
ExclusiveArch: %ix86 x86_64
|
2005-10-27 18:11:49 +02:00
|
|
|
#NoSource: 0
|
2005-10-11 21:51:00 +02:00
|
|
|
|
|
|
|
%description
|
2005-10-20 17:37:30 +02:00
|
|
|
CASA (Common Authentication Services Adaptor) is a common authentication
|
|
|
|
and security package providing a set of libraries for application and
|
|
|
|
service developers to provide single sign-on to an enterprise network.
|
|
|
|
CASA provides a local on box credential store that is purely session
|
|
|
|
based in 1.0. This store is populated with your Desktop and Network Login
|
|
|
|
credentials on Novell Linux Desktop, Windows and Apple workstations.
|
2005-10-11 21:51:00 +02:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Include Files and Libraries mandatory for Development.
|
|
|
|
Group: Productivity/Other
|
2005-10-28 02:01:03 +02:00
|
|
|
Requires: CASA >= 1.0.0
|
2005-10-11 21:51:00 +02:00
|
|
|
Provides: CASA-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
2005-10-22 01:26:50 +02:00
|
|
|
to develop applications that can use CASA (Common Authnetication Services Adapter)
|
2005-10-27 18:11:49 +02:00
|
|
|
for credential storage and single sign-on.
|
2005-10-22 01:26:50 +02:00
|
|
|
|
|
|
|
%package gui
|
|
|
|
Summary: The CASA Console Utility
|
|
|
|
Group: Productivity/Other
|
2005-11-18 22:14:33 +01:00
|
|
|
Requires: CASA = %{version} gtk-sharp >= 1.0.9 gnome-keyring >= 0.2.1 kdelibs3 >= 3.2.1 gtk2 >= 2.4.14
|
2005-10-22 01:26:50 +02:00
|
|
|
Provides: CASA-gui
|
|
|
|
|
|
|
|
%description gui
|
|
|
|
This package contains the CASA (Common Authnetication Services Adapter)
|
|
|
|
Management application that allows you to manage credentials within CASA
|
|
|
|
and for your kwallet gnome keyring. Additionally, you can also link secrets
|
|
|
|
to one another.
|
2005-10-11 21:51:00 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2005-12-13 20:00:37 +01:00
|
|
|
#%patch
|
2005-10-13 00:43:58 +02:00
|
|
|
%ifarch x86_64
|
|
|
|
%define binsource bin64
|
|
|
|
%else
|
|
|
|
%define binsource bin
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2005-10-11 21:51:00 +02:00
|
|
|
%build
|
2005-10-20 02:45:47 +02:00
|
|
|
|
2005-12-13 20:00:37 +01:00
|
|
|
export PATH=.:$PATH:/usr/%_lib/qt3/bin
|
2005-10-14 16:19:21 +02:00
|
|
|
mk-cai-all
|
2005-10-11 21:51:00 +02:00
|
|
|
|
2005-10-27 18:11:49 +02:00
|
|
|
%install
|
|
|
|
|
2005-10-17 12:36:33 +02:00
|
|
|
mkdir -p %{buildroot}%{prefix}
|
|
|
|
mkdir %{buildroot}%{prefix}/CASA
|
2006-02-07 22:05:39 +01:00
|
|
|
mkdir %{buildroot}%{bin_prefix}/%{_lib}
|
|
|
|
mkdir %{buildroot}%{bin_prefix}/bin
|
|
|
|
mkdir %{buildroot}%{bin_prefix}/include
|
2005-10-17 12:36:33 +02:00
|
|
|
mkdir %{buildroot}%{prefix}/CASA/images
|
2005-11-11 16:38:05 +01:00
|
|
|
mkdir %{buildroot}%{prefix}/CASA/help
|
|
|
|
mkdir %{buildroot}%{prefix}/CASA/help/en
|
2005-10-27 18:11:49 +02:00
|
|
|
mkdir %{buildroot}%{prefix}/CASA/doc
|
2005-10-14 16:19:21 +02:00
|
|
|
mkdir -p %{buildroot}/%{_lib}/security
|
2005-10-13 00:43:58 +02:00
|
|
|
|
2006-02-07 22:05:39 +01:00
|
|
|
install -m 755 %{_lib}/lux/ndbg/libmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}
|
|
|
|
install -m 755 %{_lib}/lux/ndbg/libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}
|
|
|
|
install -m 755 %{_lib}/lux/ndbg/libkwallets_rw.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}
|
|
|
|
install -m 755 %{_lib}/lux/ndbg/libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}
|
|
|
|
install -m 755 %{_lib}/lux/ndbg/Novell.CASA.miCASAWrapper.dll %{buildroot}%{bin_prefix}/%{_lib}
|
|
|
|
install -m 755 %{_lib}/lux/ndbg/Novell.CASA.Common.dll %{buildroot}%{bin_prefix}/%{_lib}
|
|
|
|
install -m 755 %{_lib}/lux/ndbg/Novell.CASA.A-D.dll %{buildroot}%{bin_prefix}/%{_lib}
|
|
|
|
install -m 755 %{_lib}/lux/ndbg/Novell.CASA.CASAPolicy.dll %{buildroot}%{bin_prefix}/%{_lib}
|
|
|
|
install -m 755 %{_lib}/lux/ndbg/Novell.CASA.DataEngines.GnomeKeyring.dll %{buildroot}%{bin_prefix}/%{_lib}
|
|
|
|
install -m 755 %{_lib}/lux/ndbg/Novell.CASA.DataEngines.KWallet.dll %{buildroot}%{bin_prefix}/%{_lib}
|
|
|
|
|
|
|
|
install -m 755 %{binsource}/lux/ndbg/micasad.exe %{buildroot}%{bin_prefix}/bin
|
|
|
|
install -m 755 %{binsource}/lux/ndbg/CASAManager.exe %{buildroot}%{bin_prefix}/bin
|
|
|
|
install -m 755 c_gui/CASAManager.sh %{buildroot}%{bin_prefix}/bin
|
|
|
|
install -m 755 c_gui/CASAManager.exe.config %{buildroot}%{bin_prefix}/bin
|
2005-10-22 01:26:50 +02:00
|
|
|
install -m 755 c_gui/CASAManager.desktop %{buildroot}%{prefix}/CASA/
|
2005-12-06 23:44:11 +01:00
|
|
|
install -m 755 c_gui/images/* %{buildroot}%{prefix}/CASA/images
|
|
|
|
install -m 755 c_gui/help/en/* %{buildroot}%{prefix}/CASA/help/en
|
2006-02-07 22:05:39 +01:00
|
|
|
install -m 755 c_micasad/startup/micasad %{buildroot}%{bin_prefix}/bin
|
|
|
|
install -m 755 c_micasad/startup/micasad.sh %{buildroot}%{bin_prefix}/bin
|
2005-10-17 12:36:33 +02:00
|
|
|
|
|
|
|
install -m 755 %{_lib}/lux/ndbg/pam_micasa.so %{buildroot}/%{_lib}/security
|
2005-10-13 00:43:58 +02:00
|
|
|
|
2006-02-07 22:05:39 +01:00
|
|
|
install -d %{buildroot}%{bin_prefix}/%{_lib}
|
|
|
|
install -d %{buildroot}%{bin_prefix}/bin
|
|
|
|
install -d %{buildroot}%{bin_prefix}/include
|
2005-10-11 21:51:00 +02:00
|
|
|
install -d %{buildroot}%{prefix}/CASA/doc
|
|
|
|
install -d %{buildroot}%{prefix}/CASA/images
|
2005-11-11 16:38:05 +01:00
|
|
|
install -d %{buildroot}%{prefix}/CASA/help/en
|
2005-10-11 21:51:00 +02:00
|
|
|
install -d %{buildroot}/%{_lib}/security
|
|
|
|
|
2005-10-22 01:26:50 +02:00
|
|
|
#install -m 644 %{buildroot}%{prefix}/%{_lib}/miCASA.jar %{buildroot}%{prefix}/CASA/%{_lib}
|
2006-02-07 22:05:39 +01:00
|
|
|
|
2005-10-27 18:11:49 +02:00
|
|
|
install -m 644 doc/CASA_Reference_Guide.pdf %{buildroot}%{prefix}/CASA/doc
|
|
|
|
install -m 644 doc/License.txt %{buildroot}%{prefix}/CASA/doc
|
|
|
|
install -m 644 doc/Readme.txt %{buildroot}%{prefix}/CASA/doc
|
2006-02-07 22:05:39 +01:00
|
|
|
install -m 644 include/micasa_mgmd.h %{buildroot}%{bin_prefix}/include
|
|
|
|
install -m 644 include/micasa_types.h %{buildroot}%{bin_prefix}/include
|
|
|
|
install -m 644 include/micasa.h %{buildroot}%{bin_prefix}/include
|
|
|
|
|
|
|
|
ln -s libmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libmicasa.so
|
|
|
|
ln -s libmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libmicasa.so.1
|
|
|
|
ln -s libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libjmicasa.so
|
|
|
|
ln -s libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libjmicasa.so.1
|
|
|
|
#ln -s miCASA.jar %{buildroot}%{bin_prefix}/CASA/%{_lib}/jmiCASA.jar
|
|
|
|
|
|
|
|
ln -s libkwallets_rw.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libkwallets_rw.so
|
|
|
|
ln -s libkwallets_rw.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libkwallets_rw.so.1
|
|
|
|
|
|
|
|
ln -s libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_gk.so
|
|
|
|
ln -s libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_gk.so.1
|
2005-10-11 21:51:00 +02:00
|
|
|
|
|
|
|
mkdir -p %{buildroot}/etc/init.d
|
2005-11-07 22:02:08 +01:00
|
|
|
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
2006-02-07 22:05:39 +01:00
|
|
|
cp %{buildroot}%{bin_prefix}/bin/micasad %{buildroot}/etc/init.d
|
|
|
|
echo "/usr/%{_lib}/" >> %{buildroot}/etc/ld.so.conf.d/CASA.conf
|
2005-10-11 21:51:00 +02:00
|
|
|
|
|
|
|
|
|
|
|
%post
|
2005-10-22 01:26:50 +02:00
|
|
|
if [ $1 -eq 1 ]
|
|
|
|
then
|
2005-10-11 21:51:00 +02:00
|
|
|
insserv /etc/init.d/micasad
|
2005-10-22 01:26:50 +02:00
|
|
|
fi
|
2005-11-07 22:02:08 +01:00
|
|
|
/sbin/ldconfig
|
|
|
|
|
2005-12-06 17:46:47 +01:00
|
|
|
%post gui
|
|
|
|
/sbin/ldconfig
|
2005-10-11 21:51:00 +02:00
|
|
|
%preun
|
|
|
|
|
2005-11-07 22:02:08 +01:00
|
|
|
|
|
|
|
%stop_on_removal micasad
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%restart_on_update micasad
|
|
|
|
%insserv_cleanup
|
|
|
|
/sbin/ldconfig
|
2005-10-11 21:51:00 +02:00
|
|
|
|
2005-12-06 17:46:47 +01:00
|
|
|
%postun gui
|
|
|
|
/sbin/ldconfig
|
2005-10-11 21:51:00 +02:00
|
|
|
%clean
|
2005-10-22 01:26:50 +02:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2005-10-11 21:51:00 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{prefix}
|
|
|
|
%dir %{prefix}/CASA
|
2006-02-07 22:05:39 +01:00
|
|
|
%dir %{bin_prefix}/%{_lib}
|
2005-10-27 18:11:49 +02:00
|
|
|
%dir %{prefix}/CASA/doc
|
2006-02-07 22:05:39 +01:00
|
|
|
%dir %{bin_prefix}/%{_lib}/libmicasa.so.%{bldno}
|
|
|
|
%dir %{bin_prefix}/%{_lib}/libmicasa.so
|
|
|
|
%dir %{bin_prefix}/%{_lib}/libmicasa.so.1
|
|
|
|
%dir %{bin_prefix}/%{_lib}/libjmicasa.so.%{bldno}
|
|
|
|
%dir %{bin_prefix}/%{_lib}/libjmicasa.so
|
|
|
|
%dir %{bin_prefix}/%{_lib}/libjmicasa.so.1
|
|
|
|
%dir %{bin_prefix}/%{_lib}/Novell.CASA.miCASAWrapper.dll
|
|
|
|
%dir %{bin_prefix}/%{_lib}/Novell.CASA.Common.dll
|
|
|
|
|
|
|
|
%dir %{bin_prefix}/%{_lib}/libmicasa.so
|
|
|
|
%dir %{bin_prefix}/%{_lib}/libmicasa.so.1
|
|
|
|
%dir %{bin_prefix}/%{_lib}/libjmicasa.so
|
|
|
|
%dir %{bin_prefix}/%{_lib}/libjmicasa.so.1
|
|
|
|
|
|
|
|
%dir %{bin_prefix}/%{_lib}/Novell.CASA.miCASAWrapper.dll
|
|
|
|
%dir %{bin_prefix}/%{_lib}/Novell.CASA.Common.dll
|
|
|
|
|
|
|
|
%dir %{bin_prefix}/bin
|
|
|
|
%{bin_prefix}/bin/micasad
|
|
|
|
%{bin_prefix}/bin/micasad.sh
|
|
|
|
%{bin_prefix}/bin/micasad.exe
|
2005-10-22 01:26:50 +02:00
|
|
|
|
2005-10-27 18:11:49 +02:00
|
|
|
%{prefix}/CASA/doc/CASA_Reference_Guide.pdf
|
|
|
|
%{prefix}/CASA/doc/License.txt
|
|
|
|
%{prefix}/CASA/doc/Readme.txt
|
2005-10-22 01:26:50 +02:00
|
|
|
|
2005-10-17 12:36:33 +02:00
|
|
|
|
2005-10-11 21:51:00 +02:00
|
|
|
/etc/init.d/micasad
|
|
|
|
/%{_lib}/security/pam_micasa.so
|
2005-11-07 22:02:08 +01:00
|
|
|
/etc/ld.so.conf.d/CASA.conf
|
2005-10-11 21:51:00 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2006-02-07 22:05:39 +01:00
|
|
|
%{bin_prefix}/include
|
2005-10-27 18:11:49 +02:00
|
|
|
|
2005-10-11 21:51:00 +02:00
|
|
|
|
2005-10-22 01:26:50 +02:00
|
|
|
%files gui
|
|
|
|
%defattr(-,root,root)
|
2006-02-07 22:05:39 +01:00
|
|
|
%dir %{bin_prefix}/bin/
|
|
|
|
%{bin_prefix}/bin/CASAManager.sh
|
|
|
|
%{bin_prefix}/bin/CASAManager.exe.config
|
|
|
|
%{bin_prefix}/bin/CASAManager.exe
|
2005-10-22 01:26:50 +02:00
|
|
|
%{prefix}/CASA/CASAManager.desktop
|
|
|
|
|
2006-02-07 22:05:39 +01:00
|
|
|
%dir %{bin_prefix}/%{_lib}/
|
|
|
|
|
|
|
|
%{bin_prefix}/%{_lib}/libad_gk.so.%{bldno}
|
|
|
|
%{bin_prefix}/%{_lib}/libad_gk.so
|
|
|
|
%{bin_prefix}/%{_lib}/libad_gk.so.1
|
|
|
|
%{bin_prefix}/%{_lib}/libkwallets_rw.so.%{bldno}
|
|
|
|
%{bin_prefix}/%{_lib}/libkwallets_rw.so
|
|
|
|
%{bin_prefix}/%{_lib}/libkwallets_rw.so.1
|
|
|
|
%{bin_prefix}/%{_lib}/Novell.CASA.A-D.dll
|
|
|
|
%{bin_prefix}/%{_lib}/Novell.CASA.CASAPolicy.dll
|
|
|
|
%{bin_prefix}/%{_lib}/Novell.CASA.DataEngines.GnomeKeyring.dll
|
|
|
|
%{bin_prefix}/%{_lib}/Novell.CASA.DataEngines.KWallet.dll
|
2005-10-22 01:26:50 +02:00
|
|
|
|
|
|
|
%dir %{prefix}/CASA/images
|
2005-12-06 23:44:11 +01:00
|
|
|
%{prefix}/CASA/images/*
|
2005-10-11 21:51:00 +02:00
|
|
|
|
2005-12-06 23:44:11 +01:00
|
|
|
%dir %{prefix}/CASA/help
|
2005-11-11 16:38:05 +01:00
|
|
|
%dir %{prefix}/CASA/help/en
|
2005-12-06 23:44:11 +01:00
|
|
|
%{prefix}/CASA/help/en/*
|
2005-11-11 16:38:05 +01:00
|
|
|
|
2005-10-11 21:51:00 +02:00
|
|
|
%changelog -n CASA
|