]> git.pld-linux.org Git - packages/speech-dispatcher.git/blame - speech-dispatcher.spec
- fixed c&p typos
[packages/speech-dispatcher.git] / speech-dispatcher.spec
CommitLineData
28b37384 1# Conditional build:
2%bcond_with flite
3%bcond_with ibmtts
4%bcond_without espeak
5%bcond_without nas
6%bcond_without alsa
7%bcond_without pulse
8#
9Summary: A device independent layer for speech synthesis
10#Summary(pl.UTF-8): -
11Name: speech-dispatcher
12Version: 0.6.5
13Release: 0.1
14License: GPL v2
15Group: Applications
16Source0: http://www.freebsoft.org/pub/projects/speechd/%{name}-%{version}.tar.gz
17# Source0-md5: ad8cf47918207872ba976f2b2e47c02b
b45d13c8 18Patch0: %{name}-python-install.patch
28b37384 19URL: http://www.freebsoft.org/
20BuildRequires: autoconf
21BuildRequires: automake
22BuildRequires: libtool
23%{?with_flite:Buildrequires: flite-devel}
24%{?with_ibmtts:Buildrequires: ibmtts-devel}
25%{?with_espeak:Buildrequires: espeak-devel}
26%{?with_nas:Buildrequires: nas-devel}
27%{?with_alsa:Buildrequires: alsa-lib-devel}
28%{?with_pulse:Buildrequires: pulseaudio-devel}
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32Speech Dispatcher provides a device independent layer for speech
33synthesis.
34
35#description -l pl.UTF-8
36
37%package devel
38Summary: Header files for speed-dispatcher library
39Summary(pl.UTF-8): Pliki nagłówkowe biblioteki speed-dispatcher
40Group: Development/Libraries
41Requires: %{name} = %{version}-%{release}
42
43%description devel
44Header files for speed-dispatcher library.
45
46%description devel -l pl.UTF-8
47Pliki nagłówkowe biblioteki speed-dispatcher.
48
49%package static
50Summary: Static speed-dispatcher library
51Summary(pl.UTF-8): Statyczna biblioteka speed-dispatcher
52Group: Development/Libraries
53Requires: %{name}-devel = %{version}-%{release}
54
55%description static
56Static speed-dispatcher library.
57
58%description static -l pl.UTF-8
59Statyczna biblioteka speed-dispatcher.
60
61%prep
62%setup -q
b45d13c8 63%patch0 -p1
28b37384 64
65%build
66%{__libtoolize}
67%{__aclocal}
68%{__autoconf}
69%{__autoheader}
70%{__automake}
71%configure \
72 %{?with_flite:--with-flite}%{!?with_flite:--without-flite} \
b45d13c8 73 %{?with_ibmtts:--with-ibmtts}%{!?with_ibmtts:--without-ibmtts} \
74 %{?with_espeak:--with-espeak}%{!?with_espeak:--without-espeak} \
75 %{?with_nas:--with-nas}%{!?with_nas:--without-nas} \
76 %{?with_alsa:--with-alsa}%{!?with_alsa:--without-alsa} \
77 %{?with_pulse:--with-pulse}%{!?with_pulse:--without-pulse}
28b37384 78
79%{__make}
80
81%install
82rm -rf $RPM_BUILD_ROOT
83
84%{__make} install \
85 DESTDIR=$RPM_BUILD_ROOT
86
87%clean
88rm -rf $RPM_BUILD_ROOT
89
90%files
91%defattr(644,root,root,755)
92%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
93%attr(755,root,root) %{_bindir}/*
94%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
95%{_datadir}/%{name}
96
97%files devel
98%defattr(644,root,root,755)
99%attr(755,root,root) %{_libdir}/lib*.so
100%{_libdir}/lib*.la
101%{_includedir}/*
102%{_aclocaldir}/*.m4
103%{_pkgconfigdir}/*.pc
104
105%files static
106%defattr(644,root,root,755)
107%{_libdir}/lib*.a
This page took 0.037546 seconds and 4 git commands to generate.