diff --git a/brltty.spec b/brltty.spec index c4896fa..0fd17dd 100644 --- a/brltty.spec +++ b/brltty.spec @@ -1,5 +1,5 @@ Name: brltty -Version: 6.0 +Version: 6.1 Release: 1mamba Summary: A background process which provides access to the Linux/Unix console for a blind person Group: Applications/Accessibility @@ -10,47 +10,81 @@ URL: http://mielke.cc/brltty/ Source: http://mielke.cc/brltty/archive/brltty-%{version}.tar.xz #Source: http://mielke.cc/brltty/releases/brltty-%{version}.tar.gz Patch0: %{name}-5.4-udev.patch -License: GPL +License: GPL, LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: java_cup -BuildRequires: libbraille-devel -BuildRequires: libICE-devel -BuildRequires: libncurses-devel -BuildRequires: libpython-devel -BuildRequires: libSM-devel +BuildRequires: ldconfig +BuildRequires: libORBit2-devel BuildRequires: libX11-devel BuildRequires: libXaw-devel BuildRequires: libXext-devel +BuildRequires: libXfixes-devel BuildRequires: libXt-devel BuildRequires: libXtst-devel +BuildRequires: libalsa-devel +BuildRequires: libat-spi-devel +BuildRequires: libat-spi2-core-devel +BuildRequires: libatk-devel +BuildRequires: libbluetooth-devel +BuildRequires: libbonobo-devel +BuildRequires: libbraille-devel +BuildRequires: libdbus-devel +BuildRequires: libespeak-ng-devel +BuildRequires: libexpat-devel +BuildRequires: libglib-devel +BuildRequires: libgpm-devel +BuildRequires: libicu-devel +BuildRequires: libncurses-devel +BuildRequires: libpcre-devel +BuildRequires: libpolkit-devel +BuildRequires: libpython-devel +BuildRequires: libpython3-devel +BuildRequires: libspeechd-devel +BuildRequires: libsystemd-devel +BuildRequires: ocaml-runtime ## AUTOBUILDREQ-END BuildRequires: java_cup BuildRequires: ocaml BuildRequires: libtk-devel +BuildRequires: Cython >= 0.29.21 Requires(pre): %{_bindir}/mcookie +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: java_cup BuildRoot: %{_tmppath}/%{name}-%{version}-root %description BRLTTY is a background process (daemon) which provides access to the Linux/Unix console (when in text mode) for a blind person using a refreshable braille display. It drives the braille display, and provides complete screen review functionality. Some speech capability has also been incorporated. -%package devel +%package -n lib%{name} +Group: System/Libraries +Summary: Shared library provided by %{name} + +%description -n lib%{name} +This package contains libraries and header files for developing applications that use %{name}. + +%package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} -Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: %{name}-devel +Obsoletes: %{name}-devel -%description devel +%description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. +%debug_package + %prep %setup -q #%patch0 -p1 %build %configure \ - --disable-java-bindings -%make -j1 + --with-speech-driver=-es \ + --disable-java-bindings \ + PYTHON=%{__python3} + +%make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -66,48 +100,49 @@ rm -f %{buildroot}%{_bindir}/brltty-install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -/sbin/ldconfig [ -e /etc/brlapi.key ] || mcookie > /etc/brlapi.key -exit 0 +: + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root) %dir %{_sysconfdir}/brltty %{_sysconfdir}/brltty/* %config(noreplace) %{_sysconfdir}/brltty/brltty.conf +%{_sysconfdir}/X11/Xsession.d/90xbrlapi %{_bindir}/brltty %{_bindir}/brltty-* %{_bindir}/eutp %{_bindir}/vstp %{_bindir}/xbrlapi -#/lib/udev/rules.d/90-brltty.rules -%{_sysconfdir}/X11/Xsession.d/60xbrlapi -#%{_datadir}/metainfo/org.a11y.brltty.metainfo.xml %{_datadir}/polkit-1/actions/org.a11y.brlapi.policy -%{_libdir}/brltty/libbrltty*.so -%{_libdir}/libbrlapi.so.* -%dir %{_libdir}/brlapi-* -%{_libdir}/brlapi-*/libbrlapi_tcl.so -%{_libdir}/brlapi-*/pkgIndex.tcl -%dir %{_libdir}/ocaml/brlapi -%{_libdir}/ocaml/brlapi/brlapi.* -%{_libdir}/ocaml/brlapi/libbrlapi_stubs.a -%{_libdir}/ocaml/brlapi/META -%{_libdir}/ocaml/brlapi/dllbrlapi_stubs.so %{_datadir}/gdm/greeter/autostart/xbrlapi.desktop -%{python_sitearch}/Brlapi-*.egg-info -%{python_sitearch}/brlapi.so +%{python3_sitearch}/Brlapi-*-py*.egg-info +%{python3_sitearch}/brlapi.cpython-*.so %{_mandir}/man1/brltty.1* %{_mandir}/man1/eutp.1* %{_mandir}/man1/vstp.1* %{_mandir}/man1/xbrlapi.1* -%files devel +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/brltty/libbrltty*.so +%{_libdir}/libbrlapi.so.* +%dir %{_libdir}/ocaml/brlapi +%{_libdir}/ocaml/brlapi/brlapi.* +%{_libdir}/ocaml/brlapi/libbrlapi_stubs.a +%{_libdir}/ocaml/brlapi/META +%{_libdir}/ocaml/brlapi/dllbrlapi_stubs.so +#%{_libdir}/brlapi-*/libbrlapi_tcl.so +#%{_libdir}/brlapi-*/pkgIndex.tcl +%doc LICENSE-LGPL + +%files -n lib%{name}-devel %defattr(-,root,root) %{_includedir}/brlapi.h -%{_includedir}/brlapi_constants.h -%{_includedir}/brlapi_keycodes.h -%{_includedir}/brlapi_protocol.h +%{_includedir}/brlapi_*.h %dir %{_includedir}/brltty %{_includedir}/brltty/*.h %{_includedir}/brlapi_brldefs.h @@ -117,6 +152,9 @@ exit 0 #%doc README %changelog +* Fri Oct 09 2020 Silvan Calarco 6.1-1mamba +- update to 6.1 + * Sun Feb 24 2019 Automatic Build System 6.0-1mamba - automatic version update by autodist