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