c40093d
Name:           abcde
7caa478
Version:        2.9.3
b13159c
Release:        7%{?dist}
c40093d
Summary:        A Better CD Encoder
c40093d
5584bc9
# cddb-tool is Public Domain, otherwise GPLv2+
5584bc9
License:        GPLv2+ and Public Domain
Dominik Mierzejewski fcf4e0f
URL:            https://abcde.einval.com/
Dominik Mierzejewski fcf4e0f
Source0:        https://abcde.einval.com/download/%{name}-%{version}.tar.gz
7315d1d
Source1:        https://abcde.einval.com/download/%{name}-%{version}.tar.gz.sign
7315d1d
# gpg2 --recv-key 0x587979573442684E
7315d1d
# gpg2 --export --export-options export-minimal 0x587979573442684E > 587979573442684E.gpg
7315d1d
Source2:        587979573442684E.gpg
b374dd5
Patch0:         %{name}-normalize.patch
983aaf7
# https://bugzilla.redhat.com/show_bug.cgi?id=1916974
983aaf7
Patch1:         https://bugzilla.redhat.com/attachment.cgi?id=1748056#/abcde-gnudb.patch
c40093d
c40093d
BuildArch:      noarch
7315d1d
BuildRequires:  %{_bindir}/gpgv2
3e583c9
BuildRequires:  make
110197b
BuildRequires:  perl-generators
c40093d
Requires:       cd-discid
110197b
Requires:       %{_bindir}/hostname
c40093d
Requires:       wget
5a85537
Requires:       which
5584bc9
# cdparanoia, vorbis-tools for defaults
5584bc9
Requires:       cdparanoia
5584bc9
Requires:       vorbis-tools
5584bc9
# icedax for cd-text
5584bc9
Recommends:     icedax
5584bc9
Recommends:     flac
89f8d5a
Suggests:       cd-discid
89f8d5a
Suggests:       cdrdao
89f8d5a
Suggests:       ImageMagick
67e6d84
Suggests:       lame
89f8d5a
Suggests:       libcdio-paranoia
89f8d5a
Suggests:       normalize
5584bc9
Suggests:       opus-tools
5584bc9
Suggests:       speex-tools
7da3430
Suggests:       twolame
5584bc9
Suggests:       wavpack
89f8d5a
Suggests:       vorbisgain
89f8d5a
# eyeD3 is smaller than id3v2
89f8d5a
Suggests:       %{_bindir}/eyeD3
37c8d69
Conflicts:      python-eyed3 < 0.7.0
ed9695c
ed9695c
%description
5487c74
abcde is a front end command line utility (actually, a shell script)
c40093d
that grabs audio tracks off a CD, encodes them to various formats, and
c40093d
tags them, all in one go.
c40093d
ed9695c
ed9695c
%prep
8f7e7ca
%{gpgverify} --keyring='%{S:2}' --signature='%{S:1}' --data='%{S:0}'
b374dd5
%autosetup
3f534cf
mv examples/cue2discid .
5584bc9
sed -i -e 's|bin/python\b|bin/python3|' cue2discid
110197b
chmod -c -x examples/musicbrainz-get-tracks
ed9695c
c40093d
20ff6bb
%build
20ff6bb
20ff6bb
ed9695c
%install
707c54d
%make_install prefix=%{_prefix} sysconfdir=%{_sysconfdir}
707c54d
rm -r $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} # handled separately
3f534cf
install -pm 755 cue2discid $RPM_BUILD_ROOT%{_bindir}
ed9695c
c40093d
ed9695c
%files
9fa08be
%license COPYING
110197b
%doc FAQ README changelog examples/
ed9695c
%config(noreplace) %{_sysconfdir}/abcde.conf
c40093d
%{_bindir}/abcde
110197b
%{_bindir}/abcde-musicbrainz-tool
c40093d
%{_bindir}/cddb-tool
3f534cf
%{_bindir}/cue2discid
c40093d
%{_mandir}/man1/abcde.1*
c40093d
%{_mandir}/man1/cddb-tool.1*
c40093d
ed9695c
ed9695c
%changelog
b13159c
* Sat May 22 2021 Dominik Mierzejewski <rpm@greysector.net> - 2.9.3-7
983aaf7
- point to gnudb.org instead of the discontinued freedb.org (#1916974)
983aaf7
ff0818a
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.3-6
ff0818a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
ff0818a
37363b5
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.3-5
37363b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
37363b5
8f9ea27
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org>
8f9ea27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
8f9ea27
dda86a1
* Tue Oct 29 2019 Dominik Mierzejewski <rpm@greysector.net> - 2.9.3-3
110197b
- MusicBrainz lookup support for abcde (#1758816)
110197b
- use gpgverify macro
110197b
- add missing BR: perl-generators to generate perl dependencies
110197b
- add Requires: hostname which might be missing on minimal installs
110197b
5c81135
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.3-2
5c81135
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5c81135
7caa478
* Tue Feb 05 2019 Dominik Mierzejewski <rpm@greysector.net> - 2.9.3-1
7caa478
- update to 2.9.3 (#1672604)
7caa478
fcc5ca7
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.2-2
fcc5ca7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
fcc5ca7
e7bf9fb
* Sat Aug 04 2018 Dominik Mierzejewski <rpm@greysector.net> - 2.9.2-1
e7bf9fb
- update to 2.9.2 (#1611854)
e7bf9fb
- fix version typo in Makefile
e7bf9fb
c5b98c1
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.1-2
c5b98c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
c5b98c1
59dfbe1
* Thu Mar 15 2018 Dominik Mierzejewski <rpm@greysector.net> - 2.9.1-1
59dfbe1
- update to 2.9.1 (#1553948)
59dfbe1
b374dd5
* Fri Mar 09 2018 Dominik Mierzejewski <rpm@greysector.net> - 2.9-1
b374dd5
- update to 2.9 (#1553139)
b374dd5
- rebase patches
b374dd5
- use autosetup macro
b374dd5
a5a08dd
* Wed Feb 21 2018 Dominik Mierzejewski <rpm@greysector.net> - 2.8.1-6
7da3430
- add Suggests for twolame, now that's included in Fedora 27+ (#1534297)
7315d1d
- verify GPG signature for the source tarball
7da3430
ca9fa69
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.1-5
ca9fa69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ca9fa69
7a51db5
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.1-4
7a51db5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7a51db5
ccb3151
* Sun Jul 02 2017 Dominik Mierzejewski <rpm@greysector.net> - 2.8.1-3
67e6d84
- set the default CDDBMETHOD to cddb, as perl MusicBrainz modules are
67e6d84
  not packaged
67e6d84
- add a weak dependency on lame, since mp3 encoding is now in Fedora 25+
67e6d84
f3111bc
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.1-2
f3111bc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f3111bc
f242a8b
* Thu Jan 19 2017 Dominik Mierzejewski <rpm@greysector.net> - 2.8.1-1
f242a8b
- Update to 2.8.1
f242a8b
89f8d5a
* Wed Jan 18 2017 Dominik Mierzejewski <rpm@greysector.net> - 2.8-1
89f8d5a
- Update to 2.8
89f8d5a
- Add the supported additional tools packaged in Fedora to Suggests:
89f8d5a
8c4c4b7
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.7.2-2
8c4c4b7
- Rebuild for Python 3.6
8c4c4b7
Dominik Mierzejewski fcf4e0f
* Sun Apr 10 2016 Dominik Mierzejewski <rpm@greysector.net> - 2.7.2-1
Dominik Mierzejewski fcf4e0f
- Update to 2.7.2
Dominik Mierzejewski fcf4e0f
- Use HTTPS for URLs
Dominik Mierzejewski fcf4e0f
0ff5605
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-2
0ff5605
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0ff5605
707c54d
* Sun Oct  4 2015 Ville Skyttä <ville.skytta@iki.fi> - 2.7.1-1
707c54d
- Update to 2.7.1
707c54d
5584bc9
* Sun Jun 21 2015 Ville Skyttä <ville.skytta@iki.fi> - 2.7-1
5584bc9
- Update to 2.7
5584bc9
- Use python3 in cue2discid
5584bc9
- Soften some dependencies
5584bc9
3d546c6
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-2
3d546c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3d546c6
9fa08be
* Sun Nov  9 2014 Ville Skyttä <ville.skytta@iki.fi> - 2.6-1
9fa08be
- Update to 2.6
9fa08be
- Mark COPYING as %%license where applicable
9fa08be
8cfdbde
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.4-5
8cfdbde
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8cfdbde
4e089ec
* Thu Apr 17 2014 Ville Skyttä <ville.skytta@iki.fi> - 2.5.4-4
4e089ec
- Fix eyeD3 tagging of entries without year info
29a2e3d
- Fix bogus date in %%changelog
4e089ec
37c8d69
* Thu Aug  1 2013 Ville Skyttä <ville.skytta@iki.fi> - 2.5.4-3
37c8d69
- Apply upstream + --comment fixes for eyeD3 >= 0.7.0 (#991163).
37c8d69
4096118
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.4-2
4096118
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4096118
7d404fe
* Wed Sep 19 2012 Ville Skyttä <ville.skytta@iki.fi> - 2.5.4-1
7d404fe
- Update to 2.5.4.
7d404fe
562d971
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-2
562d971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
562d971
24dc21c
* Sun Jun 17 2012 Ville Skyttä <ville.skytta@iki.fi> - 2.5.3-1
24dc21c
- Update to 2.5.3.
24dc21c
b4b9338
* Sun Apr 29 2012 Ville Skyttä <ville.skytta@iki.fi> - 2.5.2-1
b4b9338
- Update to 2.5.2.
b4b9338
14bb6bf
* Sun Apr 15 2012 Ville Skyttä <ville.skytta@iki.fi> - 2.5.0-1
14bb6bf
- Update to 2.5.0.
14bb6bf
- Clean up specfile constructs no longer needed in Fedora or EL6+.
14bb6bf
9ab988b
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-4
9ab988b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9ab988b
cc9ffd1
* Wed Feb 09 2011 Dennis Gilmore <dennis@ausil.us> -2.4.2-3
cc9ffd1
- remove unsupported Requires(hint) from spec
cc9ffd1
1965e3c
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> -2.4.2-2
266a7ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
266a7ca
e93d752
* Sun May 30 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.4.2-1
e93d752
- Update to 2.4.2 (#597723), track info patch applied upstream.
e93d752
5487c74
* Fri Apr  2 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.4.1-1
5487c74
- Update to 2.4.1.
5487c74
39619c8
* Sun Oct 18 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.4.0-1
39619c8
- Update to 2.4.0 (#529509).
39619c8
b27bfbc
* Wed Aug 12 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99.8-1
b27bfbc
- Update to 2.3.99.8 (#516886).
b27bfbc
39619c8
* Mon Jul 27 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99.7-1
7211d86
- Update to 2.3.99.7 (#513795); wget and usage patches applied upstream.
7211d86
- Patch to improve CDDB track info handling.
7211d86
- Update URL.
7211d86
dacc8d7
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.99.6-9
dacc8d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
dacc8d7
12aa8fd
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.99.6-8
12aa8fd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
12aa8fd
39619c8
* Thu Apr 10 2008 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99.6-7
f85b070
- Patch to work around wget 1.11 regression (#441862).
f85b070
39619c8
* Sat Jan 19 2008 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99.6-6
e201ec4
- Include fixes from Ubuntu's 2.3.99.6-1ubuntu2: enables M4A and Speex
e201ec4
  tagging, fixes range code, and the -M option.
e201ec4
- Fix Speex comment tagging.
e201ec4
- Fix some usage message spelling errors.
e201ec4
- Drop disttag.
e201ec4
39619c8
* Sat Sep 29 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99.6-4
5a85537
- Requires: which
5a85537
39619c8
* Mon Aug 13 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99.6-3
b017ab0
- License: GPLv2+
20ff6bb
- Add (empty) %%build section.
b017ab0
39619c8
* Tue Aug 29 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99.6-2
386f31a
- Change vorbis-tools and flac dependencies to Requires(hint), drop
386f31a
  speex dependency.
386f31a
39619c8
* Mon Aug  7 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99.6-1
9290400
- 2.3.99.6.
9290400
39619c8
* Wed Mar  1 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99.5-1
3f534cf
- 2.3.99.5.
3f534cf
39619c8
* Wed Dec 14 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99.2-1
0d29f65
- 2.3.99.2, config file fixes mostly applied upstream.
0d29f65
39619c8
* Sat Dec 10 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99-1
adcb03a
- 2.3.99, minor config file fixes.
adcb03a
39619c8
* Mon Sep  5 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.3.4-1
39351d9
- 2.3.4.
39351d9
39619c8
* Fri Aug 26 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.3.3-1
c40093d
- 2.3.3.
c40093d
- Reformat specfile.
c40093d
39619c8
* Sat Aug 20 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.3.2-1
8c280f9
- 2.3.2, vi and genre patches applied upstream.
8c280f9
- Convert man page to UTF-8.
8c280f9
29a2e3d
* Wed Apr  6 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.2.3-2
e698c72
- rebuilt
e698c72
39619c8
* Thu Feb 10 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.2.3-1
fe29e83
- Update to 2.2.3.
fe29e83
39619c8
* Mon Jan 17 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.2.0-2
deb5f9f
- Add vorbis-tools, flac, cdparanoia, wget, and speex dependencies.
deb5f9f
- Weed out some Debianisms from default external tool names.
deb5f9f
- Include more docs.
deb5f9f
ed9695c
* Fri Jan 14 2005 Nils Philippsen <nphilipp@redhat.com>
ed9695c
- version 2.2.0
ed9695c
ed9695c
* Wed Apr 14 2004 Nils Philippsen <nphilipp@redhat.com>
ed9695c
- version 2.1.19
ed9695c
ed9695c
* Tue May 21 2002 Nils Philippsen <nphilipp@redhat.com>
ed9695c
- version 2.0.3
ed9695c
- update rh, genre patches
ed9695c
ed9695c
* Wed Apr 25 2001 Nils Philippsen <nphilipp@redhat.com>
ed9695c
- version 1.9.9
ed9695c
- configuration now uses freedb.org per default, no need to patch
ed9695c
- various artist media can have a different output file name (than single
ed9695c
  artist ones)
ed9695c
- fix newlines with CR in parsing cddb genre
ed9695c
ed9695c
* Tue Jan 09 2001 Nils Philippsen <nphilipp@redhat.com>
ed9695c
- version 1.9.7
ed9695c
- initial build
ed9695c