8c70b49
Name:           isrcsubmit
51f667d
Version:        2.1.0
f58a364
Release:        5%{?dist}
8c70b49
Summary:        Script to submit ISRCs from disc to MusicBrainz
8c70b49
8c70b49
License:        GPLv3+
8c70b49
URL:            http://jonnyjd.github.io/musicbrainz-isrcsubmit/
8c70b49
Source0:        http://isrcsubmit.jonnyjd.net/downloads/%{name}-%{version}.tar.gz
e87d065
Patch0:         %{name}-2.0.1-no-setup-requires.patch
8c70b49
8c70b49
BuildArch:      noarch
51f667d
BuildRequires:  python3-devel
51f667d
BuildRequires:  python3-libdiscid
51f667d
BuildRequires:  python3-musicbrainzngs
51f667d
BuildRequires:  python3-sphinx
51f667d
Requires:       python3-libdiscid
51f667d
Requires:       python3-musicbrainzngs
51f667d
Requires:       python3-keyring
f58a364
# https://bugzilla.redhat.com/show_bug.cgi?id=1831460
f58a364
%{?python_disable_dependency_generator}
8c70b49
8c70b49
%description
8c70b49
This python script extracts ISRCs from audio cds and submits them to
8c70b49
MusicBrainz. Features: read and submit ISRCs from disc, search for
8c70b49
releases with the TOC of the disc, submit discIds / TOCs, display
8c70b49
release information from MusicBrainz, duplicate ISRC detection (local
8c70b49
and on server), keyring support for login information.
8c70b49
8c70b49
8c70b49
%prep
8c70b49
%autosetup
8c70b49
8c70b49
8c70b49
%build
9f93e99
%py3_build
8c70b49
8c70b49
8c70b49
%install
9f93e99
%py3_install
8c70b49
8c70b49
8c70b49
%check
8c70b49
# sys.stdin.encoding can be None in mock, hence override with PYTHONIOENCODING
9f93e99
export PYTHONIOENCODING=UTF-8
ce2593d
%{__python3} -Wall setup.py test
8c70b49
8c70b49
8c70b49
%files
8c70b49
%license COPYING
8c70b49
%doc AUTHORS CHANGES.markdown README.rst
8c70b49
%{_bindir}/isrcsubmit.py
9f93e99
%{python3_sitelib}/%{name}-%{version}*
8c70b49
%{_mandir}/man1/isrcsubmit.1*
8c70b49
%{_mandir}/man5/isrcsubmit-config.5*
8c70b49
8c70b49
8c70b49
%changelog
f58a364
* Tue May 05 2020 David King <amigadave@amigadave.com> - 2.1.0-5
f58a364
- Fix failure to install (#1759754)
f58a364
046ab40
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-4
046ab40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
046ab40
96318bb
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1.0-3
96318bb
- Rebuilt for Python 3.8
96318bb
3dfceae
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
3dfceae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3dfceae
51f667d
* Sat Feb 23 2019 David King <amigadave@amigadave.com> - 2.1.0-1
51f667d
- Update to 2.1.0 (#1680207)
51f667d
5273fd9
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-13
5273fd9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5273fd9
6da6a82
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-12
6da6a82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6da6a82
67593cd
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.1-11
67593cd
- Rebuilt for Python 3.7
67593cd
a892606
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-10
a892606
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a892606
33240b6
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-9
33240b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
33240b6
7377116
* Sun Jun 25 2017 Ville Skyttä <ville.skytta@iki.fi> - 2.0.1-8
7377116
- Drop Python 2 build support
7377116
ce2593d
* Fri May 26 2017 Ville Skyttä <ville.skytta@iki.fi> - 2.0.1-7
ce2593d
- Run tests with -Wall
ce2593d
- Drop obsolete build conditionals
ce2593d
b4fbd11
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-6
b4fbd11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b4fbd11
9327343
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.0.1-5
9327343
- Rebuild for Python 3.6
9327343
bb28b3d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-4
bb28b3d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
bb28b3d
9f93e99
* Fri Dec  4 2015 Ville Skyttä <ville.skytta@iki.fi> - 2.0.1-3
9f93e99
- Use Python 3 on F-23+
9f93e99
e87d065
* Mon Jun 29 2015 Ville Skyttä <ville.skytta@iki.fi> - 2.0.1-2
e87d065
- Do not try to download any packages during build
e87d065
8c70b49
* Tue Jun 16 2015 Ville Skyttä <ville.skytta@iki.fi> - 2.0.1-1
8c70b49
- Update to 2.0.1
8c70b49
8c70b49
* Sun Apr 19 2015 Ville Skyttä <ville.skytta@iki.fi> - 2.0.0-2
8c70b49
- Add man page, fix and run test suite (#1210941)
8c70b49
8c70b49
* Sat Apr 11 2015 Ville Skyttä <ville.skytta@iki.fi> - 2.0.0-1
8c70b49
- First build