+++ /dev/null
---- cuetools-1.3.1/extras/cuetag.sh.orig 2008-08-31 18:50:09.000000000 +0200
-+++ cuetools-1.3.1/extras/cuetag.sh 2008-08-31 18:51:19.000000000 +0200
-@@ -18,7 +18,7 @@ vorbis()
- {
- # FLAC tagging
- # --remove-vc-all overwrites existing comments
-- METAFLAC="metaflac --remove-vc-all --import-vc-from=-"
-+ METAFLAC="metaflac --remove-all-tags --import-tags-from=-"
-
- # Ogg Vorbis tagging
- # -w overwrites existing comments
Summary: Set of utilities for working with cue files and toc files
Summary(pl.UTF-8): Zestaw narzędzi do pracy z plikami cue i toc
Name: cuetools
-Version: 1.3.1
+Version: 1.4.1
Release: 1
-License: GPL
+License: GPL v2
Group: Applications/Files
-Source0: http://download.berlios.de/cuetools/%{name}-%{version}.tar.gz
-# Source0-md5: 45575f7a1bdc6615599fa6cb49845cca
-Patch0: %{name}-flac.patch
-URL: http://developer.berlios.de/projects/cuetools/
+#Source0Download: https://github.com/svend/cuetools/tags
+Source0: https://github.com/svend/cuetools/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: b1f365fc7ab02eff4b58b6a54ecee080
+URL: https://github.com/svend/cuetools
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: bison
+BuildRequires: flex
Conflicts: flac < 1.1.4
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q
-%patch0 -p1
%build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure
%{__make}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install -m755 extras/cuetag.sh $RPM_BUILD_ROOT%{_bindir}/cuetag
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS NEWS TODO
+%doc AUTHORS NEWS README.md TODO
%attr(755,root,root) %{_bindir}/cuebreakpoints
%attr(755,root,root) %{_bindir}/cueconvert
%attr(755,root,root) %{_bindir}/cueprint
-%attr(755,root,root) %{_bindir}/cuetag
+%attr(755,root,root) %{_bindir}/cuetag.sh
%{_mandir}/man1/cuebreakpoints.1*
%{_mandir}/man1/cueconvert.1*
%{_mandir}/man1/cueprint.1*