]> git.pld-linux.org Git - packages/gnome-speech.git/blame - gnome-speech.spec
- converted to UTF-8
[packages/gnome-speech.git] / gnome-speech.spec
CommitLineData
39088490 1# TODO:
94eb16c5 2# - build other speech plugins?
8bb49eaf 3#
94eb16c5 4# Conditional build:
02da6cd6 5%bcond_without java # don't build java subpackage
94eb16c5 6#
39088490 7Summary: GNOME Speech - text-to-speech convertion
af0a6e92 8Summary(pl.UTF-8): GNOME Speech - przekształcanie tekstu na mowę
39088490 9Name: gnome-speech
2346c615 10Version: 0.4.7
d9fba16c 11Release: 1
dddded48 12License: LGPL
39088490 13Group: Libraries
02da6cd6 14Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-speech/0.4/%{name}-%{version}.tar.bz2
2346c615 15# Source0-md5: 6aa7393fc82ccd0ce0298bb3ca5c2491
ce3ce238 16Patch0: %{name}-jar_dir.patch
39088490 17URL: http://developer.gnome.org/projects/gap/
2346c615 18BuildRequires: ORBit2-devel >= 1:2.14.4
39088490 19BuildRequires: autoconf
d5e2de3f 20BuildRequires: automake
02da6cd6 21BuildRequires: gnome-common >= 2.12.0
22BuildRequires: gtk-doc >= 1.7
8bb49eaf 23%if %{with java}
24BuildRequires: jar
25BuildRequires: java
02da6cd6 26BuildRequires: java-access-bridge >= 1.6.0
8bb49eaf 27%endif
2346c615 28BuildRequires: libbonobo-devel >= 2.16.0
d5e2de3f 29BuildRequires: libtool
c0362701 30BuildRequires: pkgconfig
39088490 31Requires: festival >= 1.4.2
39088490 32Provides: gnome_speech
ff83b710 33Obsoletes: gnome_speech
39088490 34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
37GNOME Speech purpose is to provide a simple general API for producing
38text-to-speech output.
39
af0a6e92
JR
40%description -l pl.UTF-8
41Celem GNOME Speech jest udostępnienie prostego, ogólnego API do
42przekształcania tekstu na mowę.
39088490 43
44%package devel
45Summary: Development files for gnome_speech
af0a6e92 46Summary(pl.UTF-8): Pliki programistyczne dla gnome_speech
39088490 47Group: Development/Libraries
5eb1ec29 48Requires: %{name} = %{version}-%{release}
2346c615 49Requires: libbonobo-devel >= 2.16.0
6ad58c93 50Provides: gnome_speech-devel
ff83b710 51Obsoletes: gnome_speech-devel
6ad58c93 52
39088490 53%description devel
3facb58c 54GNOME Speech files needed for development.
39088490 55
af0a6e92 56%description devel -l pl.UTF-8
3facb58c 57Pliki GNOME Speech potrzebne do programowania.
39088490 58
5eb1ec29 59%package static
60Summary: Static gnome-speech library
af0a6e92 61Summary(pl.UTF-8): Statyczna biblioteka gnome-speech
5eb1ec29 62Group: Development/Libraries
63Requires: %{name}-devel = %{version}-%{release}
64
65%description static
66Static gnome-speech library.
67
af0a6e92 68%description static -l pl.UTF-8
5eb1ec29 69Statyczna biblioteka gnome-speech.
70
8bb49eaf 71%package java
72Summary: Java classes for gnome-speech
af0a6e92 73Summary(pl.UTF-8): Klasy Java dla gnome-speech
8bb49eaf 74Group: Development/Libraries
75
76%description java
77Java classes for gnome-speech.
78
af0a6e92 79%description java -l pl.UTF-8
8bb49eaf 80Klasy Java dla gnome-speech.
81
39088490 82%prep
83%setup -q
2e601b01 84%patch0 -p1
39088490 85
86%build
87%{__libtoolize}
53355092 88%{__aclocal}
ff83b710 89%{__autoheader}
39088490 90%{__automake}
91%{__autoconf}
5eb1ec29 92%configure \
93 --enable-static \
94 --enable-gtk-doc \
2346c615 95 %{?with_java:--with-jab-dir=%{_javadir}}
306fcbc5 96%{__make}
39088490 97
98%install
99rm -rf $RPM_BUILD_ROOT
97567c18 100
39088490 101%{__make} install \
102 orbittypelibdir=%{_libdir}/orbit-2.0 \
103 DESTDIR=$RPM_BUILD_ROOT
104
105# no *.la for orbit modules
5eb1ec29 106rm -f $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/*.{la,a}
39088490 107
108%clean
109rm -rf $RPM_BUILD_ROOT
110
111%post -p /sbin/ldconfig
112%postun -p /sbin/ldconfig
113
114%files
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.*.*.*
5eb1ec29 119%attr(755,root,root) %{_libdir}/orbit-2.0/*.so*
39088490 120%{_libdir}/bonobo/servers/*.server
39088490 121
122%files devel
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
5eb1ec29 129
130%files static
131%defattr(644,root,root,755)
132%{_libdir}/lib*.a
8bb49eaf 133
134%if %{with java}
135%files java
136%defattr(644,root,root,755)
2346c615 137%{_javadir}/*.jar
8bb49eaf 138%endif
This page took 0.068999 seconds and 4 git commands to generate.