SPECS: flite.spec (NEW) - new, based on ALT Linux work

twittner twittner at pld-linux.org
Thu Sep 14 20:52:44 CEST 2006


Author: twittner                     Date: Thu Sep 14 18:52:44 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, based on ALT Linux work

---- Files affected:
SPECS:
   flite.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/flite.spec
diff -u /dev/null SPECS/flite.spec:1.1
--- /dev/null	Thu Sep 14 20:52:44 2006
+++ SPECS/flite.spec	Thu Sep 14 20:52:38 2006
@@ -0,0 +1,134 @@
+# $Revision$, $Date$
+#
+# NOTE:	- building is memory consuming (up to c.a. 537MB)
+# TODO:	- review -link,-alsa, version patches
+#	- --disable-static doesn't work
+#	- install manpages via makefile
+#
+# Conditional build:
+%bcond_without	static_libs # don't pack static liraries
+#
+Name:		flite
+Version:	1.2
+Release:	0.1
+Summary:	flite - a small, fast speech synthesis engine
+Summary(ru_RU.KOI8-R):flite - ÍÁĚĹÎŘËĎĹ, ÂŮÓÔŇĎĹ ÓŇĹÄÓÔ×Ď ÄĚŃ ÓÉÎÔĹÚÁ ŇĹŢÉ
+License:	Custom, see COPYING
+Group:		Applications/Sound
+Source0:	http://www.speech.cs.cmu.edu/flite/packed/flite-1.2/%{name}-%{version}-release.tar.bz2
+# Source0-md5:	24c1576f5b3eb23ecedf4bebde96710f
+# ALT Linux patches:
+Patch0:		%{name}-link.patch
+Patch1:		%{name}-alsa.patch
+Patch2:		%{name}-DESTDIR.patch
+Patch3:		%{name}-fix-readonly-assignments.patch
+# Debian patches:
+Patch4:		%{name}-doc.patch
+Patch5:		%{name}-version.patch
+URL:		http://cmuflite.org/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	alsa-lib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Flite - a small, fast speech synthesis engine. It is the latest
+addition to the suite of free software synthesis tools including
+University of Edinburgh's Festival Speech Synthesis System and
+Carnegie Mellon University's FestVox project, tools, scripts and
+documentation for building synthetic voices. However, flite itself
+does not require either of these systems to compile and run.
+
+%description -l ru_RU.KOI8-R
+Flite -- ÍÁĚĹÎŘËĎĹ, ÂŮÓÔŇĎĹ ÓŇĹÄÓÔ×Ď ÄĚŃ ÓÉÎÔĹÚÁ ŇĹŢÉ. üÔĎ ĐĎÓĚĹÄÎĹĹ
+ÄĎÂÁ×ĚĹÎÉĹ Ë ÎÁÂĎŇŐ Ó×ĎÂĎÄÎĎÇĎ ĐŇĎÇŇÁÍÍÎĎÇĎ ĎÂĹÓĐĹŢĹÎÉŃ ÄĚŃ ÓÉÎÔĹÚÁ
+ŇĹŢÉ, ĐŇĎĹËÔŮ FestVox É Festival. ďÄÎÁËĎ, ÓÁÍ flite ÎĹ ÔŇĹÂŐĹÔ ÎÉ
+ĎÄÎĎÇĎ ÉÚ ÜÔÉČ ĐÁËĹÔĎ× ÄĚŃ ËĎÍĐÉĚŃĂÉÉ É ÚÁĐŐÓËÁ.
+
+%package devel
+Summary:	development files for flite
+Group:		Applications/Sound
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+development files for flite, a small, fast speech synthesis engine
+
+%description devel -l ru_RU.KOI8-R
+ćÁĘĚŮ ÄĚŃ ŇÁÚŇÁÂĎÔËÉ Ó ÉÓĐĎĚŘÚĎ×ÁÎÉĹÍ flite - ÍÁĚĹÎŘËĎÇĎ, ÂŮÓÔŇĎÇĎ
+ÓŇĹÄÓÔ×Á ÄĚŃ ÓÉÎÔĹÚÁ ŇĹŢÉ.
+
+%package static
+Summary:	static development files for flite
+Group:		Applications/Sound
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+static development files for flite, a small, fast speech synthesis
+engine
+
+%description static -l ru_RU.KOI8-R
+óÔÁÔÉŢĹÓËÉĹ ĆÁĘĚŮ ÄĚŃ ŇÁÚŇÁÂĎÔËÉ Ó ÉÓĐĎĚŘÚĎ×ÁÎÉĹÍ flite - ÍÁĚĹÎŘËĎÇĎ,
+ÂŮÓÔŇĎÇĎ ÓŇĹÄÓÔ×Á ÄĚŃ ÓÉÎÔĹÚÁ ŇĹŢÉ.
+
+%prep
+%setup -qn %{name}-%{version}-release
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+
+%build
+cp -f /usr/share/automake/config.sub .
+%{__autoconf}
+%configure \
+	--enable-shared \
+	%{!?with_static_libs:--disable-static} \
+	--with-vox=cmu_us_kal16
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+# temp. workaround - put manpages in better place and install them via Makefile
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install debian/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc ACKNOWLEDGEMENTS README COPYING doc/html
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%{_mandir}/man1/*.1*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/*
+%attr(755,root,root) %{_libdir}/lib*.so
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+%endif
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/09/14 18:52:38  twittner
+- new, based on ALT Linux work
+
================================================================


More information about the pld-cvs-commit mailing list