diff --git a/shsrc/lshsrc/CASA.spec b/shsrc/lshsrc/CASA.spec index 9626630b..6eab69c5 100644 --- a/shsrc/lshsrc/CASA.spec +++ b/shsrc/lshsrc/CASA.spec @@ -1,5 +1,5 @@ # -# spec file for package CASA (Version 1.0.0) +# spec file for package CASA (Version 1.5.0) # # Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -19,7 +19,7 @@ URL: http://www.novell.com/products License: Commercial, Other License(s), see package Group: Productivity/Other Autoreqprov: on -Version: 1.0.0 +Version: 1.5.0 Release: 0 Summary: Novell Common Authentication Service Adapter (CASA) Source: %{name}-%{version}.tar.bz2 @@ -44,8 +44,58 @@ to develop applications that require these. %prep %setup -q +%ifarch x86_64 +%define binsource bin64 +%define libsource lib64 +%else +%define binsource bin +%define libsource lib +%endif + + %build +./%{buildroot}%{prefix}/src/mk-cai-all + +cp -f %{buildroot}%{prefix}/src/%{_lib}/lux/ndbg/libmicasa.so.%version %{buildroot}%{prefix}/%{_lib} +#cp -f $PR/lib/lux/ndbg/libmicasa.so.$BLD_NO $BR/pkg/BUILD/ +cp -f %{buildroot}%{prefix}/src/%{_lib}/lux/ndbg/libad.so.%version %{buildroot}%{prefix}/%{_lib} +#cp -f $PR/lib/lux/ndbg/libad_gk.so.$BLD_NO $BR/pkg/BUILD/ +cp -f %{buildroot}%{prefix}/src/%{_lib}/lux/ndbg/libkwallets_rw.so.%version %{buildroot}%{prefix}/%{_lib} +#cp -f $PR/lib/lux/ndbg/libkwallets_rw.so.$BLD_NO $BR/pkg/BUILD/ +cp -f $PR/lib/lux/ndbg/libjmicasa.so.$BLD_NO $BR/pkg/BUILD/ +cp -f %{buildroot}%{prefix}/src/%{_lib}/lux/ndbg/Novell.CASA.miCASAWrapper.dll %{buildroot}%{prefix}/%{_lib} +#cp -f $PR/lib/lux/ndbg/Novell.CASA.miCASAWrapper.dll $BR/pkg/BUILD/ +cp -f %{buildroot}%{prefix}/src/%{_lib}/lux/ndbg/Novell.CASA.Common.dll %{buildroot}%{prefix}/%{_lib} +#cp -f $PR/lib/lux/ndbg/Novell.CASA.Common.dll $BR/pkg/BUILD/ +cp -f %{buildroot}%{prefix}/src/%{_lib}/lux/ndbg/Novell.CASA.A-D.dll %{buildroot}%{prefix}/%{_lib} +#cp -f $PR/lib/lux/ndbg/Novell.CASA.A-D.dll $BR/pkg/BUILD/ +cp -f %{buildroot}%{prefix}/src/%{_lib}/lux/ndbg/Novell.CASA.CASAPolicy.dll %{buildroot}%{prefix}/%{_lib} +#cp -f $PR/lib/lux/ndbg/Novell.CASA.CASAPolicy.dll $BR/pkg/BUILD/ +cp -f %{buildroot}%{prefix}/src/%{_lib}/lux/ndbg/Novell.CASA.DataEngines.GnomeKeyring.dll %{buildroot}%{prefix}/%{_lib} +#cp -f $PR/lib/lux/ndbg/Novell.CASA.DataEngines.GnomeKeyring.dll $BR/pkg/BUILD/ +cp -f %{buildroot}%{prefix}/src/%{_lib}/lux/ndbg/Novell.CASA.DataEngines.KWallet.dll %{buildroot}%{prefix}/%{_lib} +#cp -f $PR/lib/lux/ndbg/Novell.CASA.DataEngines.KWallet.dll $BR/pkg/BUILD/ + +cp -f %{buildroot}%{prefix}/src/%{binsource}/lux/ndbg/micasa.exe %{buildroot}%{prefix}/%{binsource} +#cp -f $PR/bin/lux/ndbg/micasad.exe $BR/pkg/BUILD/ +cp -f %{buildroot}%{prefix}/src/%{binsource}/lux/ndbg/CASATrayApp.exe %{buildroot}%{prefix}/%{binsource} +#cp -f $PR/bin/lux/ndbg/CASATrayApp.exe $BR/pkg/BUILD/ +cp -f %{buildroot}%{prefix}/src/%{binsource}/lux/ndbg/CASAManager.exe %{buildroot}%{prefix}/%{binsource} +#cp -f $PR/bin/lux/ndbg/CASAManager.exe $BR/pkg/BUILD/ +cp -f %{buildroot}%{prefix}/src/c_gui/CASAManager.sh %{buildroot}%{prefix}/%{binsource} +#cp -f $PR/c_gui/CASAManager.sh $BR/pkg/BUILD/ +cp -f %{buildroot}%{prefix}/src/c_gui/images/* %{buildroot}%{prefix}/%{binsource} +#cp -f $PR/c_gui/images/* $BR/pkg/BUILD/ +cp -f %{buildroot}%{prefix}/src/c_micasad/startup/micasad %{buildroot}%{prefix}/%{binsource} +#cp -f $PR/c_micasad/startup/micasad $BR/pkg/BUILD +cp -f %{buildroot}%{prefix}/src/c_micasad/startup/micasad.sh %{buildroot}%{prefix}/%{binsource} +#cp -f $PR/c_micasad/startup/micasad.sh $BR/pkg/BUILD + +cp -f %{buildroot}%{prefix}/src/%{_lib}/lux/ndbg/pam_micasa.so %{buildroot}%{prefix}/%{_lib} +#cp -f $PR/lib/lux/ndbg/pam_micasa.so $BR/pkg/BUILD/ + + %install install -d %{buildroot}%{prefix}/%{_lib} install -d %{buildroot}%{prefix}/bin @@ -59,13 +109,6 @@ install -d %{buildroot}%{prefix}/CASA/include install -d %{buildroot}%{prefix}/CASA/images install -d %{buildroot}/%{_lib}/security -%ifarch x86_64 -%define binsource bin64 -%define libsource lib64 -%else -%define binsource bin -%define libsource lib -%endif install -m 644 %libsource/pam_micasa.so %{buildroot}/%{_lib}/security install -m 644 %libsource/libmicasa.so.1.0.0 %{buildroot}%{prefix}/CASA/%{_lib}