mirror of
https://abf.rosa.ru/djam/sphinx3.git
synced 2025-02-23 16:42:55 +00:00
Automatic import for version 0.8
This commit is contained in:
commit
943f292638
6 changed files with 124 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
"sphinx3-0.8.tar.gz": 490ee45ae23ee6ed587d7147f2008df8a53db695
|
5
Makefile.an4.patch
Normal file
5
Makefile.an4.patch
Normal file
|
@ -0,0 +1,5 @@
|
|||
--- ./Makefile 2010-04-28 14:42:36.920512135 +0400
|
||||
+++ ./Makefile 2010-04-28 14:48:37.089512119 +0400
|
||||
@@ -254 +254 @@
|
||||
- test -z "$(lmdir)" || $(MKDIR_P) "$(DESTDIR)$(lmdir)"
|
||||
+ test -z "$(DESTDIR)$(lmdir)" || $(MKDIR_P) "$(DESTDIR)$(lmdir)"
|
5
Makefile.inc.patch
Normal file
5
Makefile.inc.patch
Normal file
|
@ -0,0 +1,5 @@
|
|||
--- ./Makefile 2010-04-14 10:08:03.000000000 +0400
|
||||
+++ ./Makefile 2010-04-28 14:40:45.214512007 +0400
|
||||
@@ -293 +293 @@
|
||||
- test -z "$(pkgincludedir)" || $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)"
|
||||
+ test -z "$(DESTDIR)$(pkgincludedir)" || $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)"
|
5
Makefile.patch
Normal file
5
Makefile.patch
Normal file
|
@ -0,0 +1,5 @@
|
|||
--- ./Makefile 2010-04-14 10:08:02.000000000 +0400
|
||||
+++ ./Makefile 2010-04-28 13:02:42.481512199 +0400
|
||||
@@ -296 +296 @@
|
||||
- test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
|
||||
+ test -z "$(DESTDIR)$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
|
5
Makefile2.patch
Normal file
5
Makefile2.patch
Normal file
|
@ -0,0 +1,5 @@
|
|||
--- ./Makefile 2010-04-28 14:56:26.443513028 +0400
|
||||
+++ ./Makefile.new 2010-04-28 15:05:01.779512269 +0400
|
||||
@@ -101 +101 @@
|
||||
-INSTALL = /usr/bin/install -c
|
||||
+INSTALL = /usr/bin/install -C
|
102
sphinx3.spec
Normal file
102
sphinx3.spec
Normal file
|
@ -0,0 +1,102 @@
|
|||
Name: sphinx3
|
||||
Version: 0.8
|
||||
Release: %mkrel 2
|
||||
Summary: CMU Sphinx Recognition System
|
||||
Summary(ru_RU.UTF-8): Система распознавания речи
|
||||
Group: Sound
|
||||
License: BSD-style (see COPYING)
|
||||
Url: http://cmusphinx.sourceforge.net/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}
|
||||
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
|
||||
Requires: sphinxbase
|
||||
BuildRequires: sphinxbase sphinxbase-devel
|
||||
|
||||
Source1: Makefile.patch
|
||||
Source2: Makefile.inc.patch
|
||||
Source3: Makefile.an4.patch
|
||||
Source4: Makefile2.patch
|
||||
|
||||
%define Werror_cflags %nil
|
||||
%define _disable_ld_no_undefined 1
|
||||
|
||||
%description
|
||||
The CMU Sphinx Recognition System is a library and a set
|
||||
of examples and utilities for speech recognition.
|
||||
This package will install the sphinx3 library and some examples.
|
||||
|
||||
%package devel
|
||||
Summary: libraries and header files for Sphinx
|
||||
Group: Development/C
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The CMU Sphinx Recognition System is a library and a set
|
||||
of examples and utilities for speech recognition.
|
||||
This package contains libraries and header files need for development.
|
||||
|
||||
%prep
|
||||
%setup
|
||||
patch -p0 -F 90 Makefile.in %{SOURCE1}
|
||||
patch -p0 -F 90 include/Makefile.in %{SOURCE2}
|
||||
patch -p0 -F 90 model/lm/an4/Makefile.in %{SOURCE3}
|
||||
|
||||
|
||||
%build
|
||||
%{__libtoolize}
|
||||
%{__aclocal}
|
||||
%{__autoconf}
|
||||
%{__automake}
|
||||
# ./autogen.sh
|
||||
%configure
|
||||
patch -p0 -F 90 Makefile %{SOURCE4}
|
||||
patch -p0 -F 90 include/Makefile %{SOURCE4}
|
||||
patch -p0 -F 90 model/lm/an4/Makefile %{SOURCE4}
|
||||
%make
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
%clean
|
||||
rm -fr %{buildroot}
|
||||
|
||||
%post
|
||||
ldconfig
|
||||
|
||||
%postun
|
||||
ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING INSTALL README NEWS doc/*.ppt
|
||||
%doc doc/*.html doc/*.pdf doc/*.txt doc/*.gif
|
||||
%{_bindir}/*
|
||||
%{_datadir}/%{name}
|
||||
%{_libdir}/*.so.*
|
||||
%{_libdir}/*.so
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.a
|
||||
%{_libdir}/*.la
|
||||
%{_includedir}/%{name}/
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Apr 20 2011 zamir <zamir@mandriva.org> 0.8-2mdv2011.0
|
||||
+ Revision: 656226
|
||||
- new sphinxbase
|
||||
|
||||
* Thu Mar 17 2011 Oden Eriksson <oeriksson@mandriva.com> 0.8-1
|
||||
+ Revision: 645881
|
||||
- relink against libmysqlclient.so.18
|
||||
|
||||
* Fri Feb 11 2011 zamir <zamir@mandriva.org> 0.8-0
|
||||
+ Revision: 637304
|
||||
- fixed Build Requires
|
||||
- fix build requires
|
||||
- first build
|
||||
- create sphinx3
|
||||
|
Loading…
Add table
Reference in a new issue