From 70e0b50f8b5a2297a41c9c2029b3f212453689d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Terje=20R=C3=B8sten?= <terje.rosten(a)ntnu.no>
Date: Mon, 1 Feb 2016 19:33:36 +0100
Subject: 1.1.0
- Python 3 subpackage
---
.gitignore | 1 +
python-acoustid.spec | 62 ++++++++++++++++++++++++++++++++++++++++++----------
sources | 2 +-
3 files changed, 52 insertions(+), 13 deletions(-)
diff --git a/.gitignore b/.gitignore
index 2edb796..40b08a4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/pyacoustid-0.7.tar.gz
+/pyacoustid-1.1.0.tar.gz
diff --git a/python-acoustid.spec b/python-acoustid.spec
index c513500..9657706 100644
--- a/python-acoustid.spec
+++ b/python-acoustid.spec
@@ -2,16 +2,14 @@
Summary: Python bindings for Chromaprint acoustic fingerprinting and the Acoustid
API
Name: python-acoustid
-Version: 0.7
-Release: 7%{?dist}
+Version: 1.1.0
+Release: 1%{?dist}
License: MIT
URL:
http://pypi.python.org/pypi/pyacoustid
Source0:
http://pypi.python.org/packages/source/p/pyacoustid/pyacoustid-%{version}...
BuildArch: noarch
BuildRequires: python2-devel
-BuildRequires: python-setuptools
-Requires: libchromaprint
-Requires: python-audioread
+BuildRequires: python3-devel
%description
Chromaprint and its associated Acoustid Web service make up a
@@ -20,23 +18,63 @@ provides Python bindings for both the fingerprinting algorithm
library, which is written in C but portable, and the Web service,
which provides fingerprint look ups.
+%package -n python2-acoustid
+Summary: Python bindings for Chromaprint acoustic fingerprinting and the Acoustid
API
+Requires: libchromaprint
+Requires: python-audioread
+%{?python_provide:%python_provide python2-acoustid}
+%description -n python2-acoustid
+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 look ups.
+
+
+%package -n python3-acoustid
+Summary: Python bindings for Chromaprint acoustic fingerprinting and the Acoustid
API
+Requires: libchromaprint
+Requires: python3-audioread
+%{?python_provide:%python_provide python3-acoustid}
+%description -n python3-acoustid
+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 look ups.
+
%prep
%setup -q -n %{oname}-%{version}
%build
-%{__python} setup.py build
+export LC_ALL=en_US.utf8
+%{py2_build}
+%{py3_build}
%install
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+export LC_ALL=en_US.utf8
+%{py2_install}
+%{py3_install}
-%files
-%doc README.rst aidmatch.py
-%{python_sitelib}/acoustid.py*
-%{python_sitelib}/chromaprint.py*
-%{python_sitelib}/pyacoustid-%{version}-*.egg-info/
+%files -n python2-acoustid
+%doc README.rst aidmatch.py fpcalc.py
+%{python2_sitelib}/acoustid.py*
+%{python2_sitelib}/chromaprint.py*
+%{python2_sitelib}/pyacoustid-%{version}-*.egg-info/
+%files -n python3-acoustid
+%doc README.rst aidmatch.py fpcalc.py
+%{python3_sitelib}/acoustid.py
+%{python3_sitelib}/chromaprint.py
+%{python3_sitelib}/pyacoustid-%{version}-*.egg-info/
+%{python3_sitelib}/__pycache__/acoustid.*.py*
+%{python3_sitelib}/__pycache__/chromaprint.*.py*
%changelog
+* Mon Feb 01 2016 Terje Rosten <terje.rosten(a)ntnu.no> - 1.1.0-1
+- 1.1.0
+- Python 3 subpackage
+
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.7-7
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
diff --git a/sources b/sources
index 960dde7..0698d22 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-dcdead719a61e9d01258ce5061e67ab7 pyacoustid-0.7.tar.gz
+b27c714d530300b917eb869726334226 pyacoustid-1.1.0.tar.gz
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/python-acoustid.git/commit/?h=master&a...