1 | %define pkg_name praat |
---|
2 | %define pkg_version 6.0.40 |
---|
3 | %define pkg_release 1%{?_dist_release} |
---|
4 | |
---|
5 | Summary: program for speech analysis and synthe |
---|
6 | Summary(ja): 音声分析および音声合成用プログラム |
---|
7 | Name: %{pkg_name} |
---|
8 | Version: %{pkg_version} |
---|
9 | Release: %{pkg_release} |
---|
10 | |
---|
11 | License: GPLv2 |
---|
12 | Group: Applications/Edutainment |
---|
13 | URL: http://www.fon.hum.uva.nl/praat/ |
---|
14 | Source0: %{name}-%{version}.tar.gz |
---|
15 | Source1: praat.desktop |
---|
16 | |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
18 | |
---|
19 | BuildRequires: gtk2-devel |
---|
20 | BuildRequires: alsa-lib-devel |
---|
21 | BuildRequires: pulseaudio-libs-devel |
---|
22 | |
---|
23 | Vendor: Project Vine |
---|
24 | Distribution: Vine Linux |
---|
25 | |
---|
26 | |
---|
27 | %description |
---|
28 | According to its authors, praat is "doing phonetics by computer". |
---|
29 | Through its graphical interface, several speech analysis functionalities |
---|
30 | are available: spectrograms, cochleograms, and pitch and formant extraction. |
---|
31 | Articulatory synthesis, as well as synthesis from pitch, formant, and |
---|
32 | intensity are also available. Other features are segmentation, labelling |
---|
33 | using the phonetic alphabet, and computation of statistics. |
---|
34 | Praat is configurable and extensible through its own scripting language |
---|
35 | and has provisions for communicating with other programs. |
---|
36 | |
---|
37 | %description -l ja |
---|
38 | 作者によると、praat は "doing phonetics by computer" の略称だそうです。 |
---|
39 | グラフィカルなインターフェイスを通じて、スペクトログラム、cochleogram、 |
---|
40 | そしてピッチやフォルマントの抽出といった複数の音声分析機能が利用できます。 |
---|
41 | 調音分析に加え、ピッチやフォルマント、そして強度からの分析が利用できます。 |
---|
42 | セグメント分割、音声のアルファベットを使ったラベル付け、そして統計計算といった |
---|
43 | 機能も利用できます。Praat はスクリプト言語を通じた設定や機能が豊富で、 |
---|
44 | 他のプログラムとの通信の用意ができています。 |
---|
45 | |
---|
46 | |
---|
47 | %prep |
---|
48 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
49 | %setup -q |
---|
50 | %{__cp} makefiles/makefile.defs.linux.pulse ./makefile.defs |
---|
51 | |
---|
52 | %build |
---|
53 | %{__make} %{?_smp_mflags} |
---|
54 | |
---|
55 | %install |
---|
56 | %{__mkdir_p} ${RPM_BUILD_ROOT}%{_bindir} |
---|
57 | %{__install} -m 755 praat ${RPM_BUILD_ROOT}%{_bindir} |
---|
58 | %{__mkdir_p} ${RPM_BUILD_ROOT}%{_datadir}/applications |
---|
59 | %{__install} -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_datadir}/applications |
---|
60 | |
---|
61 | %clean |
---|
62 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
63 | |
---|
64 | |
---|
65 | %files |
---|
66 | %defattr(-, root, root) |
---|
67 | %doc README.md main/GNU_General_Public_License.txt |
---|
68 | %{_bindir}/ |
---|
69 | %{_datadir}/applications/ |
---|
70 | |
---|
71 | |
---|
72 | %changelog |
---|
73 | * Sat May 12 2018 Toshiaki Ara <ara_t@384.jp> 6.0.40-1 |
---|
74 | - update to 6.0.40 |
---|
75 | |
---|
76 | * Sun Apr 01 2018 Toshiaki Ara <ara_t@384.jp> 6.0.38-1 |
---|
77 | - update to 6.0.38 |
---|
78 | |
---|
79 | * Mon Feb 05 2018 Toshiaki Ara <ara_t@384.jp> 6.0.37-1 |
---|
80 | - update to 6.0.37 |
---|
81 | |
---|
82 | * Sun Nov 12 2017 Toshiaki Ara <ara_t@384.jp> 6.0.36-1 |
---|
83 | - new package |
---|