forked from pool/python-espeak
Accepting request 101077 from home:malcolmlewis:Gnome
New package, needed for pushing espeak-gui to factory via GNOME:Apps. OBS-URL: https://build.opensuse.org/request/show/101077 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-espeak?expand=0&rev=1
This commit is contained in:
54
python-espeak.spec
Normal file
54
python-espeak.spec
Normal file
@@ -0,0 +1,54 @@
|
||||
#
|
||||
# spec file for package python-espeak
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 Malcolm J Lewis <malcolmlewis@opensuse.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: python-espeak
|
||||
Version: 0.4
|
||||
Release: 0
|
||||
License: GPL-3.0
|
||||
Summary: Python bindings for espeak
|
||||
Url: https://launchpad.net/python-espeak
|
||||
Group: Development/Languages/Python
|
||||
Source0: http://launchpad.net/python-espeak/trunk/0.4/+download/python-espeak-0.4.tar.gz
|
||||
BuildRequires: espeak-devel
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: python-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%py_requires
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
|
||||
%description
|
||||
Simple to use yet complete Python bindings for the eSpeak speech synthesizer.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install -O1 --skip-build --prefix=%{_prefix} --root=%{buildroot}
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING NEWS
|
||||
%{python_sitearch}/espeak/
|
||||
%{python_sitearch}/python_espeak-%{version}-py%{py_ver}.egg-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user