diff options
author | Jakub Bogusz | 2003-01-30 23:25:11 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 64053f1fe981c964c2e611896e958b214f9b8a01 (patch) | |
tree | 20a60270b1b614a9f602e8d9f1bf7a4b29e0b08c | |
parent | e5efe7d631c45fd6d6a575bb6782563c25711793 (diff) | |
download | sphinx2-64053f1fe981c964c2e611896e958b214f9b8a01.zip sphinx2-64053f1fe981c964c2e611896e958b214f9b8a01.tar.gz |
- up to 0.4, added acam patch
Changed files:
sphinx2-acam.patch -> 1.1
sphinx2.spec -> 1.9
-rw-r--r-- | sphinx2-acam.patch | 53 | ||||
-rw-r--r-- | sphinx2.spec | 15 |
2 files changed, 65 insertions, 3 deletions
diff --git a/sphinx2-acam.patch b/sphinx2-acam.patch new file mode 100644 index 0000000..8595f75 --- /dev/null +++ b/sphinx2-acam.patch @@ -0,0 +1,53 @@ +--- sphinx2-0.4/configure.in.orig Thu Dec 13 22:15:17 2001 ++++ sphinx2-0.4/configure.in Thu Jan 30 22:45:39 2003 +@@ -29,10 +29,10 @@ + ad_libs="" + + AC_ARG_WITH(alsa, [use ALSA library for sound I/O], +- AC_CHECK_HEADER(sys/asoundlib.h, ++ [AC_CHECK_HEADER(sys/asoundlib.h, + [ad_libs="-lasound"; ad_files="ad_alsa.lo"; + ad_backend="AD_BACKEND_ALSA"], +- AC_ERROR(ALSA header file <sys/asoundlib.h> not found!))) ++ AC_ERROR(ALSA header file <sys/asoundlib.h> not found!))]) + + if test "x$ad_files" = "x"; then + case $host in +@@ -86,7 +86,6 @@ + AC_SUBST(ad_files) + AC_SUBST(ad_libs) + AC_SUBST(ad_backend) +-AC_SUBST(LIBOBJS) + AC_SUBST(PERL) + AC_SUBST(CSH) + +--- sphinx2-0.4/src/examples/Makefile.am.orig Fri Dec 7 20:10:34 2001 ++++ sphinx2-0.4/src/examples/Makefile.am Thu Jan 30 22:47:42 2003 +@@ -13,7 +13,8 @@ + + EXTRA_DIST = README \ + README.bin \ +- cdcn_test ++ cdcn_test \ ++ clicore.h srvcore.h + + sphinx2_continuous_SOURCES = tty-continuous.c + +@@ -43,8 +44,6 @@ + + #cdcn_test_SOURCES = cdcn_test.c + +-EXTRA_DIST = clicore.h srvcore.h +- + LDADD = $(top_builddir)/src/libsphinx2/libsphinx2.la \ + $(top_builddir)/src/libsphinx2fe/libsphinx2fe.la \ + $(top_builddir)/src/libsphinx2ad/libsphinx2ad.la \ +--- sphinx2-0.4/src/libsphinx2ad/Makefile.am.orig Fri Dec 7 21:03:19 2001 ++++ sphinx2-0.4/src/libsphinx2ad/Makefile.am Thu Jan 30 22:47:12 2003 +@@ -24,6 +24,4 @@ + + libsphinx2ad_la_LIBADD = @ad_files@ @ad_libs@ + +-libsphinx2ad_la_LDFLAGS = -version-info 0:4:0 +- + INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include diff --git a/sphinx2.spec b/sphinx2.spec index b507a6e..3f203fb 100644 --- a/sphinx2.spec +++ b/sphinx2.spec @@ -1,13 +1,17 @@ Summary: Speech recognitnion engine Summary(pl): System rozpoznawania mowy Name: sphinx2 -Version: 0.3 -Release: 2 +Version: 0.4 +Release: 1 License: GPL Group: Applications/Communications Source0: ftp://ftp.sourceforge.net/pub/sourceforge/cmusphinx/%{name}-%{version}.tar.gz Patch0: %{name}-wid.patch +Patch1: %{name}-acam.patch URL: http://www.speech.cs.cmu.edu/sphinx/ +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -49,9 +53,14 @@ Statyczne wersje bibliotek sphinx2. %prep %setup -q %patch0 -p1 +%patch1 -p1 %build -%configure2_13 +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__automake} +%configure %{__make} %install |