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:
		| @@ -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 %{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.sh %{buildroot}%{bin_prefix}/sbin | ||||||
| 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/CASAManager.desktop %{buildroot}%{prefix}/CASA/ |  | ||||||
| install -m 755 c_gui/images/* %{buildroot}%{prefix}/CASA/images | 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_gui/help/en/* %{buildroot}%{prefix}/CASA/help/en | ||||||
| install -m 755 c_micasad/startup/micasad %{buildroot}/etc/init.d | install -m 755 c_micasad/startup/micasad %{buildroot}/etc/init.d | ||||||
| @@ -153,6 +152,9 @@ 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  | ln -s /etc/init.d/micasad %{buildroot}%{bin_prefix}/sbin/rcmicasad  | ||||||
| echo "/usr/%{_lib}/" >> %{buildroot}/etc/ld.so.conf.d/CASA.conf | 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 | %post | ||||||
| echo " " | echo " " | ||||||
| @@ -167,7 +169,6 @@ casacfgpam | |||||||
|  |  | ||||||
| %post gui | %post gui | ||||||
| /sbin/ldconfig | /sbin/ldconfig | ||||||
| cp -f /usr/share/doc/packages/CASA/CASAManager.desktop /usr/share/applications/ |  | ||||||
| %preun | %preun | ||||||
| %stop_on_removal micasad | %stop_on_removal micasad | ||||||
| if [ "x$1" == "x0" ] | if [ "x$1" == "x0" ] | ||||||
| @@ -184,7 +185,6 @@ fi | |||||||
|  |  | ||||||
| %postun gui | %postun gui | ||||||
| /sbin/ldconfig | /sbin/ldconfig | ||||||
| rm -f /usr/share/applications/CASAManager.desktop |  | ||||||
| %clean | %clean | ||||||
| rm -rf $RPM_BUILD_ROOT | rm -rf $RPM_BUILD_ROOT | ||||||
|  |  | ||||||
| @@ -228,7 +228,7 @@ rm -rf $RPM_BUILD_ROOT | |||||||
| %{bin_prefix}/sbin/CASAManager.sh | %{bin_prefix}/sbin/CASAManager.sh | ||||||
| %{bin_prefix}/bin/CASAManager.exe.config | %{bin_prefix}/bin/CASAManager.exe.config | ||||||
| %{bin_prefix}/bin/CASAManager.exe | %{bin_prefix}/bin/CASAManager.exe | ||||||
| %{prefix}/CASA/CASAManager.desktop | %{bin_prefix}/share/applications/CASAManager.desktop | ||||||
|  |  | ||||||
|  |  | ||||||
| %{bin_prefix}/%{_lib}/libad_gk.so.%{bldno} | %{bin_prefix}/%{_lib}/libad_gk.so.%{bldno} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user