[pocketsphinx] Rebuild for sphinxbase linked with atlas.

Jerry James jjames at fedoraproject.org
Wed Nov 12 18:20:40 UTC 2014


commit 3058390785185d324a5a814f1521c465673195e4
Author: Jerry James <jamesjer at betterlinux.com>
Date:   Wed Nov 12 11:20:08 2014 -0700

    Rebuild for sphinxbase linked with atlas.
    
    Also:
    - Add Provides: bundled(jquery).
    - Minor spec file cleanups.

 pocketsphinx.spec |   26 ++++++++++++++------------
 1 files changed, 14 insertions(+), 12 deletions(-)
---
diff --git a/pocketsphinx.spec b/pocketsphinx.spec
index a7434c8..5a20cb1 100644
--- a/pocketsphinx.spec
+++ b/pocketsphinx.spec
@@ -1,6 +1,6 @@
 Name:           pocketsphinx
 Version:        0.8
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        Real-time speech recognition
 
 Group:          Applications/Multimedia
@@ -14,21 +14,16 @@ Patch1:         %{name}-doxygen.patch
 
 BuildRequires:  Cython
 BuildRequires:  doxygen
-BuildRequires:  gstreamer-devel
-BuildRequires:  gstreamer-plugins-base-devel
-BuildRequires:  lapack-devel
-BuildRequires:  libsamplerate-devel
-BuildRequires:  libsndfile-devel
 BuildRequires:  libtool
+BuildRequires:  pkgconfig(gstreamer-0.10)
+BuildRequires:  pkgconfig(gstreamer-plugins-base-0.10)
+BuildRequires:  pkgconfig(sphinxbase)
 BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
-BuildRequires:  sphinxbase-devel
 
 Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
 Requires:       %{name}-models
 
-%global __provides_exclude_from ^%{_libdir}/python.*\\.so$
-
 %description
 PocketSphinx is a version of the open-source Sphinx-II speech recognition
 system which is able to recognize speech in real-time.  While it may be
@@ -39,7 +34,8 @@ enough to run on handheld and embedded devices.
 Summary:        Header files for developing with pocketsphinx
 Group:          Applications/Multimedia
 Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
-Requires:       sphinxbase-devel%{?_isa}
+Requires:       pkgconfig(sphinxbase)
+Provides:       bundled(jquery)
 
 %description devel
 Header files for developing with pocketsphinx.
@@ -102,7 +98,7 @@ autoreconf -fi
 # -Wl,--as-needed after all the libraries.
 sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
     -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
-    -e 's|CC="gcc|CC="gcc -Wl,--as-needed|' \
+    -e 's|CC="\(g..\)"|CC="\1 -Wl,--as-needed"|' \
     -i libtool
 
 make %{?_smp_mflags}
@@ -134,7 +130,8 @@ rm -f doc/html/installdox
 %{_libdir}/pkgconfig/%{name}.pc
 
 %files libs
-%doc AUTHORS ChangeLog COPYING NEWS README
+%doc AUTHORS ChangeLog NEWS README
+%license COPYING
 %{_libdir}/lib%{name}.so.*
 
 %files models
@@ -147,6 +144,11 @@ rm -f doc/html/installdox
 %{python_sitearch}/*
 
 %changelog
+* Wed Nov 12 2014 Jerry James <loganjerry at gmail.com> - 0.8-9
+- Rebuild for sphinxbase linked with atlas
+- Add Provides: bundled(jquery)
+- Minor spec file cleanups
+
 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.8-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list