14
0
Files
python-pyacoustid/python-pyacoustid.spec
Todd R 4907a17092 Accepting request 490167 from home:alarrosa:branches:devel:languages:python
- Use singlespec macros
- Update to 1.1.5: 
  * Fix compatibility with Python 3 in the submit function.
    Errors in submit are now also handled correctly.

OBS-URL: https://build.opensuse.org/request/show/490167
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyacoustid?expand=0&rev=2
2017-04-24 14:59:17 +00:00

63 lines
2.0 KiB
RPMSpec

#
# spec file for package python-pyacoustid
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pyacoustid
Version: 1.1.5
Release: 0
Summary: bindings for Chromaprint acoustic fingerprinting and the Acoustid API
License: MIT
Group: Development/Languages/Python
Url: https://github.com/sampsyo/pyacoustid
Source: https://files.pythonhosted.org/packages/source/p/pyacoustid/pyacoustid-%{version}.tar.gz
BuildRequires: %{python_module audioread}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Requires: python-audioread
Requires: python-requests
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
Chromaprint and Acoustid for Python
Chromaprint and its associated Acoustid Web service make up a
high-quality, open-source acoustic fingerprinting system. This package provides
Python bindings for both the fingerprinting algorithm library, which is written
in C but portable, and the Web service, which provides fingerprint lookups.
%prep
%setup -q -n pyacoustid-%{version}
%build
%python_build
%install
%python_install
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst
%{python_sitelib}/*
%changelog