Accepting request 490166 from home:alarrosa:branches:devel:languages:python
- Use singlespec macros OBS-URL: https://build.opensuse.org/request/show/490166 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-audioread?expand=0&rev=2
This commit is contained in:
parent
378eb80332
commit
3e022d96f1
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 21 17:51:35 UTC 2017 - alarrosa@suse.com
|
||||||
|
|
||||||
|
- Use singlespec macros
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 18 12:16:46 UTC 2017 - alarrosa@suse.com
|
Wed Jan 18 12:16:46 UTC 2017 - alarrosa@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-audioread
|
# spec file for package python-audioread
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -13,23 +13,24 @@
|
|||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-audioread
|
Name: python-audioread
|
||||||
Version: 2.1.4
|
Version: 2.1.4
|
||||||
Release: 0
|
Release: 0
|
||||||
License: MIT
|
|
||||||
Summary: multi-library, cross-platform audio decoding
|
Summary: multi-library, cross-platform audio decoding
|
||||||
Url: https://github.com/sampsyo/audioread
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
|
Url: https://github.com/sampsyo/audioread
|
||||||
Source: https://files.pythonhosted.org/packages/source/a/audioread/audioread-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/a/audioread/audioread-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%else
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Decode audio files using whichever backend is available. The library
|
Decode audio files using whichever backend is available. The library
|
||||||
@ -48,12 +49,12 @@ license. An alternative to this module is decoder.py.
|
|||||||
%setup -q -n audioread-%{version}
|
%setup -q -n audioread-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user