From c9f86acb662f4eda750e6ef4ffede7448e75d406 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 21:00:16 +0100 Subject: [PATCH] automatic version update by autodist [release 4.5-1mamba;Mon Jun 17 2013] --- README.md | 2 + brltty-4.0-udev.patch | 12 ++++ brltty.spec | 136 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 150 insertions(+) create mode 100644 brltty-4.0-udev.patch create mode 100644 brltty.spec diff --git a/README.md b/README.md index 35a5cae..60c9c76 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # brltty +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. + diff --git a/brltty-4.0-udev.patch b/brltty-4.0-udev.patch new file mode 100644 index 0000000..529fd39 --- /dev/null +++ b/brltty-4.0-udev.patch @@ -0,0 +1,12 @@ +diff -Nru brltty-4.0.orig/Hotplug/udev.rules brltty-4.0/Hotplug/udev.rules +--- brltty-4.0.orig/Hotplug/udev.rules 2009-05-15 05:59:36.000000000 +0200 ++++ brltty-4.0/Hotplug/udev.rules 2009-09-16 22:11:46.151921537 +0200 +@@ -93,7 +93,7 @@ + + LABEL="brltty_add" + SYMLINK+="brltty/$env{BRLTTY_DRIVER}-$env{BRLTTY_DEVICE}" +-RUN+="/bin/brltty -E -P$env{BRLTTY_PID_FILE}" ++RUN+="/usr/bin/brltty -E -P$env{BRLTTY_PID_FILE}" + GOTO="brltty_end" + + LABEL="brltty_remove" diff --git a/brltty.spec b/brltty.spec new file mode 100644 index 0000000..d9634a7 --- /dev/null +++ b/brltty.spec @@ -0,0 +1,136 @@ +Name: brltty +Version: 4.5 +Release: 1mamba +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 +URL: http://mielke.cc/brltty/ +Source: http://mielke.cc/brltty/releases/brltty-%{version}.tar.gz +Patch0: %{name}-4.0-udev.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: java_cup +BuildRequires: libbraille-devel +BuildRequires: libICE-devel +BuildRequires: libncurses-devel +BuildRequires: libpython-devel +BuildRequires: libSM-devel +BuildRequires: libX11-devel +BuildRequires: libXaw-devel +BuildRequires: libXext-devel +BuildRequires: libXt-devel +BuildRequires: libXtst-devel +## AUTOBUILDREQ-END +BuildRequires: java_cup +BuildRequires: ocaml +BuildRequires: libtk85-devel +Requires(pre): %{_bindir}/mcookie +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. + +%prep +%setup -q +%patch0 -p1 + +%build +%configure \ + --disable-java-bindings +%make -j1 + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall INSTALL_ROOT=%{buildroot} +install -D Documents/brltty.conf %{buildroot}%{_sysconfdir}/brltty/brltty.conf +install -D Hotplug/udev.rules %{buildroot}%{_sysconfdir}/udev/rules.d/90-brltty.rules + +rm -f %{buildroot}%{_bindir}/brltty-install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +[ -e /etc/brlapi.key ] || mcookie > /etc/brlapi.key +exit 0 + +%files +%defattr(-,root,root) +%dir %{_sysconfdir}/brltty +%{_sysconfdir}/brltty/brl*.kti +%{_sysconfdir}/brltty/kbd-*.kti +%{_sysconfdir}/udev/rules.d/90-brltty.rules +%config(noreplace) %{_sysconfdir}/brltty/brltty.conf +#%config(noreplace) %{_sysconfdir}/brltty/brltty-pm.conf +%{_sysconfdir}/brltty/*.atb +%{_sysconfdir}/brltty/*.ctb +%{_sysconfdir}/brltty/*.cti +%{_sysconfdir}/brltty/*.ktb +%{_sysconfdir}/brltty/*.ttb +%{_sysconfdir}/brltty/*.tti +%{_sysconfdir}/brltty/*.txt +%{_bindir}/brltty +%{_bindir}/brltty-config +%{_bindir}/brltty-ctb +%{_bindir}/brltty-trtxt +%{_bindir}/brltty-ttb +%{_bindir}/vstp +%{_bindir}/xbrlapi +%{_includedir}/brlapi.h +%{_includedir}/brlapi_constants.h +%{_includedir}/brlapi_keycodes.h +%{_includedir}/brlapi_protocol.h +%dir %{_includedir}/brltty +%{_includedir}/brltty/*.h +%{_libdir}/brltty/libbrltty*.so +%{_libdir}/libbrlapi.so.* +%{_libdir}/libbrlapi.so +%{_libdir}/libbrlapi.a +%{_libdir}/brlapi-*/libbrlapi_tcl.so +%{_libdir}/brlapi-*/pkgIndex.tcl +%{_libdir}/ocaml/brlapi/brlapi.* +%{_libdir}/ocaml/brlapi/libbrlapi_stubs.a +%{_libdir}/ocaml/brlapi/META +%{_libdir}/ocaml/brlapi/dllbrlapi_stubs.so +%{python_sitearch}/Brlapi-*.egg-info +%{python_sitearch}/brlapi.so +%{_mandir}/man1/brltty.1.gz +%{_mandir}/man1/vstp.1.gz +%{_mandir}/man1/xbrlapi.1.gz +%{_mandir}/man3/brlapi_*3.gz +%doc README + +%changelog +* Mon Jun 17 2013 Automatic Build System 4.5-1mamba +- automatic version update by autodist + +* Mon Oct 15 2012 Automatic Build System 4.4-1mamba +- automatic version update by autodist + +* Tue Oct 25 2011 Automatic Build System 4.3-1mamba +- automatic version update by autodist + +* Tue Jun 29 2010 Automatic Build System 4.2-2mamba +- automatic rebuild by autodist + +* Mon May 17 2010 Automatic Build System 4.2-1mamba +- automatic update by autodist + +* Sat Oct 17 2009 Automatic Build System 4.1-1mamba +- automatic update by autodist + +* Wed Sep 16 2009 Silvan Calarco 4.0-4mamba +- added udev rules files + +* Wed Sep 16 2009 Silvan Calarco 4.0-3mamba +- generate brlapi.key on installation + +* Wed Sep 16 2009 Silvan Calarco 4.0-2mamba +- rebuilt with libbraille, ocaml and tcl + +* Fri Aug 28 2009 Silvan Calarco 4.0-1mamba +- package created by autospec