rpms/pocketsphinx/devel import.log, NONE, 1.1 pocketsphinx-0.5.1-doc.patch, NONE, 1.1 pocketsphinx-0.5.1-python.patch, NONE, 1.1 pocketsphinx.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jerry James jjames at fedoraproject.org
Wed Aug 26 14:58:01 UTC 2009


Author: jjames

Update of /cvs/pkgs/rpms/pocketsphinx/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30931/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log pocketsphinx-0.5.1-doc.patch 
	pocketsphinx-0.5.1-python.patch pocketsphinx.spec 
Log Message:
Initial checkin.



--- NEW FILE import.log ---
pocketsphinx-0_5_1-3_fc11:HEAD:pocketsphinx-0.5.1-3.fc11.src.rpm:1251298640

pocketsphinx-0.5.1-doc.patch:
 doxyfile.in |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

--- NEW FILE pocketsphinx-0.5.1-doc.patch ---
diff -dur pocketsphinx-0.5.1.ORIG/doc/doxyfile.in pocketsphinx-0.5.1/doc/doxyfile.in
--- pocketsphinx-0.5.1.ORIG/doc/doxyfile.in	2008-07-07 18:14:52.000000000 -0600
+++ pocketsphinx-0.5.1/doc/doxyfile.in	2009-08-21 10:13:42.144889225 -0600
@@ -421,7 +421,7 @@
 # for undocumented members. If EXTRACT_ALL is set to YES then this flag will 
 # automatically be disabled.
 
-WARN_IF_UNDOCUMENTED   = YES
+WARN_IF_UNDOCUMENTED   = NO
 
 # If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for 
 # potential errors in the documentation, such as not documenting some 
@@ -462,7 +462,8 @@
 # directories like "/usr/src/myproject". Separate the files or directories 
 # with spaces.
 
-INPUT                  = @top_srcdir@/include @top_srcdir@/src/libpocketsphinx
+INPUT                  = @top_srcdir@/include \
+                         @top_srcdir@/src/libpocketsphinx
 
 # This tag can be used to specify the character encoding of the source files that 
 # doxygen parses. Internally doxygen uses the UTF-8 encoding, which is also the default 
@@ -504,7 +505,9 @@
 # against the file with absolute path, so to exclude all test directories 
 # for example use the pattern */test/*
 
