From 37b787bb8f5d35e815bb0bbef103c3e8a1f2ad1c Mon Sep 17 00:00:00 2001 From: Michele Baldessari Date: Dec 22 2017 15:11:50 +0000 Subject: New upstream release --- diff --git a/beets.spec b/beets.spec index 658183e..24940f7 100644 --- a/beets.spec +++ b/beets.spec @@ -1,23 +1,33 @@ Name: beets -Version: 1.4.3 -Release: 2%{?dist} +Version: 1.4.6 +Release: 1%{?dist} Summary: Music library manager and MusicBrainz tagger License: MIT and ISC URL: http://beets.io Source0: https://github.com/beetbox/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz -BuildRequires: python2-devel -BuildRequires: python-setuptools -BuildRequires: python-sphinx +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-sphinx +BuildRequires: python3-PyYAML +BuildRequires: python3-musicbrainzngs >= 0.4 +BuildRequires: python3-jellyfish +BuildRequires: python3-munkres +BuildRequires: python3-mutagen >= 1.23 +BuildRequires: python3-unidecode +BuildRequires: python3-rarfile +# Tests +BuildRequires: python3-jellyfish +BuildRequires: gstreamer1-plugins-good BuildArch: noarch -Requires: python >= 2.7 -Requires: python-enum34 >= 1.0.4 -Requires: python-jellyfish -Requires: python-munkres -Requires: python-musicbrainzngs >= 0.4 -Requires: python-mutagen >= 1.23 -Requires: python-unidecode -Requires: PyYAML +Requires: python3 >= 3.5 +Requires: python3-jellyfish +Requires: python3-munkres +Requires: python3-musicbrainzngs >= 0.4 +Requires: python3-mutagen >= 1.23 +Requires: python3-unidecode +Requires: python3-rarfile +Requires: python3-PyYAML %description The purpose of beets is to get your music collection right once and for all. It @@ -40,25 +50,25 @@ imagine for your music collection. Via plugins, beets becomes a panacea: Summary: Plugins for beets Requires: beets == %{version}-%{release} # bpd/ -Requires: gstreamer-python >= 0.10 +Requires: python3-gstreamer1 # chroma -Requires: python-acoustid +Requires: python3-acoustid # fetchart, beatport, lastimport, spotify -Requires: python-requests +Requires: python3-requests # lastgenre/ -Requires: pylast +Requires: python3-pylast # autotag, mbcollection -Requires: python-musicbrainzngs >= 0.4 +Requires: python3-musicbrainzngs >= 0.4 # mpdstats -Requires: python-mpd +Requires: python3-mpd # replaygain (GStreamer backend) -Requires: python-gobject >= 3.0 +Requires: python3-gobject >= 3.0 Requires: gstreamer1 Requires: js-jquery Requires: js-backbone Requires: js-underscore -Requires: python-flask +Requires: python3-flask %description plugins Contains a number of plugins to improve meta-data, format paths, @@ -73,23 +83,27 @@ beets Music Library Manager. Documentation is shipped in both text and html formats. %prep -%setup -q +%autosetup -p1 %build -%{__python2} setup.py build +%{__python3} setup.py build pushd docs # Not using {smp_flags} as sphinx fails with it from time to time -make man html text +make SPHINXBUILD=sphinx-build-3 man html text popd %check # Currently disabled as it is forcing the download of pypi modules -# even when they are installed. Will require python-rarfile if +# even when they are installed. Will require python-rarfile and discocg if # enabled -# __python2 setup.py test +# skip tests that broken +#mv test/test_replaygain.py test/broken_replaygain.py +# https://github.com/beetbox/beets/issues/2400 +#mv test/test_ui.py test/broken_ui.py +#%{__python3} setup.py test %install -%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT +%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %{__install} -d $RPM_BUILD_ROOT%{_mandir}/man1 %{__install} -d $RPM_BUILD_ROOT%{_mandir}/man5 %{__install} -p -m 0644 docs/_build/man/beet.1 $RPM_BUILD_ROOT%{_mandir}/man1 @@ -101,20 +115,30 @@ rm -f docs/_build/html/{.buildinfo,objects.inv} %files %doc LICENSE MANIFEST.in README.rst %{_bindir}/beet -%{python2_sitelib}/beets/ -%{python2_sitelib}/beets*egg-info/ +%{python3_sitelib}/beets/ +%{python3_sitelib}/beets*egg-info/ %{_mandir}/*/* -%{python2_sitelib}/beetsplug/__init__.py* +%{python3_sitelib}/beetsplug/__init__.py* %files plugins # beetsplug/mbcollection.py is the plugin that has ISC license -%{python2_sitelib}/beetsplug/[a-zA-Z0-9]* +%{python3_sitelib}/beetsplug/[a-zA-Z0-9]* +%{python3_sitelib}/beetsplug/__pycache__ %files doc %doc docs/_build/html docs/_build/text %changelog -* Fri Feb 10 2017 Fedora Release Engineering - 1.4.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild +* Fri Dec 22 2017 Michele Baldessari - 1.4.6-1 +- New upstream release + +* Mon Jul 10 2017 Michele Baldessari - 1.4.5-1 +- New upstream release + +* Sun Jun 11 2017 Michele Baldessari - 1.4.4-1 +- New upstream release + +* Mon Mar 13 2017 Michele Baldessari - 1.4.3-2 +- Move to python3 by default * Tue Jan 10 2017 Michele Baldessari - 1.4.3-1 - New upstream release