2024-01-05 21:00:16 +01:00
|
|
|
Name: brltty
|
2024-10-22 09:40:41 +02:00
|
|
|
Version: 6.7
|
2024-01-05 21:00:18 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 21:00:16 +01:00
|
|
|
Summary: A background process which provides access to the Linux/Unix console for a blind person
|
|
|
|
Group: Applications/Accessibility
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 21:00:17 +01:00
|
|
|
URL: https://brltty.app/
|
2024-01-05 21:00:17 +01:00
|
|
|
Source: http://mielke.cc/brltty/archive/brltty-%{version}.tar.xz
|
2024-01-05 21:00:17 +01:00
|
|
|
Patch0: %{name}-5.4-udev.patch
|
2024-01-05 21:00:18 +01:00
|
|
|
Patch1: brltty-6.5-gettext-0.22.patch
|
2024-01-05 21:00:17 +01:00
|
|
|
License: GPL, LGPL
|
2024-01-05 21:00:16 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXaw-devel
|
|
|
|
BuildRequires: libXext-devel
|
2024-01-05 21:00:17 +01:00
|
|
|
BuildRequires: libXfixes-devel
|
2024-01-05 21:00:16 +01:00
|
|
|
BuildRequires: libXt-devel
|
|
|
|
BuildRequires: libXtst-devel
|
2024-01-05 21:00:17 +01:00
|
|
|
BuildRequires: libalsa-devel
|
|
|
|
BuildRequires: libat-spi2-core-devel
|
|
|
|
BuildRequires: libbluetooth-devel
|
|
|
|
BuildRequires: libbraille-devel
|
2024-01-05 21:00:17 +01:00
|
|
|
BuildRequires: libcap-devel
|
2024-01-05 21:00:17 +01:00
|
|
|
BuildRequires: libdbus-devel
|
|
|
|
BuildRequires: libespeak-ng-devel
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgpm-devel
|
|
|
|
BuildRequires: libicu-devel
|
|
|
|
BuildRequires: libncurses-devel
|
2024-01-05 21:00:17 +01:00
|
|
|
BuildRequires: libpcre2-devel
|
2024-01-05 21:00:17 +01:00
|
|
|
BuildRequires: libpolkit-devel
|
2024-10-22 09:40:41 +02:00
|
|
|
BuildRequires: libpython311-devel
|
2024-01-05 21:00:17 +01:00
|
|
|
BuildRequires: libspeechd-devel
|
|
|
|
BuildRequires: libsystemd-devel
|
2024-01-05 21:00:17 +01:00
|
|
|
BuildRequires: libudev-devel
|
2024-01-05 21:00:18 +01:00
|
|
|
BuildRequires: ocaml-runtime
|
2024-01-05 21:00:16 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 21:00:18 +01:00
|
|
|
BuildRequires: ocaml >= 4.14.1
|
2024-01-05 21:00:17 +01:00
|
|
|
BuildConflicts: libat-spi-devel
|
2024-01-05 21:00:17 +01:00
|
|
|
#BuildRequires: java_cup
|
2024-01-05 21:00:17 +01:00
|
|
|
BuildRequires: libtk-devel
|
2024-01-05 21:00:17 +01:00
|
|
|
BuildRequires: Cython >= 0.29.21
|
2024-01-05 21:00:17 +01:00
|
|
|
Requires(post): %{_bindir}/mcookie
|
2024-01-05 21:00:17 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 21:00:17 +01:00
|
|
|
#Requires: java_cup
|
2024-01-05 21:00:16 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
%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
|
2024-01-05 21:00:17 +01:00
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
2024-01-05 21:00:17 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Provides: %{name}-devel
|
2024-01-05 21:00:17 +01:00
|
|
|
Obsoletes: %{name}-devel < 6.3
|
2024-01-05 21:00:17 +01:00
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: ocaml-brlapi-devel = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 21:00:17 +01:00
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
%description -n lib%{name}-devel
|
2024-01-05 21:00:17 +01:00
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
%package -n ocaml-brlapi
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Ocaml bindings for %{name}
|
|
|
|
|
|
|
|
%description -n ocaml-brlapi
|
|
|
|
This package contains the Ocaml bindings for %{name}.
|
|
|
|
|
|
|
|
%package -n ocaml-brlapi-devel
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Ocaml development files for %{name}
|
|
|
|
Requires: ocaml-brlapi = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n ocaml-brlapi-devel
|
|
|
|
This package contains the development files for Ocaml bindings for %{name}.
|
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 21:00:16 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 21:00:17 +01:00
|
|
|
#-D -T
|
2024-01-05 21:00:17 +01:00
|
|
|
#%patch0 -p1
|
2024-01-05 21:00:18 +01:00
|
|
|
#%patch 1 -p1 -b .gettext-0.22
|
2024-01-05 21:00:16 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 21:00:17 +01:00
|
|
|
#:<< _EOF
|
2024-01-05 21:00:16 +01:00
|
|
|
%configure \
|
2024-01-05 21:00:17 +01:00
|
|
|
--with-speech-driver=-es \
|
|
|
|
--disable-java-bindings \
|
|
|
|
PYTHON=%{__python3}
|
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
%make -j1
|
2024-01-05 21:00:16 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall INSTALL_ROOT=%{buildroot}
|
|
|
|
install -D Documents/brltty.conf %{buildroot}%{_sysconfdir}/brltty/brltty.conf
|
2024-01-05 21:00:17 +01:00
|
|
|
#install -D Autostart/Udev/udev.rules %{buildroot}/lib/udev/rules.d/90-brltty.rules
|
2024-01-05 21:00:16 +01:00
|
|
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/brltty-install
|
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
%find_lang %{name}
|
|
|
|
|
2024-01-05 21:00:16 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post
|
|
|
|
[ -e /etc/brlapi.key ] || mcookie > /etc/brlapi.key
|
2024-01-05 21:00:17 +01:00
|
|
|
:
|
|
|
|
|
2024-01-05 21:00:16 +01:00
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
%files -f %{name}.lang
|
2024-01-05 21:00:16 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_sysconfdir}/brltty
|
2024-01-05 21:00:17 +01:00
|
|
|
%{_sysconfdir}/brltty/*
|
2024-01-05 21:00:16 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/brltty/brltty.conf
|
2024-01-05 21:00:17 +01:00
|
|
|
%{_sysconfdir}/X11/Xsession.d/90xbrlapi
|
2024-01-05 21:00:16 +01:00
|
|
|
%{_bindir}/brltty
|
2024-01-05 21:00:17 +01:00
|
|
|
%{_bindir}/brltty-*
|
2024-01-05 21:00:17 +01:00
|
|
|
%{_bindir}/eutp
|
2024-01-05 21:00:16 +01:00
|
|
|
%{_bindir}/vstp
|
|
|
|
%{_bindir}/xbrlapi
|
2024-01-05 21:00:17 +01:00
|
|
|
#%{_datadir}/polkit-1/actions/org.a11y.brlapi.policy
|
2024-01-05 21:00:17 +01:00
|
|
|
%{_datadir}/gdm/greeter/autostart/xbrlapi.desktop
|
|
|
|
%{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 -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 21:00:17 +01:00
|
|
|
%{_prefix}/lib/lua/*/brlapi.so
|
2024-01-05 21:00:16 +01:00
|
|
|
%{_libdir}/brltty/libbrltty*.so
|
|
|
|
%{_libdir}/libbrlapi.so.*
|
2024-01-05 21:00:17 +01:00
|
|
|
%{_libdir}/brltty/Emacs/brlapi.so
|
2024-01-05 21:00:18 +01:00
|
|
|
%{_libexecdir}/brltty/brltty-pty
|
2024-01-05 21:00:17 +01:00
|
|
|
%doc LICENSE-LGPL
|
2024-01-05 21:00:17 +01:00
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
%files -n lib%{name}-devel
|
2024-01-05 21:00:17 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/brlapi.h
|
2024-01-05 21:00:17 +01:00
|
|
|
%{_includedir}/brlapi_*.h
|
2024-01-05 21:00:17 +01:00
|
|
|
%dir %{_includedir}/brltty
|
|
|
|
%{_includedir}/brltty/*.h
|
|
|
|
%{_includedir}/brlapi_brldefs.h
|
|
|
|
%{_libdir}/libbrlapi.so
|
|
|
|
%{_libdir}/libbrlapi.a
|
|
|
|
%{_mandir}/man3/brlapi_*3*
|
2024-01-05 21:00:17 +01:00
|
|
|
%{_libdir}/pkgconfig/brltty.pc
|
2024-01-05 21:00:17 +01:00
|
|
|
#%doc README
|
2024-01-05 21:00:16 +01:00
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
%files -n ocaml-brlapi
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_libdir}/ocaml/brlapi
|
|
|
|
%{_libdir}/ocaml/brlapi/brlapi.cma
|
|
|
|
%{_libdir}/ocaml/brlapi/brlapi.cmi
|
|
|
|
%{_libdir}/ocaml/brlapi/libbrlapi_stubs.a
|
|
|
|
%{_libdir}/ocaml/brlapi/META
|
|
|
|
%{_libdir}/ocaml/brlapi/dllbrlapi_stubs.so
|
|
|
|
|
|
|
|
%files -n ocaml-brlapi-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/ocaml/brlapi/brlapi.cmxa
|
|
|
|
%{_libdir}/ocaml/brlapi/brlapi.mli
|
|
|
|
|
2024-01-05 21:00:16 +01:00
|
|
|
%changelog
|
2024-10-22 09:40:41 +02:00
|
|
|
* Sat Oct 19 2024 Automatic Build System <autodist@openmamba.org> 6.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:00:18 +01:00
|
|
|
* Sun Jul 30 2023 Automatic Build System <autodist@mambasoft.it> 6.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:00:18 +01:00
|
|
|
* Fri Jul 07 2023 Sdk Build System <sdk@mambasoft.it> 6.5-4mamba
|
|
|
|
- rebuilt with ocaml 4.14.1
|
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
* Sat Oct 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.5-3mamba
|
|
|
|
- added a buildconflict for libat-spi-devel
|
|
|
|
|
|
|
|
* Fri Oct 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.5-2mamba
|
|
|
|
- rebuilt without libat-spi
|
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
* Tue Jun 14 2022 Automatic Build System <autodist@mambasoft.it> 6.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
* Sat Jan 22 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.4-2mamba
|
|
|
|
- package ocaml bindings apart
|
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
* Sat Sep 25 2021 Automatic Build System <autodist@mambasoft.it> 6.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 6.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
* Thu Jan 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.2-1mamba
|
|
|
|
- update to 6.2
|
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
* Fri Oct 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 6.1-1mamba
|
|
|
|
- update to 6.1
|
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
* Sun Feb 24 2019 Automatic Build System <autodist@mambasoft.it> 6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
* Fri Mar 16 2018 Automatic Build System <autodist@mambasoft.it> 5.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
* Mon Jun 26 2017 Automatic Build System <autodist@mambasoft.it> 5.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
* Thu Jul 28 2016 Automatic Build System <autodist@mambasoft.it> 5.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
* Sat Jan 16 2016 Automatic Build System <autodist@mambasoft.it> 5.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
* Mon Feb 09 2015 Automatic Build System <autodist@mambasoft.it> 5.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
* Thu Oct 02 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1-1mamba
|
|
|
|
- update to 5.1
|
|
|
|
|
2024-01-05 21:00:16 +01:00
|
|
|
* Mon Jun 17 2013 Automatic Build System <autodist@mambasoft.it> 4.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 15 2012 Automatic Build System <autodist@mambasoft.it> 4.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Oct 25 2011 Automatic Build System <autodist@mambasoft.it> 4.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Jun 29 2010 Automatic Build System <autodist@mambasoft.it> 4.2-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Mon May 17 2010 Automatic Build System <autodist@mambasoft.it> 4.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Oct 17 2009 Automatic Build System <autodist@mambasoft.it> 4.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Sep 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0-4mamba
|
|
|
|
- added udev rules files
|
|
|
|
|
|
|
|
* Wed Sep 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0-3mamba
|
|
|
|
- generate brlapi.key on installation
|
|
|
|
|
|
|
|
* Wed Sep 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0-2mamba
|
|
|
|
- rebuilt with libbraille, ocaml and tcl
|
|
|
|
|
|
|
|
* Fri Aug 28 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0-1mamba
|
|
|
|
- package created by autospec
|