-EXCLUDE_PATTERNS       = */.svn/* */.deps/* */.libs/*
+EXCLUDE_PATTERNS       = */.svn/*  \
+                         */.deps/* \
+                         */.libs/*
 
 # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names 
 # (namespaces, classes, functions, etc.) that should be excluded from the output. 

pocketsphinx-0.5.1-python.patch:
 Makefile.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE pocketsphinx-0.5.1-python.patch ---
diff -dur pocketsphinx-0.5.1.ORIG/python/Makefile.in pocketsphinx-0.5.1/python/Makefile.in
--- pocketsphinx-0.5.1.ORIG/python/Makefile.in	2008-11-29 14:46:47.000000000 -0700
+++ pocketsphinx-0.5.1/python/Makefile.in	2009-03-24 13:53:36.000000000 -0600
@@ -429,7 +429,7 @@
 @BUILD_PYTHON_TRUE at all-local: pymod-build-stamp
 
 @BUILD_PYTHON_TRUE at install-exec-local: pymod-build-stamp
- at BUILD_PYTHON_TRUE@	$(PYTHON) setup.py install --prefix $(DESTDIR)$(prefix)
+ at BUILD_PYTHON_TRUE@	$(PYTHON) setup.py install --skip-build --root $(DESTDIR)
 
 @BUILD_PYTHON_TRUE at uninstall-local:
 @BUILD_PYTHON_TRUE@	$(PYTHON) setup.py bogus_uninstall --prefix $(DESTDIR)$(prefix)


--- NEW FILE pocketsphinx.spec ---
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name:           pocketsphinx
Version:        0.5.1
Release:        3%{?dist}
Summary:        Real-time speech recognition

Group:          Applications/Multimedia
License:        BSD and LGPLv2+
URL:            http://www.pocketsphinx.org/
Source0:        http://downloads.sourceforge.net/cmusphinx/%{name}-%{version}.tar.bz2
# Fix the building of doxygen documentation
Patch0:         pocketsphinx-0.5.1-doc.patch
# Install the Python egg in the Fedora way.
Patch1:         pocketsphinx-0.5.1-python.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  doxygen, gstreamer-devel, gstreamer-plugins-base-devel
BuildRequires:  pkgconfig, python-setuptools-devel, sphinxbase-devel

%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
somewhat less accurate than the offline speech recognizers, it is lightweight
enough to run on handheld and embedded devices.

%package devel
Summary:        Header files for developing with pocketsphinx
Group:          Applications/Multimedia
Requires:       %{name}-libs = %{version}-%{release}, pkgconfig
Requires:       sphinxbase-devel

%description devel
Header files for developing with pocketsphinx.

%package libs
Summary:        Shared libraries for pocketsphinx executables
Group:          Applications/Multimedia

%description libs
Shared libraries for pocketsphinx executables.

%package plugin
Summary:        Pocketsphinx gstreamer plugin
Group:          Applications/Multimedia
Requires:       %{name}-libs = %{version}-%{release}, gstreamer-plugins-base

%description plugin
A gstreamer plugin for pocketsphinx.

%package python
Summary:        Python interface to pocketsphinx
Group:          Applications/Multimedia
Requires:       %{name}-libs = %{version}-%{release}, sphinxbase-python

%description python
Python interface to pocketsphinx.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
%configure --disable-dependency-tracking --disable-static

# Get rid of undesirable hardcoded runpaths
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool

# Get rid of undesirable direct library dependencies
sed -i -e 's/ -lsphinxad//g' src/libpocketsphinx/Makefile

make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{python_sitearch}
make install DESTDIR=$RPM_BUILD_ROOT

# Install the man pages
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
cp -p doc/*.1 $RPM_BUILD_ROOT%{_mandir}/man1

# Get rid of files we don't want packaged
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-0.10/*.la
rm -f $RPM_BUILD_ROOT%{_datadir}/pocketsphinx/model/lm/turtle/turtle.handdict
rm -f doc/html/installdox

%clean
rm -rf $RPM_BUILD_ROOT

%post libs -p /sbin/ldconfig

%postun libs -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/*
%{_datadir}/pocketsphinx
%{_mandir}/man1/*

%files devel
%defattr(-,root,root,-)
%doc doc/html
%{_includedir}/pocketsphinx
%{_libdir}/libpocketsphinx.so
%{_libdir}/pkgconfig/pocketsphinx.pc

%files libs
%defattr(-,root,root,-)
%{_libdir}/libpocketsphinx.so.*

%files plugin
%defattr(-,root,root,-)
%{_libdir}/gstreamer-0.10/*

%files python
%defattr(-,root,root,-)
%{python_sitearch}/*

%changelog
* Fri Aug 21 2009 Jerry James <loganjerry at gmail.com> - 0.5.1-3
- More review issues:
- Fix license (gstreamer plugin is LGPLv2+)
- Remove unnecessary zero-byte turtle dictionary file

* Fri Aug 21 2009 Jerry James <loganjerry at gmail.com> - 0.5.1-2
- Fix issues raised in review by Andrew Colin Kissa, namely:
- Improve description and summary
- Change the group to Applications/Multimedia

* Tue Mar 24 2009 Jerry James <loganjerry at gmail.com> - 0.5.1-1
- Update to 0.5.1

* Thu Jul 10 2008 Jerry James <loganjerry at gmail.com> - 0.5-1
- Update to 0.5

* Wed Mar  5 2008 Jerry James <loganjerry at gmail.com> - 0.4.1-1
- Initial RPM


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pocketsphinx/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	24 Aug 2009 19:37:58 -0000	1.1
+++ .cvsignore	26 Aug 2009 14:58:01 -0000	1.2
@@ -0,0 +1 @@
+pocketsphinx-0.5.1.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pocketsphinx/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	24 Aug 2009 19:37:58 -0000	1.1
+++ sources	26 Aug 2009 14:58:01 -0000	1.2
@@ -0,0 +1 @@
+d257aa7ac2720669fa0ed5e6b91a0bbf  pocketsphinx-0.5.1.tar.bz2




More information about the fedora-extras-commits mailing list