$ git diff --patch-with-stat --summary eabf96fef79c7cc9ca395ae4313919f1efc0864f..7a4d2db8bf3a2b95ac296b1499052278d3772c70
abcde-gnudb.patch | 31 +++++++++++++++++++++++++++++++
abcde.spec | 35 ++++++++++++++++++++++++-----------
2 files changed, 55 insertions(+), 11 deletions(-)
create mode 100644 abcde-gnudb.patch
diff --git a/abcde-gnudb.patch b/abcde-gnudb.patch
new file mode 100644
index 0000000..dc00ee0
--- /dev/null
+++ b/abcde-gnudb.patch
@@ -0,0 +1,31 @@
+--- ./abcde.conf~ 2019-02-05 03:19:03.000000000 -0700
++++ ./abcde.conf 2021-01-15 18:07:27.125346596 -0700
+@@ -15,19 +15,24 @@
+ # If you wish to use a different CDDB server, edit this line.
+ # If you just wanted to use a proxy server, just set your http_proxy
+ # environment variable - wget will use it correctly.
+-#CDDBURL="http://freedb.freedb.org/~cddb/cddb.cgi"
++# In the past freedb.org was a popular choice but this service
++# was acquired and discontinued. The following may serve as
++# a replacemet
++#CDDBURL="http://gnudb.gnudb.org/~cddb/cddb.cgi"
+
+ # The CDDB protocol level.
+ # Right now 5 is latin1 output and 6 is UTF8 encoding.
+ #CDDBPROTO=6
+
+ # The CDDB protocol requires hello information, including a valid username
+-# and hostname. If you feel paranoid about giving away such info, edit this
+-# line - the format is username@hostname.
++# and hostname. If you feel paranoid about giving away such info, edit
++# "HELLOINFO" line - the format is username@hostname.
++# Submissions to cddb actually require a valid email address which may, or may
++# not be like the following:
+ #HELLOINFO="`whoami`@`hostname`"
+
+ # This controls the email address CDDB changes are submitted to.
+-#CDDBSUBMIT=freedb-submit@freedb.org
++#CDDBSUBMIT=submit@gnudb.org
+
+ # The following options control whether or not fetched CDDB entries
+ # are cached locally in $CDDBLOCALDIR
diff --git a/abcde.spec b/abcde.spec
index 80fb510..88a12fe 100644
--- a/abcde.spec
+++ b/abcde.spec
@@ -1,16 +1,12 @@
-%global __requires_exclude perl\\((WebService::MusicBrainz)\\)
-%global debug_package %{nil}
-
Summary: Command-line utility to rip and encode audio cds
Name: abcde
Version: 2.9.3
-Release: 5
+Release: 6
License: GPLv2
URL: https://abcde.einval.com
Group: Sound
#Source0: https://ftp.de.debian.org/debian/pool/main/a/abcde/%%{name}_%%{version}.orig.tar.gz
Source0: https://abcde.einval.com/download/%{name}-%{version}.tar.gz
-Patch0: abcde-2.3.99.6-install.patch
Requires: cd-discid
Requires: cdparanoia
Requires: wget
@@ -33,17 +29,20 @@ Suggests: twolame
Suggests: vorbisgain
Suggests: wavpack
+BuildArch: noarch
+
+#BuildSystem: autotools
+
+%patchlist
+abcde-2.3.99.6-install.patch
+# https://src.fedoraproject.org/rpms/abcde/raw/rawhide/f/abcde-gnudb.patch
+abcde-gnudb.patch
+
%description
abcde is a frontend command-line utility (actually, a shell script) that
grabs tracks off a CD, encodes them to Ogg/Vorbis, MP3, FLAC, Ogg/Speex and/or
MPP/MP+(Musepack) format, and tags them, all in one go.
-%prep
-%autosetup -p1 -b0
-
-%install
-%make_install
-
%files
%doc changelog COPYING README FAQ
%doc examples/abcded examples/abcde.init examples/autorip.sh
@@ -53,3 +52,17 @@ MPP/MP+(Musepack) format, and tags them, all in one go.
%{_mandir}/man1/abcde.*
%{_mandir}/man1/cddb-tool.*
%config(noreplace) %{_sysconfdir}/%{name}.conf
+
+#----------------------------------------------------------------------
+
+%prep
+%autosetup -p1 -b0
+
+%conf
+
+%build
+
+%install
+%make_install
+
+