File abcde.spec of Package abcde
#
# spec file for package abcde (Version 2.3.99.6)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: abcde
License: GPL v2 or later
Group: Productivity/Multimedia/Sound/Utilities
Version: 2.3.99.6
Release: 58
Summary: A Better CD Encoder
Url: http://www.hispalinux.es/~data/abcde.php
Source0: http://www.hispalinux.es/~data/files/%{name}_%{version}.orig.tar.gz
Source1: http://lly.org/~rcw/cd-discid/cd-discid_0.9.orig.tar.gz
# bug 419800
Patch0: abcde_2.3.99.6-quote.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: cd-discid
Requires: wget cdparanoia vorbis-tools
%description
A front-end program to cdparanoia, wget, cd-discid, id3, and your
favorite Ogg or MP3 encoder (defaults to oggenc). Grabs an entire CD
and converts each track to Ogg or MP3 then comments or ID3 tags each
file with one command.
Authors:
--------
Robert Woodcock <rcw@debian.org>
Jesus Climent <jesus.climent@hispalinux.es>
%prep
%setup -a 1
%patch0
%build
export CFLAGS="$RPM_OPT_FLAGS"
gcc $CFLAGS cd-discid*/*.c -o cd-discid
%install
mkdir -p $RPM_BUILD_ROOT/usr/bin
install -m 755 cd-discid $RPM_BUILD_ROOT/usr/bin
install -m 755 abcde $RPM_BUILD_ROOT/usr/bin
install -m 755 cddb-tool $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT%_mandir/man1
cp *.1 cd-discid*/*.1 $RPM_BUILD_ROOT%_mandir/man1
mkdir -p $RPM_BUILD_ROOT/etc
cp abcde.conf $RPM_BUILD_ROOT/etc
mv cd-discid*/README README.cd-discid
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README TODO COPYING README.cd-discid
%doc %{_mandir}/man1/*
%{_bindir}/*
%config(noreplace) /etc/abcde.conf
%changelog
* Fri Oct 31 2008 coolo@suse.de
- apply patch from bnc#419800 to fix
"abcde quotes some variables incorrectly"
* Tue Nov 27 2007 coolo@suse.de
- update to 2.3.99.6: tons of debian bug reports fixed, e.g.
* Default to UNICODE (UTF8) tags and comments (Closes: #282332).
- Added CDDBPROTO option in config file (Closes: #349951)
* Added a missing "INDEX 01" entry for CUE sheet creation.
* Avoid completing the encoding of files if we aborted previously.
* Embed the CUE sheet if we have a cuesheet file and we have a single FLAC
file, even if we are not tagging. This way we can use the file as a source
even if it is not tagged/named properly.
* Fails to quote filenames properly (Closes: #355296)
* Thu Sep 07 2006 coolo@suse.de
- update to 2.3.3:
* Rips done in a single track were getting tagged as Various. Corrected.
* Possibly eliminated some bashisms from using a variable as a variable
(Closes: #324399). Thanks to A Costa.
* MKCUE needs to be passed some $CDROM as an option, or otherwise it will
not read the CDROM, in case is not /dev/cdrom.
* Also, make the CUEREADER a bit more general, since we might be using other
CUE extractors.
* Defining the tracknumber now resets the first track if given a number
different than 1 (that is: abcde -T 1 2-10 creates songs 1 to 9).
* Modified the FAQ to reflect the changes on Marillat's repo
(Closes: #315724).
* Should be "space" safe: works properly when the working directory contains
a space (Closes: #147493).
* Repared the CD query for the discid code. When failing to read a disc,
actually report that there might be no disc in the drive.
* Right now, walk over the different encoders we Depends: on in Debian and
use the one available: if a user has a FLAC encoder, abcde will no install
vorbis-tools, so it will fail to run out of the box (Closes: #321216)
* Added CUE support. Still experimental...
* Added FLAC on Ogg. Still not activated, since we cannot get comments added
as a post-process action.
* Applied patches from Fedora Core (Credit goes to Nils Philippsen
<nphilipp@redhat.com>)
* Added a post_read() function to be executed before ejecting the CD.
* Typos reported by A Costa corrected (Closes: #311463)
* Problem with abcde being run in a directory with files containing only
numbers solved (Closes: #313628).
* vorbiscomment uses now "-R" (Closes: #303566).
* "-t" and "-T" use the first track as a starter for the track list.
(Closes: #305749).
* Added CDPARANOIACDROMBUS option to define -d in case of using IDE and SCSI
in case of using ide-scsi emulation layer (Closes: #290768).
* Define metaflac in abcde.conf (Closes: #303555)
* Double quotation added to solve parsing * as a wildcard (Closes: #302904).
Thanks to Christian Grigis for the patch. Also (Closes: #268088).
* CDPARANOIAOUTPUT missed some quotes.
* Removed some useless lines.
* If BATCH is used with ONETRACK, disable BATCH.
* Small typos with CDROM comparisons.
* Logic for CDROM variable improved.
* Changed the way we call flac, to adapt to the new times:
--import-vc-from= to --import-tags-from.
* DOSPLAYLIST was not included in the list of options.
* Options passed to the encoder by using <-o ogg:"-b 192"> are now
supported. One can modify the way abcde encodes just for the current CD.
* Unfortunatelly I forgot to add the starting number for tags in Ogg. For
MP3 is a bit more difficult, since it needs changing the X/YY code.
* Also, the order of the tags in metaflac is important for the utf8 names.
Thanks to Frederik Juul Christiani (Closes: #297482)
* Added CDROMID in the .conf file, for reader programs that need it
(Closes: #297005)
* Added a check for cdparanoia when encountering data-only CDs.
* Use the default while erasing an existing playlist (Closes: #288835).
* Does not destroy track information when a track contains "=" in the name
(Closes: #290709).
* Quotes missing when evaluating a value (Closes: #284018).
* Spotted and solved a problem with the way the data tracks were detected
(Closes: #282647).
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Nov 02 2005 coolo@suse.de
- make CDROM != /dev/cdrom work
* Fri Jan 21 2005 coolo@suse.de
- update to 2.2.0
* Thu Aug 05 2004 coolo@suse.de
- update to 2.1.19
* Fri Oct 31 2003 coolo@suse.de
- build as user
* Mon Oct 13 2003 coolo@suse.de
- update to 2.1.6
* Fri Aug 15 2003 coolo@suse.de
- sent patch yesterday, today new version
* Wed Aug 13 2003 coolo@suse.de
- update to 2.1.4
- apply diff to avoid -1 syntax to tail,head,nice
* Tue Apr 22 2003 coolo@suse.de
- update to 2.1.2
* Thu Apr 10 2003 coolo@suse.de
- updated to 2.1.1
* Sun Aug 04 2002 coolo@suse.de
- Initial package