File pocketsphinx.spec of Package pocketsphinx
#
# spec file for package
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: pocketsphinx
Version: 0.7
Release: 1
License: Carnegie Mellon University
Summary: Speech recognizer library written in C
Url: http://cmusphinx.sourceforge.net/wiki/download/
Group: Productivity/Office/Other
Source: http://downloads.sourceforge.net/project/cmusphinx/pocketsphinx/%{version}/%{name}-%{version}.tar.gz
BuildRequires: alsa-devel
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gstreamer-devel
BuildRequires: pkg-config
BuildRequires: python-devel
BuildRequires: sphinxbase-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
CMU Sphinx toolkit has a number of packages for different tasks and applications. It's sometimes confusing what to choose. To cleanup, here is the list
%package devel
License: Carnegie Mellon University
Summary: Speech recognizer library written in C
Group: Development/Libraries/Other
Requires: %{name} = %{version}
%description devel
CMU Sphinx toolkit has a number of packages for different tasks and applications. It's sometimes confusing what to choose. To cleanup, here is the list
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
%fdupes %{buildroot}
rm -f %{buildroot}/%{_libdir}/*.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README
%{_bindir}/pocketsphinx_*
%{_datadir}/%{name}/
%{_libdir}/*.so.*
%{py_sitedir}/*.so
%{py_sitedir}/PocketSphinx-0.7-py2.7.egg-info
%{_mandir}/man1/*.gz
%files devel
%defattr(-,root,root)
%{_includedir}/%{name}/
%{_libdir}/*.so
%{_libdir}/pkgconfig/pocketsphinx.pc
%changelog