Fix install of miCASA.jar to /usr/share/java/CASA

This commit is contained in:
Jim Norman 2007-05-15 18:04:22 +00:00
parent ebd415ba47
commit 6d83dea77d

View File

@ -100,9 +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}%{bin_prefix}/share
mkdir -p %{buildroot}%{bin_prefix}/share/java
mkdir -p %{buildroot}%{bin_prefix}/share/java/CASA
mkdir -p %{buildroot}%{prefix}/CASA
mkdir -p %{buildroot}%{bin_prefix}/%{_lib}
mkdir -p %{buildroot}%{bin_prefix}/bin
@ -159,7 +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 755 %{_lib}/%{cfg}/miCASA.jar %{buildroot}%{bin_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
@ -218,7 +218,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%dir %{prefix}/share/java/CASA
%dir %{bin_prefix}/share/java/CASA
%dir %{prefix}/CASA
%dir %{prefix}/CASA/doc
%dir %{bin_prefix}/%{_lib}/libmicasa.so.%{bldno}
@ -243,7 +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}/share/java/CASA/miCASA.jar
%{bin_prefix}/bin/micasad.exe
%{bin_prefix}/bin/micasad-init