1 |
%define name abcde |
2 |
%define version 2.4.2 |
3 |
%define release %mkrel 1 |
4 |
|
5 |
Summary: Command-line utility to rip and encode audio cds |
6 |
Name: %{name} |
7 |
Version: %{version} |
8 |
Release: %{release} |
9 |
License: GPLv2 |
10 |
URL: http://www.hispalinux.es/~data/files/ |
11 |
Group: Sound |
12 |
Source0: http://ftp.de.debian.org/debian/pool/main/a/abcde/%{name}_%{version}.orig.tar.gz |
13 |
Source1: http://linukz.org/download/cd-discid-1.1.tar.gz |
14 |
Patch1: abcde-2.3.99.6-install.patch |
15 |
Requires: cdparanoia wget vorbis-tools |
16 |
|
17 |
%description |
18 |
abcde is a frontend command-line utility (actually, a shell script) that |
19 |
grabs tracks off a CD, encodes them to Ogg/Vorbis, MP3, FLAC, Ogg/Speex and/or |
20 |
MPP/MP+(Musepack) format, and tags them, all in one go. |
21 |
|
22 |
|
23 |
%prep |
24 |
|
25 |
%setup -q -b0 |
26 |
%setup -q -b1 |
27 |
%patch1 -p0 |
28 |
|
29 |
%build |
30 |
cd ../cd-discid-1.1 |
31 |
%make |
32 |
|
33 |
%install |
34 |
rm -rf %buildroot |
35 |
%makeinstall_std |
36 |
|
37 |
cd ../cd-discid-1.1 |
38 |
%makeinstall_std |
39 |
|
40 |
%clean |
41 |
rm -rf %buildroot |
42 |
|
43 |
%files |
44 |
%defattr (-,root,root) |
45 |
%doc changelog README COPYING TODO FAQ examples/abcded examples/abcde.init examples/autorip.sh |
46 |
%{_bindir}/* |
47 |
%{_mandir}/man1/abcde.* |
48 |
%{_mandir}/man1/cd-discid.* |
49 |
%{_mandir}/man1/cddb-tool.* |
50 |
%config(noreplace) %{_sysconfdir}/%{name}.conf |
51 |
|
52 |
|
53 |
|