[beets] Initial release
Michele Baldessari
mbaldessari at fedoraproject.org
Mon Mar 23 18:56:04 UTC 2015
commit 42efa8f459443a0febf86f266e521b195c6e8e00
Author: Michele Baldessari <michele at acksyn.org>
Date: Mon Mar 23 19:55:54 2015 +0100
Initial release
.gitignore | 1 +
beets.spec | 143 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 145 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3daeb68 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/v1.3.10.tar.gz
diff --git a/beets.spec b/beets.spec
new file mode 100644
index 0000000..8e853f5
--- /dev/null
+++ b/beets.spec
@@ -0,0 +1,143 @@
+Name: beets
+Version: 1.3.10
+Release: 3%{?dist}
+Summary: Music library manager and MusicBrainz tagger
+License: MIT and ISC
+URL: http://beets.radbox.org/
+Source0: https://github.com/sampsyo/beets/archive/v%{version}.tar.gz
+Requires: python
+Requires: python-munkres
+Requires: python-mutagen >= 1.23
+Requires: python-enum34
+Requires: python-unidecode
+Requires: PyYAML
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+BuildRequires: python-sphinx
+BuildArch: noarch
+
+%description
+The purpose of beets is to get your music collection right once and for all. It
+catalogs your collection, automatically improving its meta-data as it goes using
+the MusicBrainz database. Then it provides a bouquet of tools for manipulating
+and accessing your music.
+Because beets is designed as a library, it can do almost anything you can
+imagine for your music collection. Via plugins, beets becomes a panacea:
+- Fetch or calculate all the meta-data you could possibly need: album art,
+ lyrics, genres, tempos, ReplayGain levels, or acoustic fingerprints.
+- Get meta-data from MusicBrainz, Discogs, or Beatport. Or guess meta-data using
+ songs' file names or their acoustic fingerprints.
+- Transcode audio to any format you like.
+- Check your library for duplicate tracks and albums or for albums that are
+ missing tracks.
+- Browse your music library graphically through a Web browser and play it in
+ any browser that supports HTML5 Audio.
+
+%package plugins
+Summary: Plugins for beets
+Requires: beets == %{version}-%{release}
+# bpd/
+Requires: gstreamer-python >= 0.10
+# chroma
+Requires: python-acoustid
+# fetchart, beatport, lastimport, spotify
+Requires: python-requests
+# lastgenre/
+Requires: pylast
+# autotag, mbcollection
+Requires: python-musicbrainzngs >= 0.4
+# mpdstats
+Requires: python-mpd
+
+# **** Disabled plugins ****
+# due to missing dependencies or dependencies being in rpmfusion
+# convert --> ffmpeg
+# discogs --> discogs_client
+# echonest --> pyechonest
+# echonest_tempo --> pyechonest
+# replaygain --> mp3gain (rpmfusion only)
+# web/ --> needs jquery (BZ 1078903), also needs js-backbone and js-underscore
+# --> needs also python-flask as requires once jquery is in
+
+%description plugins
+Contains a number of plugins to improve meta-data, format paths,
+inter-operability aids and so on.
+
+%package doc
+Summary: Documentation for beets
+
+%description doc
+The beets-doc package provides useful information on the
+beets Music Library Manager. Documentation is shipped in
+both text and html formats.
+
+%prep
+%setup -q
+
+%build
+%{__python2} setup.py build
+pushd docs
+# Not using {smp_flags} as sphinx fails with it from time to time
+make 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
+# enabled
+# __python2 setup.py test
+
+%install
+%{__python2} 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
+%{__install} -p -m 0644 docs/_build/man/beetsconfig.5 $RPM_BUILD_ROOT%{_mandir}/man5
+# Remove extra copy of text docs
+rm -rf docs/_build/html/_sources
+rm -f docs/_build/html/{.buildinfo,objects.inv}
+# Remove docs for plugins that were disabled explicitely
+for i in convert discogs echonest echonest_tempo replaygain web; do
+ rm -f docs/_build/html/plugins/"$i.html"
+ rm -f docs/_build/text/plugins/"$i.txt"
+done
+
+# Remove disabled plugins
+rm -rf $RPM_BUILD_ROOT%{python2_sitelib}/beetsplug/{echonest.py*,echonest_tempo.py*,replaygain.py*,web,convert.py*,discogs.py*}
+
+
+%files
+%doc LICENSE MANIFEST.in README.rst
+%{_bindir}/beet
+%{python2_sitelib}/beets/
+%{python2_sitelib}/beets*egg-info/
+%{_mandir}/*/*
+
+%files plugins
+# beetsplug/mbcollection.py is the plugin that has ISC license
+%{python2_sitelib}/beetsplug/
+
+%files doc
+%doc docs/_build/html docs/_build/text
+%changelog
+* Mon Mar 23 2015 Michele Baldessari <michele at acksyn.org> - 1.3.10-4
+- Add python-munkres dep (needs RHBZ 1202146 fixed)
+
+* Thu Mar 19 2015 Michele Baldessari <michele at acksyn.org> - 1.3.10-3
+- Use python2 macros in preparation of the python3 migration
+- Add ISC license for beetsplugs/mbcollection.py
+- Add owner for dirs beets-*.egg-info, beetsplug, beets
+
+* Tue Jan 27 2015 Michele Baldessari <michele at acksyn.org> - 1.3.10-2
+- Add html and text documentation in a separate -doc package
+- Add a comment why we do not use %{?_smp_mflags}
+
+* Tue Jan 27 2015 Michele Baldessari <michele at acksyn.org> - 1.3.10-1
+- New upstream
+
+* Thu Dec 25 2014 Michele Baldessari <michele at acksyn.org> - 1.3.9-2
+- Split off plugins into a separate package with additional Requires: added
+- Disable a few plugins due to missing deps in Fedora
+
+* Mon Dec 15 2014 Michele Baldessari <michele at acksyn.org> - 1.3.9-1
+- Initial release
diff --git a/sources b/sources
index e69de29..9cee24f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7d00bcd794de9283595c91b5d65beb2b v1.3.10.tar.gz
More information about the scm-commits
mailing list