sphinx3/sphinx3.spec
2012-09-28 04:38:59 +00:00

89 lines
2.1 KiB
RPMSpec

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/
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}
%files
%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
%{_libdir}/*.a
%{_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