From bbe0678f8cdb93661a5646063286b9554ef331ad Mon Sep 17 00:00:00 2001 From: W. Michael Petullo Date: Aug 10 2018 02:05:46 +0000 Subject: New upstream release Signed-off-by: W. Michael Petullo --- diff --git a/pocketsphinx.spec b/pocketsphinx.spec index ef2c00c..af624b7 100644 --- a/pocketsphinx.spec +++ b/pocketsphinx.spec @@ -1,27 +1,23 @@ Name: pocketsphinx -Version: 0.8 -Release: 21%{?dist} +Version: 5prealpha +Release: 1%{?dist} Summary: Real-time speech recognition License: BSD URL: http://cmusphinx.sourceforge.net/ Source0: http://downloads.sourceforge.net/cmusphinx/%{name}-%{version}.tar.gz -# Sent upstream 28 Mar 2013. Enable large file support. -Patch0: %{name}-largefile.patch -# Sent upstream 29 Mar 2013. Fix some broken doxgyen comments. -Patch1: %{name}-doxygen.patch -# Patch from upstream to support long utterances. -Patch2: %{name}-long-utterance.patch +BuildRequires: autoconf-archive BuildRequires: doxygen BuildRequires: gcc BuildRequires: libtool -BuildRequires: pkgconfig(gstreamer-0.10) -BuildRequires: pkgconfig(gstreamer-plugins-base-0.10) +BuildRequires: pkgconfig(gstreamer-1.0) +BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) BuildRequires: pkgconfig(sphinxbase) BuildRequires: python2-Cython BuildRequires: python2-devel BuildRequires: python2-setuptools +BuildRequires: swig Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-models @@ -77,21 +73,14 @@ Python interface to pocketsphinx. %prep %setup -q -%patch0 -%patch1 -%patch2 # Force code generation with a newer version of Cython rm -f python/pocketsphinx.c -# Install the python egg in the Fedora way -sed 's|\( install \)--prefix\( \$(DESTDIR)\)\$(prefix)|\1--skip-build --root\2|' \ - -i python/Makefile.in +# Use system-provided ax_python_devel.m4 +rm -f m4/ax_python_devel.m4 -# Remove spurious executable bits -chmod a-x model/lm/en/tidigits.fsg - -# Regenerate files due to patch 0 +# Regenerate files due to m4 change autoreconf -fi %build @@ -132,20 +121,23 @@ rm -f doc/html/installdox %{_libdir}/pkgconfig/%{name}.pc %files libs -%doc AUTHORS ChangeLog NEWS README -%license COPYING +%doc AUTHORS NEWS README +%license LICENSE %{_libdir}/lib%{name}.so.* %files models %{_datadir}/%{name}/ %files plugin -%{_libdir}/gstreamer-0.10/* +%{_libdir}/gstreamer-1.0/* %files -n python2-pocketsphinx %{python2_sitearch}/* %changelog +* Sun Jul 22 2018 W. Michael Petullo - 5prealpha-1 +- New upstream release + * Tue Jul 17 2018 Miro HronĨok - 0.8-21 - Update Python macros to new packaging standards (See https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package)