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