]>
Commit | Line | Data |
---|---|---|
f42f8c5d | 1 | %include /usr/lib/rpm/macros.perl |
2 | Summary: Automatic mp3 ripper | |
3 | Name: choad | |
4 | Version: 0.82 | |
5 | Release: 1 | |
6 | License: Artistic | |
7 | Group: Applications/Console | |
8 | Group(de): Applikationen/Konsole | |
9 | Group(pl): Aplikacje/Konsola | |
10 | Source0: http://www.ftso.org/choad/%{name}.tgz | |
11 | Patch0: %{name}-perldir.patch | |
12 | Requires: perl-CDDB | |
13 | Requires: cdparanoia-III | |
14 | Requires: lame | |
15 | BuildArch: noarch | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | URL: http://www.ftso.org/choad/ | |
18 | ||
19 | %description | |
20 | Choad is a flexible, Perl-based command-line frontend to the CDDB | |
21 | database (via CDDB.pl), the cdparanoia CD ripper, and the LAME MP3 | |
22 | encoder. | |
23 | ||
24 | %prep | |
25 | %setup -q | |
26 | %patch0 -p1 | |
27 | ||
28 | %build | |
29 | gzip -9nf README | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | install -d $RPM_BUILD_ROOT%{_bindir} | |
34 | install choad $RPM_BUILD_ROOT%{_bindir} | |
35 | ||
36 | %clean | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
41 | %attr(755,root,root) %{_bindir}/choad | |
42 | %doc README.gz |