Name: abcde
Version: 2.7.2
Release: 1%{?dist}
Summary: A Better CD Encoder
# cddb-tool is Public Domain, otherwise GPLv2+
License: GPLv2+ and Public Domain
URL: https://abcde.einval.com/
Source0: https://abcde.einval.com/download/%{name}-%{version}.tar.gz
Patch0: %{name}-2.7-normalize.patch
BuildArch: noarch
Requires: cd-discid
Requires: wget
Requires: which
# cdparanoia, vorbis-tools for defaults
Requires: cdparanoia
Requires: vorbis-tools
# icedax for cd-text
Recommends: icedax
Recommends: flac
Suggests: opus-tools
Suggests: speex-tools
Suggests: wavpack
Conflicts: python-eyed3 < 0.7.0
%description
abcde is a front end command line utility (actually, a shell script)
that grabs audio tracks off a CD, encodes them to various formats, and
tags them, all in one go.
%prep
%setup -q
%patch0 -p1 -F2
mv examples/cue2discid .
sed -i -e 's|bin/python\b|bin/python3|' cue2discid
chmod -c -x abcde-musicbrainz-tool examples/musicbrainz-get-tracks
%build
%install
rm -rf $RPM_BUILD_ROOT
%make_install prefix=%{_prefix} sysconfdir=%{_sysconfdir}
rm -r $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} # handled separately
install -pm 755 cue2discid $RPM_BUILD_ROOT%{_bindir}
rm $RPM_BUILD_ROOT%{_bindir}/abcde-musicbrainz-tool # optional, missing perl(MusicBrainz::DiscID)
%files
%license COPYING
%doc FAQ README abcde-musicbrainz-tool changelog examples/
%config(noreplace) %{_sysconfdir}/abcde.conf
%{_bindir}/abcde
%{_bindir}/cddb-tool
%{_bindir}/cue2discid
%{_mandir}/man1/abcde.1*
%{_mandir}/man1/cddb-tool.1*
%changelog
* Sun Apr 10 2016 Dominik Mierzejewski <rpm@greysector.net> - 2.7.2-1
- Update to 2.7.2
- Use HTTPS for URLs
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sun Oct 4 2015 Ville Skyttä <ville.skytta@iki.fi> - 2.7.1-1
- Update to 2.7.1
* Sun Jun 21 2015 Ville Skyttä <ville.skytta@iki.fi> - 2.7-1
- Update to 2.7
- Use python3 in cue2discid
- Soften some dependencies
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sun Nov 9 2014 Ville Skyttä <ville.skytta@iki.fi> - 2.6-1
- Update to 2.6
- Mark COPYING as %%license where applicable
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Apr 17 2014 Ville Skyttä <ville.skytta@iki.fi> - 2.5.4-4
- Fix eyeD3 tagging of entries without year info
- Fix bogus date in %%changelog
* Thu Aug 1 2013 Ville Skyttä <ville.skytta@iki.fi> - 2.5.4-3
- Apply upstream + --comment fixes for eyeD3 >= 0.7.0 (#991163).
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Sep 19 2012 Ville Skyttä <ville.skytta@iki.fi> - 2.5.4-1
- Update to 2.5.4.
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sun Jun 17 2012 Ville Skyttä <ville.skytta@iki.fi> - 2.5.3-1
- Update to 2.5.3.
* Sun Apr 29 2012 Ville Skyttä <ville.skytta@iki.fi> - 2.5.2-1
- Update to 2.5.2.
* Sun Apr 15 2012 Ville Skyttä <ville.skytta@iki.fi> - 2.5.0-1
- Update to 2.5.0.
- Clean up specfile constructs no longer needed in Fedora or EL6+.
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Feb 09 2011 Dennis Gilmore <dennis@ausil.us> -2.4.2-3
- remove unsupported Requires(hint) from spec
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> -2.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sun May 30 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.4.2-1
- Update to 2.4.2 (#597723), track info patch applied upstream.
* Fri Apr 2 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.4.1-1
- Update to 2.4.1.
* Sun Oct 18 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.4.0-1
- Update to 2.4.0 (#529509).
* Wed Aug 12 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99.8-1
- Update to 2.3.99.8 (#516886).
* Mon Jul 27 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99.7-1
- Update to 2.3.99.7 (#513795); wget and usage patches applied upstream.
- Patch to improve CDDB track info handling.
- Update URL.
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.99.6-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.99.6-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Thu Apr 10 2008 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99.6-7
- Patch to work around wget 1.11 regression (#441862).
* Sat Jan 19 2008 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99.6-6
- Include fixes from Ubuntu's 2.3.99.6-1ubuntu2: enables M4A and Speex
tagging, fixes range code, and the -M option.
- Fix Speex comment tagging.
- Fix some usage message spelling errors.
- Drop disttag.
* Sat Sep 29 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99.6-4
- Requires: which
* Mon Aug 13 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99.6-3
- License: GPLv2+
- Add (empty) %%build section.
* Tue Aug 29 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99.6-2
- Change vorbis-tools and flac dependencies to Requires(hint), drop
speex dependency.
* Mon Aug 7 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99.6-1
- 2.3.99.6.
* Wed Mar 1 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99.5-1
- 2.3.99.5.
* Wed Dec 14 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99.2-1
- 2.3.99.2, config file fixes mostly applied upstream.
* Sat Dec 10 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.3.99-1
- 2.3.99, minor config file fixes.
* Mon Sep 5 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.3.4-1
- 2.3.4.
* Fri Aug 26 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.3.3-1
- 2.3.3.
- Reformat specfile.
* Sat Aug 20 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.3.2-1
- 2.3.2, vi and genre patches applied upstream.
- Convert man page to UTF-8.
* Wed Apr 6 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.2.3-2
- rebuilt
* Thu Feb 10 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.2.3-1
- Update to 2.2.3.
* Mon Jan 17 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.2.0-2
- Add vorbis-tools, flac, cdparanoia, wget, and speex dependencies.
- Weed out some Debianisms from default external tool names.
- Include more docs.
* Fri Jan 14 2005 Nils Philippsen <nphilipp@redhat.com>
- version 2.2.0
* Wed Apr 14 2004 Nils Philippsen <nphilipp@redhat.com>
- version 2.1.19
* Tue May 21 2002 Nils Philippsen <nphilipp@redhat.com>
- version 2.0.3
- update rh, genre patches
* Wed Apr 25 2001 Nils Philippsen <nphilipp@redhat.com>
- version 1.9.9
- configuration now uses freedb.org per default, no need to patch
- various artist media can have a different output file name (than single
artist ones)
- fix newlines with CR in parsing cddb genre
* Tue Jan 09 2001 Nils Philippsen <nphilipp@redhat.com>
- version 1.9.7
- initial build