]> git.pld-linux.org Git - packages/gnome-speech.git/blame - gnome-speech.spec
- release 7 (by relup.sh)
[packages/gnome-speech.git] / gnome-speech.spec
CommitLineData
39088490 1# TODO:
94eb16c5 2# - build other speech plugins?
8bb49eaf 3#
94eb16c5 4# Conditional build:
21019ca2 5%bcond_without festival # don't build Festival plugin
02da6cd6 6%bcond_without java # don't build java subpackage
94eb16c5 7#
ef7e2865
MB
8%ifnarch i586 i686 pentium3 pentium4 athlon %{x8664}
9%undefine with_java
10%endif
39088490 11Summary: GNOME Speech - text-to-speech convertion
897ce7ef 12Summary(pl.UTF-8): GNOME Speech - przekształcanie tekstu na mowę
39088490 13Name: gnome-speech
9767c533 14Version: 0.4.23
db799ff0 15Release: 7
dddded48 16License: LGPL
39088490 17Group: Libraries
7ae77116 18Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-speech/0.4/%{name}-%{version}.tar.bz2
9767c533 19# Source0-md5: 54041cf87f7de56dd081848e86a08d4c
ce3ce238 20Patch0: %{name}-jar_dir.patch
39088490 21URL: http://developer.gnome.org/projects/gap/
ef7e2865 22BuildRequires: ORBit2-devel >= 1:2.14.7
39088490 23BuildRequires: autoconf
d5e2de3f 24BuildRequires: automake
ef7e2865 25BuildRequires: espeak-devel
bc18a931
MB
26BuildRequires: gnome-common >= 2.18.0
27BuildRequires: gtk-doc >= 1.8
8bb49eaf 28%if %{with java}
ef7e2865 29BuildRequires: java-access-bridge >= 1.18.0
2e3b42e2 30BuildRequires: jdk
8bb49eaf 31%endif
71837332 32BuildRequires: libbonobo >= 2.18.0
bc18a931 33BuildRequires: libbonobo-devel >= 2.18.0
d5e2de3f 34BuildRequires: libtool
c0362701 35BuildRequires: pkgconfig
d1c5b0e6 36Requires: gnome-speech-driver
39088490 37Provides: gnome_speech
ff83b710 38Obsoletes: gnome_speech
39088490 39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%description
42GNOME Speech purpose is to provide a simple general API for producing
43text-to-speech output.
44
af0a6e92
JR
45%description -l pl.UTF-8
46Celem GNOME Speech jest udostępnienie prostego, ogólnego API do
47przekształcania tekstu na mowę.
39088490 48
d1c5b0e6
MB
49%package driver-espeak
50Summary: Espeak TTS Speech Driver
0df51e45 51Summary(pl.UTF-8): Sterownik mowy ESpeak TTS
d1c5b0e6
MB
52Group: Libraries
53Requires: espeak
54Provides: gnome-speech-driver
55
56%description driver-espeak
57Provides text to speech services using the Espeak Speech Synthesis
58System.
59
0df51e45
JB
60%description driver-espeak -l pl.UTF-8
61Ten pakiet udostępnia usługę przekształcania tekstu na mowę przy
62użyciu systemu syntezy mowy Espeak.
63
d1c5b0e6
MB
64%package driver-festival
65Summary: Festival TTS Speech Driver
0df51e45 66Summary(pl.UTF-8): Sterownik mowy Festival TTS
d1c5b0e6
MB
67Group: Libraries
68Requires: festival
69Provides: gnome-speech-driver
70
71%description driver-festival
72Provides the text to speech services using the Festival Speech
73Synthesis System.
74
0df51e45
JB
75%description driver-festival -l pl.UTF-8
76Ten pakiet udostępnia usługę przekształcania tekstu na mowę przy
77użyciu systemu syntezy mowy Festival.
78
d1c5b0e6
MB
79%package driver-speech-dispatcher
80Summary: Speech Dispatcher driver
0df51e45 81Summary(pl.UTF-8): Sterownik mowy Speech Dispatcher
d1c5b0e6
MB
82Group: Libraries
83Provides: gnome-speech-driver
84
85%description driver-speech-dispatcher
86Provides the text to speech services using Speech Dispatcher.
87
0df51e45
JB
88%description driver-speech-dispatcher -l pl.UTF-8
89Ten pakiet udostępnia usługę przekształcania tekstu na mowę przy
90użyciu systemu Speech Dispatcher.
91
39088490 92%package devel
93Summary: Development files for gnome_speech
897ce7ef 94Summary(pl.UTF-8): Pliki programistyczne dla gnome_speech
39088490 95Group: Development/Libraries
5eb1ec29 96Requires: %{name} = %{version}-%{release}
bc18a931 97Requires: libbonobo-devel >= 2.18.0
6ad58c93 98Provides: gnome_speech-devel
ff83b710 99Obsoletes: gnome_speech-devel
6ad58c93 100
39088490 101%description devel
3facb58c 102GNOME Speech files needed for development.
39088490 103
af0a6e92 104%description devel -l pl.UTF-8
3facb58c 105Pliki GNOME Speech potrzebne do programowania.
39088490 106
5eb1ec29 107%package static
108Summary: Static gnome-speech library
897ce7ef 109Summary(pl.UTF-8): Statyczna biblioteka gnome-speech
5eb1ec29 110Group: Development/Libraries
111Requires: %{name}-devel = %{version}-%{release}
112
113%description static
114Static gnome-speech library.
115
af0a6e92 116%description static -l pl.UTF-8
5eb1ec29 117Statyczna biblioteka gnome-speech.
118
8bb49eaf 119%package java
120Summary: Java classes for gnome-speech
897ce7ef 121Summary(pl.UTF-8): Klasy Java dla gnome-speech
7ae77116
ER
122Group: Development/Languages/Java
123Requires: jpackage-utils
8bb49eaf 124
125%description java
126Java classes for gnome-speech.
127
af0a6e92 128%description java -l pl.UTF-8
8bb49eaf 129Klasy Java dla gnome-speech.
130
39088490 131%prep
132%setup -q
2e601b01 133%patch0 -p1
39088490 134
135%build
136%{__libtoolize}
53355092 137%{__aclocal}
ff83b710 138%{__autoheader}
39088490 139%{__automake}
140%{__autoconf}
5eb1ec29 141%configure \
142 --enable-static \
143 --enable-gtk-doc \
21019ca2 144 --with%{!?with_festival:out}-festival \
ef7e2865 145 --with-speech-dispatcher \
2346c615 146 %{?with_java:--with-jab-dir=%{_javadir}}
30d5f931
MB
147%{__make} \
148 espeak_LIBDIR=%{_libdir}
39088490 149
150%install
151rm -rf $RPM_BUILD_ROOT
97567c18 152
39088490 153%{__make} install \
154 orbittypelibdir=%{_libdir}/orbit-2.0 \
155 DESTDIR=$RPM_BUILD_ROOT
156
157# no *.la for orbit modules
5eb1ec29 158rm -f $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/*.{la,a}
39088490 159
160%clean
161rm -rf $RPM_BUILD_ROOT
162
163%post -p /sbin/ldconfig
164%postun -p /sbin/ldconfig
165
166%files
167%defattr(644,root,root,755)
39088490 168%attr(755,root,root) %{_bindir}/test-speech
169%attr(755,root,root) %{_libdir}/libgnomespeech.so.*.*.*
a6a14bbb 170%attr(755,root,root) %ghost %{_libdir}/libgnomespeech.so.?
5eb1ec29 171%attr(755,root,root) %{_libdir}/orbit-2.0/*.so*
d1c5b0e6
MB
172
173%files driver-espeak
174%defattr(644,root,root,755)
175%attr(755,root,root) %{_bindir}/espeak-synthesis-driver
ef7e2865 176%{_libdir}/bonobo/servers/GNOME_Speech_SynthesisDriver_Espeak.server
d1c5b0e6
MB
177
178%if %{with festival}
179%files driver-festival
180%defattr(644,root,root,755)
181%attr(755,root,root) %{_bindir}/festival-synthesis-driver
182%{_libdir}/bonobo/servers/GNOME_Speech_SynthesisDriver_Festival.server
183%endif
184
185%files driver-speech-dispatcher
186%defattr(644,root,root,755)
187%attr(755,root,root) %{_bindir}/speechd-synthesis-driver
ef7e2865 188%{_libdir}/bonobo/servers/GNOME_Speech_SynthDriver_Speech_Dispatcher.server
39088490 189
190%files devel
191%defattr(644,root,root,755)
192%attr(755,root,root) %{_libdir}/libgnomespeech.so
193%{_libdir}/libgnomespeech.la
194%{_includedir}/gnome-speech-1.0
195%{_datadir}/idl/gnome-speech-1.0
196%{_pkgconfigdir}/*.pc
5eb1ec29 197
198%files static
199%defattr(644,root,root,755)
07ea91d2 200%{_libdir}/libgnomespeech.a
8bb49eaf 201
202%if %{with java}
203%files java
204%defattr(644,root,root,755)
2346c615 205%{_javadir}/*.jar
8bb49eaf 206%endif
This page took 0.097724 seconds and 4 git commands to generate.