1 Summary: Edinburgh Speech Tools Library
2 Summary(pl): Biblioteka narzêdzi mowy Edinburgh
7 Group: Applications/Sound
8 Source0: http://www.cstr.ed.ac.uk/download/festival/1.4.2/%{name}-%{version}-release.tar.gz
9 Patch0: %{name}-termcap.patch
10 Patch1: %{name}-shared.patch
11 URL: http://www.cstr.ed.ac.uk/projects/speech_tools.html
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 The Edinburgh speech tools system is a library of C++ classes,
16 functions and utility programs that are frequently used in speech
20 Narzêdzia mowy Edinburgh s± bibliotek± klas C++, funkcji i programów
21 u¿ytkowych, które czêsto u¿ywa siê w syntezatorach mowy.
24 Summary: Developement files for speech tools
25 Summary(pl): Pliki nag³ówkowe do narzêdzi mowy
26 Group: Applications/Sound
27 Requires: %{name} = %{version}
30 Developement files for speech tools.
32 %description devel -l pl
33 Pliki nag³ówkowe do narzêdzi mowy.
36 Summary: Static libraries for speech tools
37 Summary(pl): Statyczne biblioteki narzêdzi mowy
38 Group: Applications/Sound
39 Requires: %{name}-devel = %{version}
42 Static libraries for speech tools.
44 %description static -l pl
45 Statyczne biblioteki narzêdzi mowy.
48 Summary: Speech tools utils
49 Summary(pl): Programy u¿ytkowe narzêdzi mowy Edinburgh
50 Group: Applications/Sound
51 Requires: %{name} = %{version}
56 %description utils -l pl
57 Programy u¿ytkowe narzêdzi mowy Edinburgh.
69 CFLAGS="%{rpmcflags}" \
70 LDFLAGS="%{rpmldlags}" \
71 OS_LIBS="-ldl -lncurses"
74 rm -rf $RPM_BUILD_ROOT
75 install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/EST,%{_datadir}/%{name}/example_data}
76 install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/{scripts,siod,stats/wagon,grammar/{scfg,wfst}}
79 cp -r include/* $RPM_BUILD_ROOT%{_includedir}/EST
80 find $RPM_BUILD_ROOT%{_includedir}/EST -name Makefile -exec rm \{\} \;
81 for file in `find $RPM_BUILD_ROOT%{_includedir}/EST -type f`
83 sed 's/\"\(.*h\)\"/\<EST\/\1\>/g' $file > $file.tmp
88 install lib/lib* $RPM_BUILD_ROOT%{_libdir}
89 for i in $RPM_BUILD_ROOT%{_libdir}/*.so
92 ln -s `basename $i*` $i
96 install `find bin -type f -perm +1` $RPM_BUILD_ROOT%{_bindir}
99 install scripts/{example_to_doc++.prl,make_wagon_desc.sh,resynth.sh,shared_script,shared_setup_prl,shared_setup_sh} \
100 $RPM_BUILD_ROOT%{_libdir}/%{name}/scripts
103 install lib/example_data/* $RPM_BUILD_ROOT%{_datadir}/%{name}/example_data
104 rm $RPM_BUILD_ROOT%{_datadir}/%{name}/example_data/Makefile
107 cp -r config $RPM_BUILD_ROOT%{_libdir}/%{name}
108 cp -r testsuite $RPM_BUILD_ROOT%{_libdir}/%{name}
109 rm $RPM_BUILD_ROOT%{_libdir}/%{name}/testsuite/*.o
110 install siod/siod.mak $RPM_BUILD_ROOT%{_libdir}/%{name}/siod
111 install stats/ols.mak $RPM_BUILD_ROOT%{_libdir}/%{name}/stats
112 install stats/wagon/wagon.mak $RPM_BUILD_ROOT%{_libdir}/%{name}/stats/wagon
113 install grammar/scfg/scfg.mak $RPM_BUILD_ROOT%{_libdir}/%{name}/grammar/scfg
114 install grammar/wfst/wfst.mak $RPM_BUILD_ROOT%{_libdir}/%{name}/grammar/wfst
117 rm -rf $RPM_BUILD_ROOT
119 %post -p /sbin/ldconfig
120 %postun -p /sbin/ldconfig
123 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_libdir}/lib*.so.*.*
129 %defattr(644,root,root,755)
135 %defattr(644,root,root,755)
139 %defattr(644,root,root,755)
140 %attr(755,root,root) %{_bindir}/*