From 0d3224d9f2426cbd4863f8b934e32235d886d281 Mon Sep 17 00:00:00 2001 From: "Cameron (Kamran) Mashayekhi" Date: Tue, 6 Dec 2005 22:44:11 +0000 Subject: [PATCH] Reverting back to build 166 changes and updating the CASA.spec to run pre and post script. --- shsrc/lshsrc/CASA.spec | 29 +++++------------------------ 1 file changed, 5 insertions(+), 24 deletions(-) diff --git a/shsrc/lshsrc/CASA.spec b/shsrc/lshsrc/CASA.spec index 4117430a..696ec538 100644 --- a/shsrc/lshsrc/CASA.spec +++ b/shsrc/lshsrc/CASA.spec @@ -102,11 +102,10 @@ install -m 755 %{binsource}/lux/ndbg/CASAManager.exe %{buildroot}%{prefix}/CASA/ install -m 755 c_gui/CASAManager.sh %{buildroot}%{prefix}/CASA/bin install -m 755 c_gui/CASAManager.exe.config %{buildroot}%{prefix}/CASA/bin install -m 755 c_gui/CASAManager.desktop %{buildroot}%{prefix}/CASA/ -cp -f c_gui/images/* %{buildroot}%{prefix}/CASA/images -cp -f c_gui/help/en/* %{buildroot}%{prefix}/CASA/help/en +install -m 755 c_gui/images/* %{buildroot}%{prefix}/CASA/images +install -m 755 c_gui/help/en/* %{buildroot}%{prefix}/CASA/help/en install -m 755 c_micasad/startup/micasad %{buildroot}%{prefix}/CASA/bin install -m 755 c_micasad/startup/micasad.sh %{buildroot}%{prefix}/CASA/bin -#install -m 755 c_clientlogin/novell-ncl-autologin.sh %{buildroot}%{prefix}/CASA/bin install -m 755 %{_lib}/lux/ndbg/pam_micasa.so %{buildroot}/%{_lib}/security @@ -123,7 +122,6 @@ install -d %{buildroot}/%{_lib}/security #install -m 644 %{buildroot}%{prefix}/%{_lib}/miCASA.jar %{buildroot}%{prefix}/CASA/%{_lib} - 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 @@ -131,13 +129,6 @@ install -m 644 include/micasa_mgmd.h %{buildroot}%{prefix}/CASA/include install -m 644 include/* %{buildroot}%{prefix}/CASA/include -#cp -f include/micasa.h %{buildroot}%{prefix}/CASA/include/ -#cp -f include/micasa_mgmd.h %{buildroot}%{prefix}/CASA/include/ -#cp -f doc/CASA_Reference_Guide.pdf %{buildroot}%{prefix}/CASA/doc/ -#cp -f doc/Readme.txt %{buildroot}%{prefix}/CASA/doc/ -#cp -f doc/License.txt %{buildroot}%{prefix}/CASA/doc/ - - 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 @@ -177,10 +168,6 @@ ln -s ../CASA/%{_lib}/libad_gk.so.1 %{buildroot}%{prefix}/%{_lib}/libad_gk.so.1 ln -s ../CASA/include/micasa.h %{buildroot}%{prefix}/include/micasa.h ln -s ../CASA/include/micasa_mgmd.h %{buildroot}%{prefix}/include/micasa_mgmd.h -# autologin -#mkdir -p %{buildroot}/etc/profile.d -#cp %{buildroot}%{prefix}/CASA/bin/novell-ncl-autologin.sh %{buildroot}/etc/profile.d - mkdir -p %{buildroot}/etc/init.d mkdir -p %{buildroot}/etc/ld.so.conf.d cp %{buildroot}%{prefix}/CASA/bin/micasad %{buildroot}/etc/init.d @@ -249,7 +236,6 @@ rm -rf $RPM_BUILD_ROOT %{prefix}/bin/micasad.sh %{prefix}/bin/micasad.exe -#%dir %{prefix}/CASA/doc /etc/init.d/micasad /%{_lib}/security/pam_micasa.so @@ -260,9 +246,6 @@ rm -rf $RPM_BUILD_ROOT %{prefix}/include %{prefix}/CASA/include %{prefix}/CASA/%{_lib}/*.so -%{prefix}/CASA/doc/CASA_Reference_Guide.pdf -%{prefix}/CASA/doc/License.txt -%{prefix}/CASA/doc/Readme.txt %files gui @@ -272,9 +255,6 @@ rm -rf $RPM_BUILD_ROOT %{prefix}/CASA/bin/CASAManager.exe.config %{prefix}/CASA/bin/CASAManager.exe %{prefix}/CASA/CASAManager.desktop -%{prefix}/CASA/doc/License.txt -%{prefix}/CASA/doc/Readme.txt - %dir %{prefix}/CASA/%{_lib}/ @@ -299,9 +279,10 @@ rm -rf $RPM_BUILD_ROOT %{prefix}/%{_lib}/Novell.CASA.DataEngines.KWallet.dll %dir %{prefix}/CASA/images -%dir %{prefix}/CASA/images/* +%{prefix}/CASA/images/* +%dir %{prefix}/CASA/help %dir %{prefix}/CASA/help/en -%dir %{prefix}/CASA/help/en/* +%{prefix}/CASA/help/en/* %changelog -n CASA