2024-01-05 21:00:16 +01:00
|
|
|
Name: brltty
|
2024-01-05 21:00:17 +01:00
|
|
|
Version: 5.1
|
2024-01-05 21:00:16 +01:00
|
|
|
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 <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://mielke.cc/brltty/
|
2024-01-05 21:00:17 +01:00
|
|
|
Source: http://mielke.cc/brltty/archive/brltty-%{version}.tar.xz
|
|
|
|
#Source: http://mielke.cc/brltty/releases/brltty-%{version}.tar.gz
|
|
|
|
Patch0: %{name}-5.1-udev.patch
|
2024-01-05 21:00:16 +01:00
|
|
|
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
|
2024-01-05 21:00:17 +01:00
|
|
|
BuildRequires: libtk-devel
|
2024-01-05 21:00:16 +01:00
|
|
|
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.
|
|
|
|
|
2024-01-05 21:00:17 +01:00
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-01-05 21:00:16 +01:00
|
|
|
%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
|
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
|
2024-01-05 21:00:17 +01:00
|
|
|
/sbin/ldconfig
|
2024-01-05 21:00:16 +01:00
|
|
|
[ -e /etc/brlapi.key ] || mcookie > /etc/brlapi.key
|
|
|
|
exit 0
|
|
|
|
|
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
|
|
|
|
%{_sysconfdir}/brltty/brl*.kti
|
|
|
|
%{_sysconfdir}/brltty/kbd-*.kti
|
|
|
|
%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-ctb
|
|
|
|
%{_bindir}/brltty-trtxt
|
|
|
|
%{_bindir}/brltty-ttb
|
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
|
|
|
/lib/udev/rules.d/90-brltty.rules
|
2024-01-05 21:00:16 +01:00
|
|
|
%{_libdir}/brltty/libbrltty*.so
|
|
|
|
%{_libdir}/libbrlapi.so.*
|
2024-01-05 21:00:17 +01:00
|
|
|
%dir %{_libdir}/brlapi-*
|
2024-01-05 21:00:16 +01:00
|
|
|
%{_libdir}/brlapi-*/libbrlapi_tcl.so
|
|
|
|
%{_libdir}/brlapi-*/pkgIndex.tcl
|
2024-01-05 21:00:17 +01:00
|
|
|
%dir %{_libdir}/ocaml/brlapi
|
2024-01-05 21:00:16 +01:00
|
|
|
%{_libdir}/ocaml/brlapi/brlapi.*
|
|
|
|
%{_libdir}/ocaml/brlapi/libbrlapi_stubs.a
|
|
|
|
%{_libdir}/ocaml/brlapi/META
|
|
|
|
%{_libdir}/ocaml/brlapi/dllbrlapi_stubs.so
|
2024-01-05 21:00:17 +01:00
|
|
|
%{_datadir}/gdm/greeter/autostart/xbrlapi.desktop
|
2024-01-05 21:00:16 +01:00
|
|
|
%{python_sitearch}/Brlapi-*.egg-info
|
|
|
|
%{python_sitearch}/brlapi.so
|
2024-01-05 21:00:17 +01:00
|
|
|
%{_mandir}/man1/brltty.1*
|
|
|
|
%{_mandir}/man1/eutp.1*
|
|
|
|
%{_mandir}/man1/vstp.1*
|
|
|
|
%{_mandir}/man1/xbrlapi.1*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/brltty-config
|
|
|
|
%{_includedir}/brlapi.h
|
|
|
|
%{_includedir}/brlapi_constants.h
|
|
|
|
%{_includedir}/brlapi_keycodes.h
|
|
|
|
%{_includedir}/brlapi_protocol.h
|
|
|
|
%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:16 +01:00
|
|
|
%doc README
|
|
|
|
|
|
|
|
%changelog
|
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
|