[pyttsx] Initial import (#702998)

PRABIN KUMAR DATTA prabindatta at fedoraproject.org
Mon Jun 20 11:37:34 UTC 2011


commit 055fd377ca3fcc1892b12a2a4f25c661d9064211
Author: Prabin Kumar Datta <prabindatta at localhost.localdomain>
Date:   Mon Jun 20 17:07:19 2011 +0530

    Initial import (#702998)

 .gitignore  |    1 +
 pyttsx.spec |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..46e2e9a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/parente-pyttsx-86fcc6e.tar.gz
diff --git a/pyttsx.spec b/pyttsx.spec
new file mode 100644
index 0000000..4d53788
--- /dev/null
+++ b/pyttsx.spec
@@ -0,0 +1,50 @@
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%endif
+
+%define		realname parente-pyttsx
+
+Name:		pyttsx
+Version:	1.0
+Release:	1%{?dist}
+Summary:	Cross platform text-to-speech
+Group:		Development/Tools
+License:	BSD
+URL:		http://pypi.python.org/pypi/pyttsx
+Source0:	https://github.com/parente/pyttsx/tarball/master/%{realname}-86fcc6e.tar.gz
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:	noarch
+BuildRequires:	python2-devel
+BuildRequires:	python-setuptools
+
+Requires:	espeak
+
+%description
+pyttsx is a Python package supporting common text-to-speech engines. 
+It currently supports SAPI5, NSSpeechSynthesizer, and espeak.
+
+%prep
+%setup -q -n %{realname}-86fcc6e
+
+%build
+%{__python} setup.py build
+
+%check
+%{__python} setup.py test
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install --skip-build --root %{buildroot}
+# Remove tests
+rm -rf %{buildroot}%{python_sitearch}/tests
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE README.rst
+%{python_sitelib}/%{name}
+%{python_sitelib}/%{name}-%{version}-py?.?.egg-info
+
+%changelog
+* Tue Mar 15 2011 Prabin Kumar Datta <prabindatta at fedoraproject.org> - 1.0-1
+- Initial build
diff --git a/sources b/sources
index e69de29..116ea00 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+eb4c3159312a5d2d672ea8f7057869b1  parente-pyttsx-86fcc6e.tar.gz


More information about the scm-commits mailing list