Changed the CASA spec file to place miCASA.jar in /usr/share/java/CASA
to be more conformant.
This commit is contained in:
parent
0930391bae
commit
1b3921fed1
@ -100,6 +100,9 @@ make
|
||||
export NO_BRP_CHECK_BYTECODE_VERSION="true"
|
||||
|
||||
mkdir -p %{buildroot}%{prefix}
|
||||
mkdir -p %{buildroot}%{prefix}/share
|
||||
mkdir -p %{buildroot}%{prefix}/share/java
|
||||
mkdir -p %{buildroot}%{prefix}/share/java/CASA
|
||||
mkdir -p %{buildroot}%{prefix}/CASA
|
||||
mkdir -p %{buildroot}%{bin_prefix}/%{_lib}
|
||||
mkdir -p %{buildroot}%{bin_prefix}/bin
|
||||
@ -156,6 +159,7 @@ install -d %{buildroot}/etc/init.d
|
||||
|
||||
#install -m 644 %{buildroot}%{prefix}/%{_lib}/miCASA.jar %{buildroot}%{prefix}/CASA/%{_lib}
|
||||
install -m 755 %{_lib}/%{cfg}/miCASA.jar %{buildroot}%{bin_prefix}/%{_lib}
|
||||
install -m 755 %{_lib}/%{cfg}/miCASA.jar %{buildroot}%{prefix}/share/java/CASA/miCASA.jar
|
||||
|
||||
install -m 644 doc/product/CASA_Reference_Guide.pdf %{buildroot}%{prefix}/CASA/doc
|
||||
install -m 644 doc/product/License.txt %{buildroot}%{prefix}/CASA/doc
|
||||
@ -214,6 +218,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir %{prefix}/share/java/CASA
|
||||
%dir %{prefix}/CASA
|
||||
%dir %{prefix}/CASA/doc
|
||||
%dir %{bin_prefix}/%{_lib}/libmicasa.so.%{bldno}
|
||||
@ -238,6 +243,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{bin_prefix}/sbin/iscasaconfiged
|
||||
%{bin_prefix}/sbin/micasad.sh
|
||||
%{bin_prefix}/%{_lib}/miCASA.jar
|
||||
%{prefix}/share/java/CASA/miCASA.jar
|
||||
|
||||
%{bin_prefix}/bin/micasad.exe
|
||||
%{bin_prefix}/bin/micasad-init
|
||||
|
Loading…
Reference in New Issue
Block a user