[brltty] Added support for AtSpi2 driver

Jaroslav Škarvada jskarvad at fedoraproject.org
Mon Mar 23 17:40:28 UTC 2015


commit a4b0abaad983acc17c01f768deb500c7f29c6cbb
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date:   Mon Mar 23 18:40:24 2015 +0100

    Added support for AtSpi2 driver
    
      Resolves: rhbz#1204462
    - Added support for eSpeak driver
    - Filtered private libraries from provides/requires

 brltty.spec | 44 ++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 40 insertions(+), 4 deletions(-)
---
diff --git a/brltty.spec b/brltty.spec
index 81573c9..d2203b5 100644
--- a/brltty.spec
+++ b/brltty.spec
@@ -15,9 +15,14 @@
 
 %global with_ocaml 1
 
+# Filter private libraries
+%global _privatelibs libbrltty.+\.so.*
+%global __provides_exclude ^(%{_privatelibs})$
+%global __requires_exclude ^(%{_privatelibs})$
+
 Name: brltty
 Version: %{pkg_version}
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: GPLv2+
 Group: System Environment/Daemons
 URL: http://mielke.cc/brltty/
@@ -27,8 +32,8 @@ Patch4: brltty-loadLibrary.patch
 # libspeechd.h moved in latest speech-dispatch (NOT sent upstream)
 Patch5: brltty-5.0-libspeechd.patch
 Summary: Braille display driver for Linux/Unix
-BuildRequires: byacc glibc-kernheaders bluez-libs-devel
-BuildRequires: systemd gettext
+BuildRequires: byacc, glibc-kernheaders, bluez-libs-devel, systemd
+BuildRequires: gettext, at-spi-devel, at-spi2-core-devel, espeak-devel
 # work around a bug in the install process:
 Requires(post): coreutils
 Requires(post): systemd
@@ -78,11 +83,28 @@ Summary: AtSpi driver for BRLTTY
 Group: System Environment/Daemons
 # The data files are licensed under LGPLv2+, see the README file.
 License: GPLv2+ and LGPLv2+
-BuildRequires: at-spi-devel
 Requires: %{name} = %{pkg_version}-%{release}
 %description at-spi
 This package provides the AtSpi driver for BRLTTY.
 
+%package at-spi2
+Summary: AtSpi2 driver for BRLTTY
+Group: System Environment/Daemons
+# The data files are licensed under LGPLv2+, see the README file.
+License: GPLv2+ and LGPLv2+
+Requires: %{name} = %{pkg_version}-%{release}
+%description at-spi2
+This package provides the AtSpi2 driver for BRLTTY.
+
+%package espeak
+Summary: eSpeak driver for BRLTTY
+Group: System Environment/Daemons
+# The data files are licensed under LGPLv2+, see the README file.
+License: GPLv2+ and LGPLv2+
+Requires: %{name} = %{pkg_version}-%{release}
+%description espeak
+This package provides the eSpeak driver for BRLTTY.
+
 %package -n brlapi
 Version: %{api_version}
 Group: Applications/System
@@ -322,6 +344,8 @@ fi
 %{_libdir}/brltty/
 %exclude %{_libdir}/brltty/libbrlttybba.so
 %exclude %{_libdir}/brltty/libbrlttybxw.so
+%exclude %{_libdir}/brltty/libbrlttyxa2.so
+%exclude %{_libdir}/brltty/libbrlttyses.so
 %exclude %{_libdir}/brltty/libbrlapi_java.so
 %if %{with_speech_dispatcher}
 %exclude %{_libdir}/brltty/libbrlttyssd.so
@@ -348,6 +372,12 @@ fi
 %files at-spi
 %{_libdir}/brltty/libbrlttyxas.so
 
+%files at-spi2
+%{_libdir}/brltty/libbrlttyxa2.so
+
+%files espeak
+%{_libdir}/brltty/libbrlttyses.so
+
 %files -n brlapi
 %{_bindir}/vstp
 %{_bindir}/eutp
@@ -392,6 +422,12 @@ fi
 %endif
 
 %changelog
+* Mon Mar 23 2015 Jaroslav Škarvada <jskarvad at redhat.com> - 5.2-5
+- Added support for AtSpi2 driver
+  Resolves: rhbz#1204462
+- Added support for eSpeak driver
+- Filtered private libraries from provides/requires
+
 * Tue Feb 17 2015 Richard W.M. Jones <rjones at redhat.com> - 5.2-4
 - ocaml-4.02.1 rebuild.
 


More information about the scm-commits mailing list