4 Group: System/Libraries
6 URL: http://www.pocketsphinx.org/
7 Summary: Speech Recognition Engine
8 Source: http://sourceforge.net/projects/cmusphinx/files/%{name}/%{version}/%{name}-%{version}.tar.gz
10 BuildRequires: pkgconfig(python)
11 BuildRequires: python-setuptools
14 Sphinxbase is a common library for CMU Sphinx voice recognition products.
15 This package does not provide voice recognition by itself.
18 Summary: Header and other development files for sphinxbase
19 Group: Development/Libraries
20 Requires: %{name}-libs = %{version}-%{release}
23 Header files and other development files for sphinxbase.
26 Summary: Libraries for sphinxbase
27 Group: Development/Libraries
30 The libraries for sphinxbase.
33 Summary: Python interface to sphinxbase
34 Group: Development/Libraries
35 Requires: %{name}-libs = %{version}-%{release}
38 Python interface to sphinxbase.
44 %configure --disable-static --disable-rpath
49 rm -rf $RPM_BUILD_ROOT
50 mkdir -p $RPM_BUILD_ROOT%{python_sitearch}
51 make install DESTDIR=$RPM_BUILD_ROOT
52 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
54 # Install the man pages
55 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
56 cp -p doc/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
59 rm -rf $RPM_BUILD_ROOT
61 %post libs -p /sbin/ldconfig
63 %postun libs -p /sbin/ldconfig
66 %defattr(-,root,root,-)
71 %defattr(-,root,root,-)
72 %{_includedir}/sphinxbase
73 %{_libdir}/libsphinxad.so
74 %{_libdir}/libsphinxbase.so
75 %{_libdir}/pkgconfig/sphinxbase.pc
78 %defattr(-,root,root,-)
79 %doc AUTHORS ChangeLog COPYING NEWS README
80 %{_libdir}/libsphinxad.so.*
81 %{_libdir}/libsphinxbase.so.*
84 %defattr(-,root,root,-)