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