spec file updates for kwallet and bugs.

This commit is contained in:
Cameron (Kamran) Mashayekhi 2006-04-20 22:34:10 +00:00
parent 12a9ff1977
commit 12ab492f00

View File

@ -58,7 +58,8 @@ for credential storage and single sign-on.
%package gui %package gui
Summary: The CASA Console Utility Summary: The CASA Console Utility
Group: Productivity/Other Group: Productivity/Other
Requires: CASA = %{version} gtk-sharp >= 1.0.9 kdelibs3 >= 3.2.1 gtk2 >= 2.4.14 #Requires: CASA = %{version} gtk-sharp >= 1.0.9 kdelibs3 >= 3.2.1 gtk2 >= 2.4.14
Requires: CASA = %{version} gtk-sharp >= 1.0.9 gtk2 >= 2.4.14
Provides: CASA-gui Provides: CASA-gui
%description gui %description gui
@ -104,7 +105,7 @@ mkdir -p %{buildroot}/etc/ld.so.conf.d
install -m 755 %{_lib}/%{cfg}/libmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib} install -m 755 %{_lib}/%{cfg}/libmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}
install -m 755 %{_lib}/%{cfg}/libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib} install -m 755 %{_lib}/%{cfg}/libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}
install -m 755 %{_lib}/%{cfg}/libkwallets_rw.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib} #install -m 755 %{_lib}/%{cfg}/libkwallets_rw.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}
install -m 755 %{_lib}/%{cfg}/libad_ff.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib} install -m 755 %{_lib}/%{cfg}/libad_ff.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}
install -m 755 %{_lib}/%{cfg}/libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib} install -m 755 %{_lib}/%{cfg}/libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}
install -m 755 %{_lib}/%{cfg}/Novell.CASA.miCASAWrapper.dll %{buildroot}%{bin_prefix}/%{_lib} install -m 755 %{_lib}/%{cfg}/Novell.CASA.miCASAWrapper.dll %{buildroot}%{bin_prefix}/%{_lib}
@ -116,7 +117,8 @@ install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.KWallet.dll %{buildroot}%{
install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.FireFox.dll %{buildroot}%{bin_prefix}/%{_lib} install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.FireFox.dll %{buildroot}%{bin_prefix}/%{_lib}
install -m 755 %{binsource}/%{cfg}/micasad.exe %{buildroot}%{bin_prefix}/bin install -m 755 %{binsource}/%{cfg}/micasad.exe %{buildroot}%{bin_prefix}/bin
install -m 755 %{binsource}/%{cfg}/CASAManager.exe %{buildroot}%{bin_prefix}/bin install -m 755 %{binsource}/%{cfg}/CASAManager.exe Requires: CASA = %{version} gtk-sharp >= 1.0.9 kdelibs3 >= 3.2.1 gtk2 >= 2.4.14
%{buildroot}%{bin_prefix}/bin
install -m 755 c_gui/CASAManager.sh %{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 install -m 755 c_gui/CASAManager.exe.config %{buildroot}%{bin_prefix}/bin
install -m 755 c_gui/images/* %{buildroot}%{prefix}/CASA/images install -m 755 c_gui/images/* %{buildroot}%{prefix}/CASA/images
@ -152,8 +154,8 @@ 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 libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libjmicasa.so.1
#ln -s miCASA.jar %{buildroot}%{bin_prefix}/CASA/%{_lib}/jmiCASA.jar #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
ln -s libkwallets_rw.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libkwallets_rw.so.1 #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
ln -s libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_gk.so.1 ln -s libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_gk.so.1
@ -169,11 +171,13 @@ install c_gui/CASAManager.desktop %{buildroot}/usr/share/applications
%suse_update_desktop_file -r CASAManager X-SuSE-ControlCenter-Personal %suse_update_desktop_file -r CASAManager X-SuSE-ControlCenter-Personal
%post %post
%{fillup_and_insserv micasad} %{fillup_and_insserv micasad}
#if [ "x$1" = "x1" ] || [ "x$1" = "x2" ] #if [ "x$1" = "x1" ] || [ "x$1" = "x2" ]
#then #then
# casacfgpam # casacfgpam
#fi #fi
#/usr/sbin/casacfgpam #/usr/sbin/casacfgpam
/sbin/ldconfig /sbin/ldconfig
%post gui %post gui
@ -182,14 +186,14 @@ install c_gui/CASAManager.desktop %{buildroot}/usr/share/applications
%preun %preun
%stop_on_removal micasad %stop_on_removal micasad
#if [ "x$1" = "x0" ] if [ "x$1" = "x0" ]
#then then
# /usr/sbin/casaucfgpam /usr/sbin/casaucfgpam
#fi fi
%postun %postun
%restart_on_update %restart_on_update micasad
%insserv_cleanup %insserv_cleanup
/sbin/ldconfig /sbin/ldconfig
@ -198,6 +202,7 @@ install c_gui/CASAManager.desktop %{buildroot}/usr/share/applications
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
Requires: CASA = %{version} gtk-sharp >= 1.0.9 kdelibs3 >= 3.2.1 gtk2 >= 2.4.14
%files %files
%defattr(-,root,root) %defattr(-,root,root)
@ -244,9 +249,9 @@ rm -rf $RPM_BUILD_ROOT
%{bin_prefix}/%{_lib}/libad_gk.so.%{bldno} %{bin_prefix}/%{_lib}/libad_gk.so.%{bldno}
%{bin_prefix}/%{_lib}/libad_gk.so %{bin_prefix}/%{_lib}/libad_gk.so
%{bin_prefix}/%{_lib}/libad_gk.so.1 %{bin_prefix}/%{_lib}/libad_gk.so.1
%{bin_prefix}/%{_lib}/libkwallets_rw.so.%{bldno} #%{bin_prefix}/%{_lib}/libkwallets_rw.so.%{bldno}
%{bin_prefix}/%{_lib}/libkwallets_rw.so #%{bin_prefix}/%{_lib}/libkwallets_rw.so
%{bin_prefix}/%{_lib}/libkwallets_rw.so.1 #%{bin_prefix}/%{_lib}/libkwallets_rw.so.1
%{bin_prefix}/%{_lib}/libad_ff.so.%{bldno} %{bin_prefix}/%{_lib}/libad_ff.so.%{bldno}
%{bin_prefix}/%{_lib}/libad_ff.so %{bin_prefix}/%{_lib}/libad_ff.so
%{bin_prefix}/%{_lib}/libad_ff.so.1 %{bin_prefix}/%{_lib}/libad_ff.so.1