praat-vl.spec 2.5 KB

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