forked from pool/python-pyacoustid
New package python-pyacoustid OBS-URL: https://build.opensuse.org/request/show/454957 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyacoustid?expand=0&rev=1
62 lines
2.1 KiB
RPMSpec
62 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package python-pyacoustid
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX Products 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/
|
|
|
|
|
|
Name: python-pyacoustid
|
|
Version: 1.1.4
|
|
Release: 0
|
|
License: MIT
|
|
Summary: bindings for Chromaprint acoustic fingerprinting and the Acoustid API
|
|
Url: https://github.com/sampsyo/pyacoustid
|
|
Group: Development/Languages/Python
|
|
Source: https://files.pythonhosted.org/packages/source/p/pyacoustid/pyacoustid-%{version}.tar.gz
|
|
BuildRequires: python-devel
|
|
BuildRequires: python-audioread
|
|
BuildRequires: python-requests
|
|
BuildRequires: python-setuptools
|
|
Requires: python-audioread
|
|
Requires: python-requests
|
|
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
|
|
%endif
|
|
|
|
%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 setup.py build
|
|
|
|
%install
|
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc README.rst
|
|
%{python_sitelib}/*
|
|
|
|
%changelog
|