]> git.pld-linux.org Git - packages/brltty.git/commitdiff
- added speech-dispatcher bcond/BR
authorSzymon Siwek <sls@pld-linux.org>
Tue, 9 Nov 2010 18:45:54 +0000 (18:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    brltty.spec -> 1.47

brltty.spec

index 78f96d6270fafc16debe6d7a343a4feb9c54cb07..4f4dc991f1c6e986c2117b9298ecf8ac806f0a29 100644 (file)
@@ -24,6 +24,7 @@
 %bcond_without python          # python bindings
 %bcond_without tcl             # tcl bindings
 %bcond_without x               # build X11-based utilities
+%bcond_without speech_dispatcher       # build without speech-dispatcher driver
 #
 %include       /usr/lib/rpm/macros.java
 Summary:       Braille display driver for Linux/Unix
@@ -61,7 +62,7 @@ BuildRequires:        flite-devel
 # libbrlttysmp
 #BR: Mikropuhe-devel (-lmikropuhe <mpwrfile.h>)
 # libbrlttyssd
-#BuildRequires:        speech-dispatcher-devel
+%{?with_speech_dispatcher:BuildRequires:       speech-dispatcher-devel}
 # libbrlttyssw
 #BR: Swift-devel (-lswift <swift.h>)
 # libbrlttysth
@@ -552,7 +553,7 @@ exit 0
 %attr(755,root,root) %{_libdir}/brltty/libbrlttysxs.so
 %attr(755,root,root) %{_libdir}/brltty/libbrlttyses.so
 %attr(755,root,root) %{_libdir}/brltty/libbrlttyxa2.so
-%attr(755,root,root) %{_libdir}/brltty/libbrlttyssd.so
+%{?with_speech_dispatcher:%attr(755,root,root) %{_libdir}/brltty/libbrlttyssd.so}
 
 %{_sysconfdir}/brltty
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/brltty.conf
This page took 0.12049 seconds and 4 git commands to generate.