rpms/sphinxbase/devel import.log, NONE, 1.1 sphinxbase-0.4.1-python.patch, NONE, 1.1 sphinxbase.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jerry James jjames at fedoraproject.org
Mon Aug 24 19:49:09 UTC 2009


Author: jjames

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

Modified Files:
	.cvsignore sources 
Added Files:
	import.log sphinxbase-0.4.1-python.patch sphinxbase.spec 
Log Message:
Initial checkin.



--- NEW FILE import.log ---
sphinxbase-0_4_1-1_fc11:HEAD:sphinxbase-0.4.1-1.fc11.src.rpm:1251143249

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

--- NEW FILE sphinxbase-0.4.1-python.patch ---
diff -dur sphinxbase-0.4.1.ORIG/python/Makefile.in sphinxbase-0.4.1/python/Makefile.in
--- sphinxbase-0.4.1.ORIG/python/Makefile.in	2008-11-29 14:42:40.000000000 -0700
+++ sphinxbase-0.4.1/python/Makefile.in	2009-03-18 21:36:50.000000000 -0600
@@ -421,7 +421,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 sphinxbase.spec ---
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name:           sphinxbase
Version:        0.4.1
Release:        1%{?dist}
Summary:        Common library for CMU Sphinx voice recognition products

Group:          Development/Libraries
License:        BSD
URL:            http://www.cmusphinx.org/
Source0:        http://downloads.sourceforge.net/cmusphinx/%{name}-%{version}.tar.bz2
# This patch has not been sent upstream, as it fixes a Fedora-specific problem.
# Install the Python egg in the Fedora way.
Patch0:         sphinxbase-0.4.1-python.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  alsa-lib-devel, blas-devel, doxygen, lapack-devel
BuildRequires:  perl, python-setuptools-devel, tex(latex)

%description
Sphinxbase is a common library for CMU Sphinx voice recognition products.
This package does not provide voice recognition by itself.

%package devel
Summary:        Header and other development files for sphinxbase
Group:          Development/Libraries
Requires:       %{name}-libs = %{version}-%{release}, pkgconfig

%description devel
Header files and other development files for sphinxbase.

%package libs
Summary:        Libraries for sphinxbase
Group:          Development/Libraries

%description libs
The libraries for sphinxbase.

%package python
Summary:        Python interface to sphinxbase
Group:          Development/Libraries
Requires:       %{name}-libs = %{version}-%{release}

%description python
Python interface to sphinxbase.

%prep
%setup -q
%patch0 -p1

iconv -f ISO8859-1 -t UTF-8 AUTHORS > AUTHORS.new
mv -f AUTHORS.new AUTHORS

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

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

# Get rid of undesirable direct library dependencies
sed -i -e 's/-lpthread -lm -lblas -llapack/-lm/g' src/libsphinxad/Makefile
sed -i -e 's/-lasound //g' src/libsphinxbase/Makefile
sed -i -e 's/-lasound //g' src/libsphinxbase/fe/Makefile
sed -i -e 's/-lasound //g' src/libsphinxbase/feat/Makefile
sed -i -e 's/-lasound //g' src/libsphinxbase/lm/Makefile
sed -i -e 's/-lasound //g' src/libsphinxbase/util/Makefile
sed -i -e 's/-lasound //g' src/sphinx_adtools/Makefile
sed -i -e 's/-lasound //g' src/sphinx_cepview/Makefile
sed -i -e 's/-lasound //g' src/sphinx_fe/Makefile
sed -i -e 's/-lasound //g' src/sphinx_jsgf2fsg/Makefile
sed -i -e 's/-lasound //g' src/sphinx_lmtools/Makefile

# Build the programs and libraries
make %{?_smp_mflags}

# Build the man pages
cd doc
export LD_LIBRARY_PATH=../src/libsphinxbase/.libs:../src/libsphinxad/.libs
for prog in sphinx_cepview sphinx_fe; do
  perl args2man.pl ../src/${prog}/${prog} < ${prog}.1.in > ${prog}.1
done
perl args2man.pl ../src/sphinx_adtools/sphinx_pitch < sphinx_pitch.1.in > sphinx_pitch.1
perl args2man.pl ../src/sphinx_lmtools/sphinx_lm_eval < sphinx_lm_eval.1.in > sphinx_lm_eval.1

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{python_sitearch}
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la

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

%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}/*
%{_mandir}/man1/*

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

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

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

%changelog
* Mon Jun  1 2009 Jerry James <loganjerry at gmail.com> - 0.4.1-1
- Initial RPM


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/sphinxbase/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	24 Aug 2009 19:37:09 -0000	1.1
+++ .cvsignore	24 Aug 2009 19:49:09 -0000	1.2
@@ -0,0 +1 @@
+sphinxbase-0.4.1.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/sphinxbase/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	24 Aug 2009 19:37:09 -0000	1.1
+++ sources	24 Aug 2009 19:49:09 -0000	1.2
@@ -0,0 +1 @@
+7e36d3efcf70a37bb3c56c780abb6f8d  sphinxbase-0.4.1.tar.bz2




More information about the fedora-extras-commits mailing list