SPECS: gnome-speech.spec - added festival bcond

megabajt megabajt at pld-linux.org
Fri Apr 20 09:54:16 CEST 2007


Author: megabajt                     Date: Fri Apr 20 07:54:16 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added festival bcond

---- Files affected:
SPECS:
   gnome-speech.spec (1.38 -> 1.39) 

---- Diffs:

================================================================
Index: SPECS/gnome-speech.spec
diff -u SPECS/gnome-speech.spec:1.38 SPECS/gnome-speech.spec:1.39
--- SPECS/gnome-speech.spec:1.38	Sat Apr 14 17:25:48 2007
+++ SPECS/gnome-speech.spec	Fri Apr 20 09:54:11 2007
@@ -3,6 +3,7 @@
 # - build other speech plugins?
 #
 # Conditional build:
+%bcond_without	festival	# don't build Festival plugin
 %bcond_without	java		# don't build java subpackage
 #
 %ifnarch i586 i686 pentium3 pentium4 athlon %{x8664}
@@ -32,7 +33,7 @@
 BuildRequires:	libbonobo-devel >= 2.18.0
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
-Requires:	festival >= 1.4.2
+%{?with_festival:Requires:	festival >= 1.4.2}
 Provides:	gnome_speech
 Obsoletes:	gnome_speech
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -96,6 +97,7 @@
 %configure \
 	--enable-static \
 	--enable-gtk-doc \
+	--with%{!?with_festival:out}-festival \
 	--with-speech-dispatcher \
 	%{?with_java:--with-jab-dir=%{_javadir}}
 %{__make}
@@ -119,13 +121,13 @@
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/espeak-synthesis-driver
-%attr(755,root,root) %{_bindir}/festival-synthesis-driver
+%{?with_festival:%attr(755,root,root) %{_bindir}/festival-synthesis-driver}
 %attr(755,root,root) %{_bindir}/speechd-synthesis-driver
 %attr(755,root,root) %{_bindir}/test-speech
 %attr(755,root,root) %{_libdir}/libgnomespeech.so.*.*.*
 %attr(755,root,root) %{_libdir}/orbit-2.0/*.so*
 %{_libdir}/bonobo/servers/GNOME_Speech_SynthesisDriver_Espeak.server
-%{_libdir}/bonobo/servers/GNOME_Speech_SynthesisDriver_Festival.server
+%{?with_festival:%{_libdir}/bonobo/servers/GNOME_Speech_SynthesisDriver_Festival.server}
 %{_libdir}/bonobo/servers/GNOME_Speech_SynthDriver_Speech_Dispatcher.server
 
 %files devel
@@ -152,6 +154,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.39  2007/04/20 07:54:11  megabajt
+- added festival bcond
+
 Revision 1.38  2007/04/14 15:25:48  megabajt
 - requires jdk to build
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gnome-speech.spec?r1=1.38&r2=1.39&f=u



More information about the pld-cvs-commit mailing list