Fixed the spec file to build the CASA rpms
This commit is contained in:
parent
7449e3c53a
commit
128668e2ef
@ -54,51 +54,41 @@ to develop applications that require these.
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cp -r %{_topdir}/SOURCES/%{name}-%{version}/* %{buildroot}/
|
|
||||||
cd %{buildroot}/%{prefix}/src/
|
|
||||||
mk-cai-all
|
mk-cai-all
|
||||||
|
|
||||||
#./%{buildroot}%{prefix}/src/mk-cai-all
|
mkdir -p %{buildroot}%{prefix}
|
||||||
|
mkdir %{buildroot}%{prefix}/CASA
|
||||||
cp -f %{buildroot}%{prefix}/src/%{_lib}/lux/ndbg/libmicasa.so.%version %{buildroot}%{prefix}/%{_lib}
|
#mkdir %{buildroot}%{prefix}/%{_lib}
|
||||||
#cp -f $PR/lib/lux/ndbg/libmicasa.so.$BLD_NO $BR/pkg/BUILD/
|
mkdir %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
cp -f %{buildroot}%{prefix}/src/%{_lib}/lux/ndbg/libad_gk.so.%version %{buildroot}%{prefix}/%{_lib}
|
#mkdir %{buildroot}%{prefix}/bin
|
||||||
#cp -f $PR/lib/lux/ndbg/libad_gk.so.$BLD_NO $BR/pkg/BUILD/
|
mkdir %{buildroot}%{prefix}/CASA/bin
|
||||||
cp -f %{buildroot}%{prefix}/src/%{_lib}/lux/ndbg/libkwallets_rw.so.%version %{buildroot}%{prefix}/%{_lib}
|
#mkdir %{buildroot}%{prefix}/include
|
||||||
#cp -f $PR/lib/lux/ndbg/libkwallets_rw.so.$BLD_NO $BR/pkg/BUILD/
|
mkdir %{buildroot}%{prefix}/CASA/include
|
||||||
cp -f %{buildroot}%{prefix}/src/%{_lib}/lux/ndbg/libjmicasa.so.%version %{buildroot}%{prefix}/%{_lib}
|
mkdir %{buildroot}%{prefix}/CASA/images
|
||||||
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/micasad.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
|
|
||||||
|
|
||||||
mkdir -p %{buildroot}/%{_lib}/security
|
mkdir -p %{buildroot}/%{_lib}/security
|
||||||
cp -f %{buildroot}%{prefix}/src/%{_lib}/lux/ndbg/pam_micasa.so %{buildroot}/%{_lib}/security
|
|
||||||
#cp -f $PR/lib/lux/ndbg/pam_micasa.so $BR/pkg/BUILD/
|
|
||||||
|
|
||||||
|
install -m 755 %{_lib}/lux/ndbg/libmicasa.so.%version %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
|
install -m 755 %{_lib}/lux/ndbg/libad_gk.so.%version %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
|
install -m 755 %{_lib}/lux/ndbg/libkwallets_rw.so.%version %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
|
install -m 755 %{_lib}/lux/ndbg/libjmicasa.so.%version %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
|
install -m 755 %{_lib}/lux/ndbg/Novell.CASA.miCASAWrapper.dll %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
|
install -m 755 %{_lib}/lux/ndbg/Novell.CASA.Common.dll %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
|
install -m 755 %{_lib}/lux/ndbg/Novell.CASA.A-D.dll %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
|
install -m 755 %{_lib}/lux/ndbg/Novell.CASA.CASAPolicy.dll %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
|
install -m 755 %{_lib}/lux/ndbg/Novell.CASA.DataEngines.GnomeKeyring.dll %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
|
install -m 755 %{_lib}/lux/ndbg/Novell.CASA.DataEngines.KWallet.dll %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
|
|
||||||
|
install -m 755 %{binsource}/lux/ndbg/micasad.exe %{buildroot}%{prefix}/CASA/%{binsource}
|
||||||
|
install -m 755 %{binsource}/lux/ndbg/CASATrayApp.exe %{buildroot}%{prefix}/CASA/%{binsource}
|
||||||
|
install -m 755 %{binsource}/lux/ndbg/CASAManager.exe %{buildroot}%{prefix}/CASA/%{binsource}
|
||||||
|
install -m 755 c_gui/CASAManager.sh %{buildroot}%{prefix}/CASA/%{binsource}
|
||||||
|
cp -f c_gui/images/* %{buildroot}%{prefix}/CASA/images
|
||||||
|
install -m 755 c_micasad/startup/micasad %{buildroot}%{prefix}/CASA/%{binsource}
|
||||||
|
install -m 755 c_micasad/startup/micasad.sh %{buildroot}%{prefix}/CASA/%{binsource}
|
||||||
|
|
||||||
|
install -m 755 %{_lib}/lux/ndbg/pam_micasa.so %{buildroot}/%{_lib}/security
|
||||||
|
cp -f include/micasa.h %{buildroot}%{prefix}/CASA/include/
|
||||||
|
cp -f include/micasa_mgmd.h %{buildroot}%{prefix}/CASA/include/
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d %{buildroot}%{prefix}/%{_lib}
|
install -d %{buildroot}%{prefix}/%{_lib}
|
||||||
@ -107,56 +97,62 @@ install -d %{buildroot}%{prefix}/include
|
|||||||
install -d %{buildroot}%{prefix}/CASA/%{_lib}
|
install -d %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
install -d %{buildroot}%{prefix}/CASA/bin
|
install -d %{buildroot}%{prefix}/CASA/bin
|
||||||
install -d %{buildroot}%{prefix}/CASA/doc
|
install -d %{buildroot}%{prefix}/CASA/doc
|
||||||
install -d %{buildroot}%{prefix}/CASA/pixmaps
|
|
||||||
install -d %{buildroot}%{prefix}/CASA/startup
|
|
||||||
install -d %{buildroot}%{prefix}/CASA/include
|
install -d %{buildroot}%{prefix}/CASA/include
|
||||||
install -d %{buildroot}%{prefix}/CASA/images
|
install -d %{buildroot}%{prefix}/CASA/images
|
||||||
install -d %{buildroot}/%{_lib}/security
|
install -d %{buildroot}/%{_lib}/security
|
||||||
|
|
||||||
|
|
||||||
#install -m 644 %libsource/pam_micasa.so %{buildroot}/%{_lib}/security
|
#install -m 644 %{buildroot}/%{_lib}/security/pam_micasa.so %{buildroot}/%{_lib}/security
|
||||||
install -m 644 %{buildroot}%{prefix}/%libsource/libmicasa.so.1.5.0 %{buildroot}%{prefix}/CASA/%{_lib}
|
|
||||||
install -m 644 %{buildroot}%{prefix}/%libsource/libjmicasa.so.1.5.0 %{buildroot}%{prefix}/CASA/%{_lib}
|
#install -m 755 %{buildroot}%{prefix}/%libsource/libmicasa.so.1.5.0 %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
|
#install -m 755 %{buildroot}%{prefix}/%libsource/libjmicasa.so.1.5.0 %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
#install -m 644 %{buildroot}%{prefix}/%libsource/miCASA.jar %{buildroot}%{prefix}/CASA/%{_lib}
|
#install -m 644 %{buildroot}%{prefix}/%libsource/miCASA.jar %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
install -m 644 %{buildroot}%{prefix}/%libsource/Novell.CASA.miCASAWrapper.dll %{buildroot}%{prefix}/CASA/%{_lib}
|
#install -m 755 %{buildroot}%{prefix}/%libsource/Novell.CASA.miCASAWrapper.dll %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
install -m 644 %{buildroot}%{prefix}/%libsource/Novell.CASA.Common.dll %{buildroot}%{prefix}/CASA/%{_lib}
|
#install -m 755 %{buildroot}%{prefix}/%libsource/Novell.CASA.Common.dll %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
|
|
||||||
install -m 644 %{buildroot}%{prefix}/%libsource/libad_gk.so.1.5.0 %{buildroot}%{prefix}/CASA/%{_lib}
|
#install -m 755 %{buildroot}%{prefix}/%libsource/libad_gk.so.1.5.0 %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
install -m 644 %{buildroot}%{prefix}/%libsource/libkwallets_rw.so.1.5.0 %{buildroot}%{prefix}/CASA/%{_lib}
|
#install -m 755 %{buildroot}%{prefix}/%libsource/libkwallets_rw.so.1.5.0 %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
install -m 644 %{buildroot}%{prefix}/%libsource/Novell.CASA.A-D.dll %{buildroot}%{prefix}/CASA/%{_lib}
|
#install -m 755 %{buildroot}%{prefix}/%libsource/Novell.CASA.A-D.dll %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
install -m 644 %{buildroot}%{prefix}/%libsource/Novell.CASA.CASAPolicy.dll %{buildroot}%{prefix}/CASA/%{_lib}
|
#install -m 755 %{buildroot}%{prefix}/%libsource/Novell.CASA.CASAPolicy.dll %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
install -m 644 %{buildroot}%{prefix}/%libsource/Novell.CASA.DataEngines.GnomeKeyring.dll %{buildroot}%{prefix}/CASA/%{_lib}
|
#install -m 755 %{buildroot}%{prefix}/%libsource/Novell.CASA.DataEngines.GnomeKeyring.dll %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
install -m 644 %{buildroot}%{prefix}/%libsource/Novell.CASA.DataEngines.KWallet.dll %{buildroot}%{prefix}/CASA/%{_lib}
|
#install -m 755 %{buildroot}%{prefix}/%libsource/Novell.CASA.DataEngines.KWallet.dll %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
|
|
||||||
install -m 755 %{buildroot}%{prefix}/%{binsource}/casa-1.5.glade %{buildroot}%{prefix}/CASA/images
|
#install -m 644 %{buildroot}%{prefix}/%{binsource}/casa-1.5.glade %{buildroot}%{prefix}/CASA/images
|
||||||
install -m 755 %{buildroot}%{prefix}/%{binsource}/casa-1.5.gladep %{buildroot}%{prefix}/CASA/images
|
#install -m 755 %{buildroot}%{prefix}/%{binsource}/casa-1.5.gladep %{buildroot}%{prefix}/CASA/images
|
||||||
install -m 755 %{buildroot}%{prefix}/%{binsource}/firefox-logo.png %{buildroot}%{prefix}/CASA/images
|
#install -m 755 %{buildroot}%{prefix}/%{binsource}/CASA_16.png %{buildroot}%{prefix}/CASA/images
|
||||||
install -m 755 %{buildroot}%{prefix}/%{binsource}/keyring-logo.png %{buildroot}%{prefix}/CASA/images
|
#install -m 755 %{buildroot}%{prefix}/%{binsource}/CASA_32.png %{buildroot}%{prefix}/CASA/images
|
||||||
install -m 755 %{buildroot}%{prefix}/%{binsource}/kwallet-logo.png %{buildroot}%{prefix}/CASA/images
|
#install -m 755 %{buildroot}%{prefix}/%{binsource}/CASA_48.png %{buildroot}%{prefix}/CASA/images
|
||||||
install -m 755 %{buildroot}%{prefix}/%{binsource}/casa-logo.png %{buildroot}%{prefix}/CASA/images
|
#install -m 755 %{buildroot}%{prefix}/%{binsource}/CASAicons.ico %{buildroot}%{prefix}/CASA/images
|
||||||
install -m 755 %{buildroot}%{prefix}/%{binsource}/micasa-logo.png %{buildroot}%{prefix}/CASA/images
|
#install -m 755 %{buildroot}%{prefix}/%{binsource}/CASAiconsLocked.ico %{buildroot}%{prefix}/CASA/images
|
||||||
install -m 755 %{buildroot}%{prefix}/%{binsource}/mozilla-logo.png %{buildroot}%{prefix}/CASA/images
|
#install -m 755 %{buildroot}%{prefix}/%{binsource}/firefox-logo.png %{buildroot}%{prefix}/CASA/images
|
||||||
install -m 755 %{buildroot}%{prefix}/%{binsource}/novell-logo.png %{buildroot}%{prefix}/CASA/images
|
#install -m 755 %{buildroot}%{prefix}/%{binsource}/keyring-logo.png %{buildroot}%{prefix}/CASA/images
|
||||||
install -m 755 %{buildroot}%{prefix}/%{binsource}/CASA_16.png $BR/pkg/casa_area/opt/novell/CASA/images
|
#install -m 755 %{buildroot}%{prefix}/%{binsource}/kwallet-logo.png %{buildroot}%{prefix}/CASA/images
|
||||||
install -m 755 %{buildroot}%{prefix}/%{binsource}/CASA_32.png $BR/pkg/casa_area/opt/novell/CASA/images
|
#install -m 755 %{buildroot}%{prefix}/%{binsource}/casa-logo.png %{buildroot}%{prefix}/CASA/images
|
||||||
install -m 755 %{buildroot}%{prefix}/%{binsource}/CASA_48.png $BR/pkg/casa_area/opt/novell/CASA/images
|
#install -m 755 %{buildroot}%{prefix}/%{binsource}/micasa-logo.png %{buildroot}%{prefix}/CASA/images
|
||||||
install -m 755 %{buildroot}%{prefix}/%{binsource}/CASAicons.ico $BR/pkg/casa_area/opt/novell/CASA/images
|
#install -m 755 %{buildroot}%{prefix}/%{binsource}/mozilla-logo.png %{buildroot}%{prefix}/CASA/images
|
||||||
install -m 755 %{buildroot}%{prefix}/%{binsource}/CASAiconsLocked.ico $BR/pkg/casa_area/opt/novell/CASA/images
|
#install -m 755 %{buildroot}%{prefix}/%{binsource}/novell-logo.png %{buildroot}%{prefix}/CASA/images
|
||||||
|
#
|
||||||
|
#install -m 755 %{buildroot}%{prefix}/%{binsource}/micasad.exe %{buildroot}%{prefix}/CASA/bin
|
||||||
|
#install -m 755 %{buildroot}%{prefix}/%{binsource}/CASATrayApp.exe %{buildroot}%{prefix}/CASA/bin
|
||||||
|
#install -m 755 %{buildroot}%{prefix}/%{binsource}/CASAManager.exe %{buildroot}%{prefix}/CASA/bin
|
||||||
|
#install -m 755 %{buildroot}%{prefix}/%binsource/CASAManager.sh %{buildroot}%{prefix}/CASA/bin
|
||||||
|
|
||||||
install -m 755 %{buildroot}%{prefix}/%{binsource}/micasad.exe %{buildroot}%{prefix}/CASA/bin
|
#install -m 755 %{buildroot}%{prefix}/%{binsource}/micasad %{buildroot}%{prefix}/CASA/bin
|
||||||
install -m 755 %{buildroot}%{prefix}/%{binsource}/CASATrayApp.exe %{buildroot}%{prefix}/CASA/bin
|
#install -m 755 %{buildroot}%{prefix}/%{binsource}/micasad.sh %{buildroot}%{prefix}/CASA/bin
|
||||||
install -m 755 %{buildroot}%{prefix}/%{binsource}/CASAManager.exe %{buildroot}%{prefix}/CASA/bin
|
|
||||||
install -m 755 %{buildroot}%{prefix}/%binsource/CASAManager.sh %{buildroot}%{prefix}/CASA/bin
|
|
||||||
|
|
||||||
install -m 755 %{buildroot}%{prefix}/%{binsource}/micasad %{buildroot}%{prefix}/CASA/bin
|
|
||||||
install -m 755 %{buildroot}%{prefix}/%{binsource}/micasad.sh %{buildroot}%{prefix}/CASA/bin
|
|
||||||
|
|
||||||
#install -m 644 doc/CASA_Admin_Guide.pdf %{buildroot}%{prefix}/CASA/doc
|
#install -m 644 doc/CASA_Admin_Guide.pdf %{buildroot}%{prefix}/CASA/doc
|
||||||
#install -m 644 doc/miCASA_API_Guide.pdf %{buildroot}%{prefix}/CASA/doc
|
#install -m 644 doc/miCASA_API_Guide.pdf %{buildroot}%{prefix}/CASA/doc
|
||||||
#install -m 644 doc/README.txt %{buildroot}%{prefix}/CASA/doc
|
#install -m 644 doc/README.txt %{buildroot}%{prefix}/CASA/doc
|
||||||
install -m 644 %{buildroot}%{prefix}/src/include/micasa.h %{buildroot}%{prefix}/CASA/include
|
|
||||||
install -m 644 %{buildroot}%{prefix}/src/include/micasa_mgmd.h %{buildroot}%{prefix}/CASA/include
|
#install -m 644 %{buildroot}/%{prefix}/include/micasa.h %{buildroot}%{prefix}/CASA/include
|
||||||
#install -m 644 %{buildroot}%{prefix}/include/* %{buildroot}%{prefix}/CASA/include
|
#install -m 644 %{buildroot}/%{prefix}/include/micasa_mgmd.h %{buildroot}%{prefix}/CASA/include
|
||||||
|
|
||||||
|
ln -s ../CASA/bin/micasad.exe %{buildroot}%{prefix}/bin/micasad.exe
|
||||||
|
ln -s ../CASA/bin/micasad.sh %{buildroot}%{prefix}/bin/micasad.sh
|
||||||
|
ln -s ../CASA/bin/micasad %{buildroot}%{prefix}/bin/micasad
|
||||||
|
ln -s ../CASA/bin/CASAManager.exe %{buildroot}%{prefix}/bin/CASAManager.exe
|
||||||
|
ln -s ../CASA/bin/CASAManager.sh %{buildroot}%{prefix}/bin/CASAManager.sh
|
||||||
|
ln -s ../CASA/bin/CASATrayApp.exe %{buildroot}%{prefix}/bin/CASATrayApp.exe
|
||||||
|
|
||||||
ln -s libmicasa.so.%{version} %{buildroot}%{prefix}/CASA/%{_lib}/libmicasa.so
|
ln -s libmicasa.so.%{version} %{buildroot}%{prefix}/CASA/%{_lib}/libmicasa.so
|
||||||
ln -s libmicasa.so.%{version} %{buildroot}%{prefix}/CASA/%{_lib}/libmicasa.so.1
|
ln -s libmicasa.so.%{version} %{buildroot}%{prefix}/CASA/%{_lib}/libmicasa.so.1
|
||||||
@ -169,22 +165,20 @@ ln -s ../CASA/%{_lib}/libmicasa.so.1 %{buildroot}%{prefix}/%{_lib}/libmicasa.so.
|
|||||||
ln -s ../CASA/%{_lib}/libjmicasa.so %{buildroot}%{prefix}/%{_lib}/libjmicasa.so
|
ln -s ../CASA/%{_lib}/libjmicasa.so %{buildroot}%{prefix}/%{_lib}/libjmicasa.so
|
||||||
ln -s ../CASA/%{_lib}/libjmicasa.so.1 %{buildroot}%{prefix}/%{_lib}/libjmicasa.so.1
|
ln -s ../CASA/%{_lib}/libjmicasa.so.1 %{buildroot}%{prefix}/%{_lib}/libjmicasa.so.1
|
||||||
#ln -s ../CASA/%{_lib}/miCASA.jar %{buildroot}%{prefix}/%{_lib}/jmiCASA.jar
|
#ln -s ../CASA/%{_lib}/miCASA.jar %{buildroot}%{prefix}/%{_lib}/jmiCASA.jar
|
||||||
#ln -s ../CASA/%{_lib}/Novell.CASA.miCASAWrapper.dll %{buildroot}%{prefix}/%{_lib}/Novell.CASA.miCASAWrapper.dll
|
ln -s ../CASA/%{_lib}/Novell.CASA.miCASAWrapper.dll %{buildroot}%{prefix}/%{_lib}/Novell.CASA.miCASAWrapper.dll
|
||||||
#ln -s ../CASA/%{_lib}/Novell.CASA.Common.dll %{buildroot}%{prefix}/%{_lib}/Novell.CASA.Common.dll
|
ln -s ../CASA/%{_lib}/Novell.CASA.Common.dll %{buildroot}%{prefix}/%{_lib}/Novell.CASA.Common.dll
|
||||||
#ln -s ../CASA/%{_lib}/Novell.CASA.CASAPolicy.dll %{buildroot}%{prefix}/%{_lib}/Novell.CASA.CASAPolicy.dll
|
ln -s ../CASA/%{_lib}/Novell.CASA.CASAPolicy.dll %{buildroot}%{prefix}/%{_lib}/Novell.CASA.CASAPolicy.dll
|
||||||
#ln -s ../CASA/%{_lib}/Novell.CASA.A-D.dll %{buildroot}%{prefix}/%{_lib}/Novell.CASA.A-D.dll
|
ln -s ../CASA/%{_lib}/Novell.CASA.A-D.dll %{buildroot}%{prefix}/%{_lib}/Novell.CASA.A-D.dll
|
||||||
#ln -s ../CASA/%{_lib}/Novell.CASA.DataEngines.GnomeKeyring.dll %{buildroot}%{prefix}/%{_lib}/Novell.CASA.DataEngines.GnomeKeyring.dll
|
ln -s ../CASA/%{_lib}/Novell.CASA.DataEngines.GnomeKeyring.dll %{buildroot}%{prefix}/%{_lib}/Novell.CASA.DataEngines.GnomeKeyring.dll
|
||||||
#ln -s ../CASA/%{_lib}/Novell.CASA.DataEngines.KWallet.dll %{buildroot}%{prefix}/%{_lib}/Novell.CASA.DataEngines.KWallet.dll
|
ln -s ../CASA/%{_lib}/Novell.CASA.DataEngines.KWallet.dll %{buildroot}%{prefix}/%{_lib}/Novell.CASA.DataEngines.KWallet.dll
|
||||||
|
|
||||||
ln -s libkwallets_rw.so.%{version} %{buildroot}%{prefix}/CASA/%{_lib}/libkwallets_rw.so
|
ln -s libkwallets_rw.so.%{version} %{buildroot}%{prefix}/CASA/%{_lib}/libkwallets_rw.so
|
||||||
ln -s libkwallets_rw.so.%{version} %{buildroot}%{prefix}/CASA/%{_lib}/libkwallets_rw.so.1
|
ln -s libkwallets_rw.so.%{version} %{buildroot}%{prefix}/CASA/%{_lib}/libkwallets_rw.so.1
|
||||||
ln -s libad_gk.so.%{version} %{buildroot}%{prefix}/CASA/%{_lib}/libad_gk.so
|
ln -s libad_gk.so.%{version} %{buildroot}%{prefix}/CASA/%{_lib}/libad_gk.so
|
||||||
ln -s libad_gk.so.%{version} %{buildroot}%{prefix}/CASA/%{_lib}/libad_gk.so.1
|
ln -s libad_gk.so.%{version} %{buildroot}%{prefix}/CASA/%{_lib}/libad_gk.so.1
|
||||||
|
|
||||||
|
ln -s ../CASA/include/micasa.h %{buildroot}%{prefix}/include/micasa.h
|
||||||
cp %{buildroot}%{prefix}/CASA/include/micasa.h %{buildroot}%{prefix}/include
|
ln -s ../CASA/include/micasa_mgmd.h %{buildroot}%{prefix}/include/micasa_mgmd.h
|
||||||
cp %{buildroot}%{prefix}/CASA/include/micasa_mgmd.h %{buildroot}%{prefix}/include
|
|
||||||
|
|
||||||
|
|
||||||
mkdir -p %{buildroot}/etc/init.d
|
mkdir -p %{buildroot}/etc/init.d
|
||||||
cp %{buildroot}%{prefix}/CASA/bin/micasad %{buildroot}/etc/init.d
|
cp %{buildroot}%{prefix}/CASA/bin/micasad %{buildroot}/etc/init.d
|
||||||
@ -284,27 +278,42 @@ insserv -r /etc/init.d/micasad
|
|||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
#rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{prefix}
|
%dir %{prefix}
|
||||||
%dir %{prefix}/CASA
|
%dir %{prefix}/CASA
|
||||||
|
%dir %{prefix}/%{_lib}
|
||||||
|
%dir %{prefix}/%{_lib}/*
|
||||||
%dir %{prefix}/CASA/%{_lib}
|
%dir %{prefix}/CASA/%{_lib}
|
||||||
|
%dir %{prefix}/CASA/%{_lib}/*
|
||||||
|
%dir %{prefix}/bin
|
||||||
|
%dir %{prefix}/bin/*
|
||||||
|
%dir %{prefix}/CASA/bin
|
||||||
|
%dir %{prefix}/CASA/bin/*
|
||||||
%dir %{prefix}/CASA/doc
|
%dir %{prefix}/CASA/doc
|
||||||
%dir %{prefix}/CASA/images
|
%dir %{prefix}/CASA/images
|
||||||
%{prefix}/CASA/%{_lib}/*.so.*
|
%dir %{prefix}/CASA/images/*
|
||||||
%{prefix}/CASA/%{_lib}/Novell.CASA.miCASAWrapper.dll
|
|
||||||
%{prefix}/CASA/%{_lib}/Novell.CASA.Common.dll
|
|
||||||
%{prefix}/CASA/%{_lib}/Novell.CASA.CASAPolicy.dll
|
|
||||||
%{prefix}/CASA/%{_lib}/Novell.CASA.A-D.dll
|
#### POORNA
|
||||||
%{prefix}/CASA/%{_lib}/Novell.CASA.DataEngines.GnomeKeyring.dll
|
#%{prefix}/CASA/%{_lib}/*.so*
|
||||||
%{prefix}/CASA/%{_lib}/Novell.CASA.DataEngines.KWallet.dll
|
#%{prefix}/CASA/%{_lib}/*
|
||||||
|
#%{prefix}/CASA/%{_lib}/Novell.CASA.miCASAWrapper.dll
|
||||||
|
#%{prefix}/CASA/%{_lib}/Novell.CASA.Common.dll
|
||||||
|
#%{prefix}/CASA/%{_lib}/Novell.CASA.CASAPolicy.dll
|
||||||
|
#%{prefix}/CASA/%{_lib}/Novell.CASA.A-D.dll
|
||||||
|
#%{prefix}/CASA/%{_lib}/Novell.CASA.DataEngines.GnomeKeyring.dll
|
||||||
|
#%{prefix}/CASA/%{_lib}/Novell.CASA.DataEngines.KWallet.dll
|
||||||
#%{prefix}/CASA/%{_lib}/miCASA.jar
|
#%{prefix}/CASA/%{_lib}/miCASA.jar
|
||||||
%{prefix}/CASA/bin
|
#%{prefix}/CASA/bin
|
||||||
%{prefix}/CASA/images/*
|
#%{prefix}/CASA/bin/*
|
||||||
|
#%{prefix}/CASA/images/*
|
||||||
#%{prefix}/CASA/doc/CASA_Admin_Guide.pdf
|
#%{prefix}/CASA/doc/CASA_Admin_Guide.pdf
|
||||||
#%{prefix}/CASA/doc/README.txt
|
#%{prefix}/CASA/doc/README.txt
|
||||||
|
##POORNA
|
||||||
/etc/init.d/micasad
|
/etc/init.d/micasad
|
||||||
/%{_lib}/security/pam_micasa.so
|
/%{_lib}/security/pam_micasa.so
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user