flite-vl.spec 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. Name: flite
  2. Version: 2.0.0
  3. Release: 1%{?_dist_release}
  4. Summary: Small, fast speech synthesis engine (text-to-speech)
  5. Summary(ja): 合成音声出力の軽量高速エンジン
  6. Group: Applications/Multimedia
  7. License: MIT
  8. URL: http://fife.speech.cs.cmu.edu/flite/
  9. Source0: http://fife.speech.cs.cmu.edu/flite/packed/%{name}-%{version}/%{name}-%{version}-release.tar.bz2
  10. #Source1: README-ALSA.txt
  11. #Patch0: flite-1.3-sharedlibs.patch
  12. #Patch1: flite-1.3-doc_texinfo.patch
  13. #Patch2: flite-1.3-alsa_support.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. #BuildRequires: ed alsa-lib-devel autoconf
  16. BuildRequires: pulseaudio-libs-devel
  17. Distribution: Vine Linux
  18. Vendor: Project Vine
  19. %description
  20. Flite (festival-lite) is a small, fast run-time speech synthesis engine
  21. developed at CMU and primarily designed for small embedded machines and/or
  22. large servers. Flite is designed as an alternative synthesis engine to
  23. Festival for voices built using the FestVox suite of voice building tools.
  24. %description -l ja
  25. Flite (festival-lite) は、CMUで開発された軽量高速合成音声エンジンであり、
  26. 小型組込マシンから大型サーバまで幅広く利用できるように設計されています。
  27. Fliteは、FestVox音声合成ツールによって作成されたFestivalの軽量高速版として
  28. 設計されています。
  29. %package devel
  30. Summary: Development files for flite
  31. Summary: flite の開発用ファイル
  32. Group: Development/Libraries
  33. Requires: %{name} = %{version}-%{release}
  34. %description devel
  35. Development files for Flite, a small, fast speech synthesis engine.
  36. %description devel -l ja
  37. 軽量高速合成音声エンジン Flite の開発用ファイルです。
  38. %prep
  39. %setup -q -n %{name}-%{version}-release
  40. #patch0 -p1 -b .flite-1.3-sharedlibs
  41. #patch1 -p1 -b .flite-1.3-doc_texinfo
  42. #patch2 -p1 -b .flite-1.3-alsa_support
  43. #cp -p %{SOURCE1} .
  44. %build
  45. #autoconf
  46. %configure --disable-static --enable-shared --with-audio=pulseaudio
  47. make %{?_smp_flags}
  48. %install
  49. rm -rf %{buildroot}
  50. make install DESTDIR=%{buildroot}
  51. %clean
  52. rm -rf %{buildroot}
  53. %post -p /sbin/ldconfig
  54. %postun -p /sbin/ldconfig
  55. %files
  56. %defattr(-,root,root,-)
  57. %doc ACKNOWLEDGEMENTS README COPYING
  58. %{_bindir}/*
  59. %{_libdir}/*.so.*
  60. %files devel
  61. %defattr(-,root,root)
  62. %{_includedir}/flite
  63. %{_libdir}/*.so
  64. %exclude %{_libdir}/*.a
  65. %changelog
  66. * Tue Feb 17 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.0-1
  67. - updated to 2.0
  68. - BR: pulseaudio-libs-devel instead of alsa-lib-devel
  69. * Sun Aug 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3-16
  70. - added Japanese summary based on 1.3-0vl2 (VinePlus/4.0(extras))
  71. - merged changelog from 1.3-0vl2
  72. * Mon Dec 4 2006 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  73. - Rebuilt for VineLinux4.0
  74. * Tue Nov 14 2006 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  75. - Initial package for VineLinux3.2
  76. - Refurbished this spec totally but two patches have been remained.
  77. * Sun Aug 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3-15
  78. - Initial build for Vine Linux
  79. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-14
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  81. * Sat Mar 21 2009 Robert Scheck <robert@fedoraproject.org> - 1.3-13
  82. - Removed moving of non-existing documentation flite directory
  83. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-12
  84. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  85. * Sat Oct 11 2008 Peter Lemenkov <lemenkov@gmail.com> - 1.3-11
  86. - Fix for RHEL 4
  87. * Fri Jul 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3-10
  88. - fix license tag
  89. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3-9
  90. - Autorebuild for GCC 4.3
  91. * Tue Nov 14 2006 Francois Aucamp <faucamp@csir.co.za> - 1.3-8
  92. - Added comment to %%build stating why "_smp_flags" isn't used with make
  93. * Mon Nov 13 2006 Francois Aucamp <faucamp@csir.co.za> - 1.3-7
  94. - Modified alsa support patch file to patch "configure.in" instead of "configure"
  95. - Added "autoconf" step to %%build
  96. - Added BuildRequires: autoconf
  97. - Fixed patch backup file suffixes
  98. - Renamed patch files to a more standard format
  99. - Moved header files from /usr/include to /usr/include/flite
  100. - Added -p option to all cp operations (to preserve timestamps)
  101. * Sun Nov 12 2006 Francois Aucamp <faucamp@csir.co.za> - 1.3-6
  102. - Recreated patch to allow shared libraries to build correctly (sharedlibs.patch)
  103. - "flite" and "flite_time" binaries now link to flite shared libraries (sharedlibs.patch)
  104. - Simplified the documentation patch filename
  105. - Modified patch steps in %%prep to create backup files with different suffixes
  106. - Removed "_smp_flags" macro from %%build for all archs
  107. * Fri Oct 20 2006 Francois Aucamp <faucamp@csir.co.za> - 1.3-5
  108. - Modified "build" so that "_smp_flags" is only used for i386 arch
  109. * Mon Oct 10 2006 Francois Aucamp <faucamp@csir.co.za> - 1.3-4
  110. - Removed "_smp_flags" macro from "build" for x86_64 arch
  111. * Tue Sep 26 2006 Francois Aucamp <faucamp@csir.co.za> - 1.3-3
  112. - Added README-ALSA.txt (Source1)
  113. - Removed subpackage: flite-devel-static
  114. - Modified shared libraries patch (Patch0) to prevent building static libraries
  115. - Renamed patch files: Patch0, Patch1
  116. * Tue Sep 26 2006 Francois Aucamp <faucamp@csir.co.za> - 1.3-2
  117. - Added flite 1.3 ALSA patch (Patch2) by Lukas Loehrer - thanks Anthony Green for pointing it out
  118. - Added configure option: --with-audio=alsa
  119. - Added BuildRequires: alsa-lib-devel
  120. * Fri Sep 22 2006 Francois Aucamp <faucamp@csir.co.za> - 1.3-1
  121. - Initial RPM build