1 Summary: CMU Sphinx III - Speech recognitnion engine
2 Summary(pl.UTF-8): CMU Sphinx III - System rozpoznawania mowy
7 Group: Applications/Communications
8 Source0: http://downloads.sourceforge.net/cmusphinx/%{name}-%{version}.tar.bz2
9 # Source0-md5: e32bf4c507509b27482adf4cfc467e8f
10 Patch0: %{name}-am.patch
11 Patch1: %{name}-update.patch
12 Patch2: %{name}-format.patch
13 Patch3: %{name}-install.patch
14 Patch4: %{name}-link.patch
15 URL: https://cmusphinx.github.io/
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: libtool
19 BuildRequires: sphinxbase-devel >= 0.8
20 Requires: sphinxbase >= 0.8
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 One of Carnegie Mellon University's open source large vocabulary,
25 speaker-independent continuous speech recognition engine.
27 Plug your microphone, launch sphinx3-simple, and test it!
29 %description -l pl.UTF-8
30 System rozpoznawania ciągłej mowy, niezależny od mówiącego, z dużym
31 słownikiem, pochodzący z Carnegie Mellon University.
33 Podłącz mikrofon, uruchom sphinx3-simple i testuj!
36 Summary: CMU Sphinx III header files
37 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek CMU Sphinx III
38 Group: Development/Libraries
39 Requires: %{name} = %{version}-%{release}
40 Requires: sphinxbase-devel >= 0.8
43 CMU Sphinx III header files.
45 %description devel -l pl.UTF-8
46 Pliki nagłówkowe bibliotek CMU Sphinx III.
49 Summary: Static CMU Sphinx III libraries
50 Summary(pl.UTF-8): Biblioteki statyczne CMU Sphinx III
51 Group: Development/Libraries
52 Requires: %{name}-devel = %{version}-%{release}
55 Static version of CMU Sphinx III libraries.
57 %description static -l pl.UTF-8
58 Statyczne wersje bibliotek CMU Sphinx III.
61 Summary: Documentation for CMU Sphinx III
62 Summary(pl.UTF-8): Dokumentacja pakietu CMU Sphinx III
66 Documentation for CMU Sphinx III.
68 %description doc -l pl.UTF-8
69 Dokumentacja pakietu CMU Sphinx III.
79 find doc -name .svn | xargs %{__rm} -r
81 # subdirs install is broken
83 %{__mv} doc/{images,s3,s3-2_files} doc/.hidden
94 rm -rf $RPM_BUILD_ROOT
97 DESTDIR=$RPM_BUILD_ROOT
99 # obsoleted by pkg-config
100 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libs3decoder.la
102 install -d $RPM_BUILD_ROOT%{_docdir}
103 %{__mv} $RPM_BUILD_ROOT%{_datadir}/%{name}/doc $RPM_BUILD_ROOT%{_docdir}/%{name}
104 %{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}/doxygen.{cfg,main}
105 # remaining files, not handled properly by automake install
106 cp -pr doc/.hidden/{images,s3,s3-2_files} $RPM_BUILD_ROOT%{_docdir}/%{name}
107 %{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}/{images/Makefile,s3-2_files/{Makefile,filelist.xml}}
111 rm -rf $RPM_BUILD_ROOT
113 %post -p /sbin/ldconfig
114 %postun -p /sbin/ldconfig
117 %defattr(644,root,root,755)
118 %doc AUTHORS COPYING ChangeLog NEWS README
119 %attr(755,root,root) %{_bindir}/sphinx3-simple
120 %attr(755,root,root) %{_bindir}/sphinx3_*
121 %attr(755,root,root) %{_libdir}/libs3decoder.so.*.*.*
122 %attr(755,root,root) %ghost %{_libdir}/libs3decoder.so.0
126 %defattr(644,root,root,755)
127 %attr(755,root,root) %{_libdir}/libs3decoder.so
128 %{_includedir}/sphinx3
129 %{_pkgconfigdir}/sphinx3.pc
132 %defattr(644,root,root,755)
133 %{_libdir}/libs3decoder.a
136 %defattr(644,root,root,755)