forked from pool/python-espeak
Accepting request 618964 from devel:languages:python:singlespec-staging
Clean SPEC file OBS-URL: https://build.opensuse.org/request/show/618964 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-espeak?expand=0&rev=7
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 25 13:19:42 UTC 2018 - mcepl@suse.com
|
||||
|
||||
- Clean SPEC file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 24 13:38:19 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- singlespec auto-conversion
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 25 02:24:58 UTC 2014 - os-dev@jacraig.com
|
||||
|
||||
@@ -17,3 +27,4 @@ Sat Jan 21 05:41:49 UTC 2012 - malcolmlewis@opensuse.org
|
||||
|
||||
- Initial build.
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-espeak
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 Malcolm J Lewis <malcolmlewis@opensuse.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -17,21 +17,22 @@
|
||||
#
|
||||
|
||||
|
||||
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-espeak
|
||||
Version: 0.5
|
||||
Release: 0
|
||||
Summary: Python bindings for espeak
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Python
|
||||
Url: https://launchpad.net/python-espeak
|
||||
URL: https://launchpad.net/python-espeak
|
||||
Source0: https://launchpad.net/python-espeak/trunk/0.5/+download/python-espeak-0.5.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
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))")}
|
||||
BuildRequires: python-rpm-macros
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Simple to use yet complete Python bindings for the eSpeak speech synthesizer.
|
||||
@@ -40,16 +41,17 @@ Simple to use yet complete Python bindings for the eSpeak speech synthesizer.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" python setup.py build
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install -O1 --skip-build --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING NEWS
|
||||
%files %{python_files}
|
||||
%license COPYING
|
||||
%doc NEWS
|
||||
%{python_sitearch}/espeak/
|
||||
%{python_sitearch}/python_espeak-%{version}-py%{py_ver}.egg-info
|
||||
%{python_sitearch}/python_espeak-%{version}-py%{python_version}.egg-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user