Summary: Braille display driver for Linux/Unix
Summary(pl): Sterownik do wy¶wietlaczy Braille'a
Name: brltty
-Version: 3.3.1
-Release: 1
+Version: 3.7.2
+Release: 3
Group: Daemons
License: GPL
URL: http://mielke.cc/brltty/
Source0: http://mielke.cc/brltty/releases/%{name}-%{version}.tar.gz
-# Source0-md5 b322afdc69c5661d97931f12497ca371
+# Source0-md5: 0ae3da8252783a4d20e1ed4e55cede5b
BuildRequires: autoconf >= 2.53
+BuildRequires: automake
BuildRequires: bison
-BuildRequires: glibc-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%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
+provides complete screen review functionality. Some speech capability
has also been incorporated.
%description -l pl
%package -n brlapi
Summary: Application Programming Interface for BRLTTY
Summary(pl): API do BRLTTY
-Group: Applications/System
+Group: Applications/System
%description -n brlapi
This package provides the run-time support for the Application
%package -n brlapi-devel
Summary: Headers and documentation for BrlAPI
Summary(pl): Pliki nag³ówkowe i dokumentacja do BrlAPI
-Group: Development/Libraries
-Requires: brlapi = %{version}
+Group: Development/Libraries
+Requires: brlapi = %{version}-%{release}
%description -n brlapi-devel
This package provides the header files, shared object linker
reference, and reference documentation for BrlAPI (the Application
-Programming Interface to BRLTTY). It enables the implementation of
+Programming Interface to BRLTTY). It enables the implementation of
applications which take direct advantage of a refreshable Braille
display in order to present information in ways which are more
appropriate for blind users and/or to provide user interfaces which
are more specifically atuned to their needs.
-Install this package if you're developing or maintaining an application
-which directly accesses a refreshable Braille display.
+Install this package if you're developing or maintaining an
+application which directly accesses a refreshable Braille display.
%description -n brlapi-devel -l pl
Ten pakiet zawiera pliki nag³ówkowe oraz dokumentacjê do BrlAPI (API
%package -n brlapi-static
Summary: Static BrlAPI library
Summary(pl): Statyczna biblioteka BrlAPI
-Group: Development/Libraries
-Requires: brlapi-devel = %{version}
+Group: Development/Libraries
+Requires: brlapi-devel = %{version}-%{release}
%description -n brlapi-static
This is package with static BrlAPI library.
%setup -q
%build
-%configure --with-install-root="$RPM_BUILD_ROOT" \
+%{__aclocal}
+%{__autoconf}
+cp -f /usr/share/automake/config.sub acdir
+%configure \
+ --with-install-root="$RPM_BUILD_ROOT" \
--disable-tainted-components \
--enable-api
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install
-install -m 644 Documents/brltty.conf $RPM_BUILD_ROOT%{_sysconfdir}
+install Documents/brltty.conf $RPM_BUILD_ROOT%{_sysconfdir}
%clean
rm -rf $RPM_BUILD_ROOT
# There's no explicit way to tell if a configuration file has been installed
# as itself or as a .rpmnew file. The way we'll figure it out, therefore, is by
-# erasing the .rpmnew file now so that we can see if it gets created later.
+# erasing the .rpmnew file now so that we can see if it gets created later.
rm -f "%{_sysconfdir}/brltty.conf.rpmnew"
%post
}
translateDevice_old()
{
- major="${device%%/*}"
+ major="${device%%/*}"
if [ "${major}" != "${device}" ]
then
minor="${device#*/}"
%files
%defattr(644,root,root,755)
+%doc Documents/{Manual.sgml,Manual.txt,Manual-HTML,ChangeLog,TODO} doc/*
%attr(755,root,root) %{_bindir}/brltty
%attr(755,root,root) %{_bindir}/brltty-*
+%attr(755,root,root) %{_bindir}/xbrlapi
%dir %{_libdir}/brltty
%dir %{_sysconfdir}/brltty
%attr(755,root,root) %{_libdir}/brltty/*.so
-%{_libdir}/brltty
+%dir %{_libdir}/brltty
%{_sysconfdir}/brltty
-%doc %{_mandir}/man1/*
-%doc Documents/Manual.sgml Documents/Manual.txt Documents/Manual-HTML
-%doc Documents/ChangeLog Documents/TODO
-%doc doc/*
-%config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/brltty.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/brltty.conf
+%{_mandir}/man1/*
%files -n brlapi
%defattr(644,root,root,755)
%files -n brlapi-devel
%defattr(644,root,root,755)
-%{_libdir}/libbrlapi.so
+%doc Documents/BrlAPIref-HTML Documents/README.Gnopernicus
+%attr(755,root,root) %{_libdir}/libbrlapi.so
%{_includedir}/brltty
-%doc %{_mandir}/man3/*
-%doc Documents/BrlAPIref-HTML
-%doc Documents/README.Gnopernicus
+%{_mandir}/man3/*
%files -n brlapi-static
%defattr(644,root,root,755)