Added support for AtSpi2 driver

Resolves: rhbz#1204462
- Added support for eSpeak driver
- Filtered private libraries from provides/requires
This commit is contained in:
Jaroslav Škarvada 2015-03-23 18:40:24 +01:00
parent 7484f709e9
commit a4b0abaad9

View File

@ -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@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@redhat.com> - 5.2-4
- ocaml-4.02.1 rebuild.