CASAmanager.desktop was transfered to /usr/share/applications. CASA.spec was updated for that and some Windows CR/LF was corrected in some scripts.

This commit is contained in:
Cameron (Kamran) Mashayekhi 2006-02-28 15:32:53 +00:00
parent ac059e70b7
commit 69615b593e

View File

@ -110,7 +110,6 @@ install -m 755 %{binsource}/lux/ndbg/micasad.exe %{buildroot}%{bin_prefix}/bin
install -m 755 %{binsource}/lux/ndbg/CASAManager.exe %{buildroot}%{bin_prefix}/bin
install -m 755 c_gui/CASAManager.sh %{buildroot}%{bin_prefix}/sbin
install -m 755 c_gui/CASAManager.exe.config %{buildroot}%{bin_prefix}/bin
install -m 755 c_gui/CASAManager.desktop %{buildroot}%{prefix}/CASA/
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}/etc/init.d
@ -153,7 +152,10 @@ ln -s libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_gk.so.1
ln -s /etc/init.d/micasad %{buildroot}%{bin_prefix}/sbin/rcmicasad
echo "/usr/%{_lib}/" >> %{buildroot}/etc/ld.so.conf.d/CASA.conf
install -d %{buildroot}/usr/share/applications
install c_gui/CASAManager.desktop %{buildroot}/usr/share/applications
%suse_update_desktop_file CASAManager
%post
echo " "
%{fillup_and_insserv -y micasad}
@ -167,7 +169,6 @@ casacfgpam
%post gui
/sbin/ldconfig
cp -f /usr/share/doc/packages/CASA/CASAManager.desktop /usr/share/applications/
%preun
%stop_on_removal micasad
if [ "x$1" == "x0" ]
@ -184,7 +185,6 @@ fi
%postun gui
/sbin/ldconfig
rm -f /usr/share/applications/CASAManager.desktop
%clean
rm -rf $RPM_BUILD_ROOT
@ -228,7 +228,7 @@ rm -rf $RPM_BUILD_ROOT
%{bin_prefix}/sbin/CASAManager.sh
%{bin_prefix}/bin/CASAManager.exe.config
%{bin_prefix}/bin/CASAManager.exe
%{prefix}/CASA/CASAManager.desktop
%{bin_prefix}/share/applications/CASAManager.desktop
%{bin_prefix}/%{_lib}/libad_gk.so.%{bldno}