]> git.pld-linux.org Git - packages/gnome-speech.git/blob - gnome-speech.spec
- version 0.2.3
[packages/gnome-speech.git] / gnome-speech.spec
1
2 # TODO:
3 #       java package?
4 #       build other speech plugins?
5
6 Summary:        GNOME Speech - text-to-speech convertion
7 Summary(pl):    GNOME Speech - przekszta³canie tekstu na mowê
8 Name:           gnome-speech
9 Version:        0.2.3
10 Release:        1
11 License:        GPL
12 Group:          Libraries
13 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/0.2/%{name}-%{version}.tar.bz2
14 # Source0-md5:  d767cc3001bd5a08ed1760e44de7fa6d
15 Patch0:         %{name}-configure.patch
16 Patch1:         %{name}-nojava.patch
17 Patch2:         %{name}-am.patch
18 URL:            http://developer.gnome.org/projects/gap/
19 BuildRequires:  ORBit2-devel >= 2.3.94
20 BuildRequires:  autoconf
21 BuildRequires:  bonobo-activation-devel >= 0.9.1
22 BuildRequires:  libbonobo-devel >= 1.97.0
23 Requires:       festival >= 1.4.2
24 Obsoletes:      gnome_speech
25 Provides:       gnome_speech
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 GNOME Speech purpose is to provide a simple general API for producing
30 text-to-speech output.
31
32 %description -l pl
33 Celem GNOME Speech jest udostêpnienie prostego, ogólnego API do
34 przekszta³cania tekstu na mowê.
35
36 %package devel
37 Summary:        Development files for gnome_speech
38 Summary(pl):    Pliki programistyczne dla gnome_speech
39 Group:          Development/Libraries
40 Requires:       %{name} = %{version}
41 Obsoletes:      gnome_speech-devel
42 Provides:       gnome_speech-devel
43
44
45 %description devel
46 Gnome speech files needed for development.
47
48 %description devel -l pl
49 Pliki Gnome speech potrzebne do programowania.
50
51 %prep
52 %setup -q
53 %patch0 -p1
54 %patch1 -p1
55 %patch2 -p1
56
57 %build
58 %{__libtoolize}
59 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
60 %{__automake}
61 %{__autoconf}
62 %configure
63
64 %{__make} 
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 %{__make} install \
69         orbittypelibdir=%{_libdir}/orbit-2.0 \
70         DESTDIR=$RPM_BUILD_ROOT
71
72 # no *.la for orbit modules
73 rm -f $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/*.la
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post   -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
80
81 %files
82 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_bindir}/festival-synthesis-driver
84 %attr(755,root,root) %{_bindir}/test-speech
85 %attr(755,root,root) %{_libdir}/libgnomespeech.so.*.*.*
86 %{_libdir}/bonobo/servers/*.server
87 %{_libdir}/orbit-2.0/*.so*
88
89 %files devel
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_libdir}/libgnomespeech.so
92 %{_libdir}/libgnomespeech.la
93 %{_includedir}/gnome-speech-1.0
94 %{_datadir}/idl/gnome-speech-1.0
95 %{_pkgconfigdir}/*.pc
This page took 0.053485 seconds and 4 git commands to generate.