flite-vl.spec 5.5 KB

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