diff --git a/brltty.spec b/brltty.spec index 690264b..2b3c65f 100644 --- a/brltty.spec +++ b/brltty.spec @@ -192,6 +192,12 @@ install -d -m 755 "${RPM_BUILD_ROOT}%{_sysconfdir}" "$RPM_BUILD_ROOT%{_mandir}/m install -m 644 Documents/brltty.conf "${RPM_BUILD_ROOT}%{_sysconfdir}" echo ".so man1/brltty.1" > $RPM_BUILD_ROOT%{_mandir}/man5/brltty.conf.5 +%ifarch x86_64 + #Manually place java plugin on x64_64 + mkdir $RPM_BUILD_ROOT%{_prefix}/%{_lib}/java/ + install -m 755 Bindings/Java/libbrlapi_java.so "$RPM_BUILD_ROOT%{_prefix}/%{_lib}/java/" +%endif + # clean up the manuals: rm Documents/Manual-*/*/{*.mk,*.made,Makefile*} mv Documents/BrlAPIref/{html,BrlAPIref}