1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
Name: kaldi
Version: 5.3
Release: 1%{?dist}
Summary: A toolkit for speech recognition
License: ASL 2.0
URL: http://kaldi-asr.org/
Source0: https://github.com/kaldi-asr/%{name}/archive/%{version}.zip
BuildRequires: gcc,gcc-c++,make,automake,autoconf,patch,grep,bzip2,gzip,wget,git,svn,gawk,openfst,openfst-devel,perl-Pod-Html,perl-podlators
Requires: atlas,python2.7,python3,zlib-devel,zlib1g-dev,zlib-devel,libtool,openfst,openfst-devel
%description
Kaldi is a toolkit for speech recognition, intended for use by speech recognition researchers and professionals.
%global debug_package %{nil}
%prep
cd %{_topdir}/BUILD
rm -rf %{name}-%{version}
cd %{_topdir}/SOURCES
unzip 5.3.zip
cd %{_topdir}/BUILD
cp -rf %{_topdir}/SOURCES/%{name}-%{version} .
cp %{_topdir}/SOURCES/%{name}-%{version}/COPYING %{_topdir}/BUILD/
/usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
rm -rf %{_topdir}/SOURCES/%{name}-%{version}
%build
%{_topdir}/BUILD/%{name}-%{version}/tools/extras/install_sctk_patched.sh
cd %{_topdir}/BUILD/%{name}-%{version}/tools
export CC=gcc && make
cd %{_topdir}/BUILD/%{name}-%{version}/src
./configure
%install
cd %{_topdir}/BUILD/%{name}-%{version}/src
pwd
export CC=gcc && make
%files
%license COPYING
%changelog
* Thu May 10 2018 aacosta@fedoraproject.org - 5.3-1
- Initial version of the package
|