%bcond_with at_spi # AtSpi screen driver
%bcond_without at_spi2 # AtSpi2 screen driver
-%define brlapi_ver 0.6.4
+%define brlapi_ver 0.6.5
%include /usr/lib/rpm/macros.java
Summary: Braille display driver for Linux/Unix
Summary(pl.UTF-8): Sterownik do wyĆwietlaczy Braille'a
Name: brltty
-Version: 5.3
-Release: 1
+Version: 5.4
+Release: 6
License: GPL v2+ (brltty and drivers), LGPL v2.1+ (APIs)
Group: Daemons
Source0: http://mielke.cc/brltty/archive/%{name}-%{version}.tar.xz
-# Source0-md5: 19fbcb1fefc42cea81f560de0a1f539f
-Patch0: %{name}-format.patch
+# Source0-md5: cfedd365e6237d762ad8c35b4f6fb361
Patch1: %{name}-speech-dispatcher.patch
Patch2: %{name}-python.patch
+Patch3: make.patch
URL: http://mielke.cc/brltty/
BuildRequires: alsa-lib-devel
%{?with_at_spi:BuildRequires: at-spi-devel}
%{?with_java:BuildRequires: rpm-javaprov}
%{?with_python:BuildRequires: rpm-pythonprov}
%{?with_speech_dispatcher:BuildRequires: speech-dispatcher-devel >= 0.8}
+BuildRequires: systemd-devel
BuildRequires: tar >= 1:1.22
%{?with_tcl:BuildRequires: tcl-devel >= 8.5}
%if %{with x}
%prep
%setup -q
-%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
%{__autoconf}
cd ../..
%endif
-directory="doc"
-mkdir -p "$directory"
-for file in `find . \( -path "./$directory" -o -path ./Documents \) -prune -o \( -name 'README*' -o -name '*.txt' -o -name '*.html' -o -name '*.sgml' -o \( -path "./Bootdisks/*" -type f -perm +ugo=x \) \) -print`
-do
- mkdir -p "$directory/${file%/*}"
- cp -rp "$file" "$directory/$file"
-done
-
%install
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc Documents/{Manual-BRLTTY/English/BRLTTY*,ChangeLog,HISTORY,TODO}
-%doc doc/{Bindings,Bootdisks,Drivers,Patches,Tables,README}
%attr(755,root,root) %{_bindir}/brltty
%attr(755,root,root) %{_bindir}/brltty-atb
%attr(755,root,root) %{_bindir}/brltty-config