2 # - build other speech plugins?
5 %bcond_with java # build java subpackage
7 Summary: GNOME Speech - text-to-speech convertion
8 Summary(pl): GNOME Speech - przekszta³canie tekstu na mowê
14 Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-speech/0.3/%{name}-%{version}.tar.bz2
15 # Source0-md5: b5e85e71d24babe169cb1a37e4fbcae2
16 Patch0: %{name}-jar_dir.patch
17 URL: http://developer.gnome.org/projects/gap/
18 BuildRequires: ORBit2-devel >= 1:2.12.1
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: gnome-common >= 2.8.0
22 BuildRequires: gtk-doc >= 1.3
26 BuildRequires: java-access-bridge
28 BuildRequires: libbonobo-devel >= 2.8.1
29 BuildRequires: libtool
30 BuildRequires: pkgconfig
31 Requires: festival >= 1.4.2
32 Provides: gnome_speech
33 Obsoletes: gnome_speech
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 GNOME Speech purpose is to provide a simple general API for producing
38 text-to-speech output.
41 Celem GNOME Speech jest udostêpnienie prostego, ogólnego API do
42 przekszta³cania tekstu na mowê.
45 Summary: Development files for gnome_speech
46 Summary(pl): Pliki programistyczne dla gnome_speech
47 Group: Development/Libraries
48 Requires: %{name} = %{version}-%{release}
49 Requires: libbonobo-devel >= 2.8.1
50 Provides: gnome_speech-devel
51 Obsoletes: gnome_speech-devel
54 GNOME Speech files needed for development.
56 %description devel -l pl
57 Pliki GNOME Speech potrzebne do programowania.
60 Summary: Static gnome-speech library
61 Summary(pl): Statyczna biblioteka gnome-speech
62 Group: Development/Libraries
63 Requires: %{name}-devel = %{version}-%{release}
66 Static gnome-speech library.
68 %description static -l pl
69 Statyczna biblioteka gnome-speech.
72 Summary: Java classes for gnome-speech
73 Summary(pl): Klasy Java dla gnome-speech
74 Group: Development/Libraries
77 Java classes for gnome-speech.
79 %description java -l pl
80 Klasy Java dla gnome-speech.
95 %{?with_java:--with-jab-dir=%{_datadir}/java}
99 rm -rf $RPM_BUILD_ROOT
102 orbittypelibdir=%{_libdir}/orbit-2.0 \
103 DESTDIR=$RPM_BUILD_ROOT
105 # no *.la for orbit modules
106 rm -f $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/*.{la,a}
109 rm -rf $RPM_BUILD_ROOT
111 %post -p /sbin/ldconfig
112 %postun -p /sbin/ldconfig
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_bindir}/festival-synthesis-driver
117 %attr(755,root,root) %{_bindir}/test-speech
118 %attr(755,root,root) %{_libdir}/libgnomespeech.so.*.*.*
119 %attr(755,root,root) %{_libdir}/orbit-2.0/*.so*
120 %{_libdir}/bonobo/servers/*.server
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_libdir}/libgnomespeech.so
125 %{_libdir}/libgnomespeech.la
126 %{_includedir}/gnome-speech-1.0
127 %{_datadir}/idl/gnome-speech-1.0
128 %{_pkgconfigdir}/*.pc
131 %defattr(644,root,root,755)
136 %defattr(644,root,root,755)
137 %{_datadir}/java/*.jar