spec file updates for kwallet and bugs.
This commit is contained in:
parent
12a9ff1977
commit
12ab492f00
@ -58,7 +58,8 @@ for credential storage and single sign-on.
|
||||
%package gui
|
||||
Summary: The CASA Console Utility
|
||||
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
|
||||
|
||||
%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}/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}/libjmicasa.so.%{bldno} %{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 %{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.exe.config %{buildroot}%{bin_prefix}/bin
|
||||
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 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 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
|
||||
@ -169,11 +171,13 @@ install c_gui/CASAManager.desktop %{buildroot}/usr/share/applications
|
||||
%suse_update_desktop_file -r CASAManager X-SuSE-ControlCenter-Personal
|
||||
%post
|
||||
%{fillup_and_insserv micasad}
|
||||
|
||||
#if [ "x$1" = "x1" ] || [ "x$1" = "x2" ]
|
||||
#then
|
||||
# casacfgpam
|
||||
#fi
|
||||
#/usr/sbin/casacfgpam
|
||||
|
||||
/sbin/ldconfig
|
||||
|
||||
%post gui
|
||||
@ -182,14 +186,14 @@ install c_gui/CASAManager.desktop %{buildroot}/usr/share/applications
|
||||
%preun
|
||||
%stop_on_removal micasad
|
||||
|
||||
#if [ "x$1" = "x0" ]
|
||||
#then
|
||||
# /usr/sbin/casaucfgpam
|
||||
#fi
|
||||
if [ "x$1" = "x0" ]
|
||||
then
|
||||
/usr/sbin/casaucfgpam
|
||||
fi
|
||||
|
||||
|
||||
%postun
|
||||
%restart_on_update
|
||||
%restart_on_update micasad
|
||||
%insserv_cleanup
|
||||
/sbin/ldconfig
|
||||
|
||||
@ -198,6 +202,7 @@ install c_gui/CASAManager.desktop %{buildroot}/usr/share/applications
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
Requires: CASA = %{version} gtk-sharp >= 1.0.9 kdelibs3 >= 3.2.1 gtk2 >= 2.4.14
|
||||
|
||||
%files
|
||||
%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
|
||||
%{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}/libkwallets_rw.so.%{bldno}
|
||||
#%{bin_prefix}/%{_lib}/libkwallets_rw.so
|
||||
#%{bin_prefix}/%{_lib}/libkwallets_rw.so.1
|
||||
%{bin_prefix}/%{_lib}/libad_ff.so.%{bldno}
|
||||
%{bin_prefix}/%{_lib}/libad_ff.so
|
||||
%{bin_prefix}/%{_lib}/libad_ff.so.1
|
||||
|
Loading…
Reference in New Issue
Block a user