%define name mp32ogg %define version 0.11 %define release 1mdk Summary: Convert mp3 music files to ogg music files. Name: %{name} Version: %{version} Release: %{release} Source0: ftp://ftp.faceprint.com/pub/software/scripts/%{name}-%{version}.bz2 License: Artistic Url: http://faceprint.com/software.phtml Group: Sound Packager: Guillaume Cottenceau <gc@mandrakesoft.com> BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Prefix: %{_prefix} Requires: perl perl-MP3-Info perl-String-ShellQuote mpg123 vorbis-tools BuildRequires: perl perl-MP3-Info perl-String-ShellQuote BuildArch: noarch # Author: Nathan Walp <faceprint@faceprint.com> %description Perl script to convert MP3 files into Ogg Vorbis format. It is able to read ID3 tags from MP3 files and correctly tag the Ogg files, as well as optionally rename them based on those tags. %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} bzcat %{SOURCE0} > $RPM_BUILD_ROOT%{_bindir}/%{name} chmod +x $RPM_BUILD_ROOT%{_bindir}/%{name} perl -c $RPM_BUILD_ROOT%{_bindir}/%{name} mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{release} echo -e "%{name}\n\nAuthor: Nathan Walp <faceprint@faceprint.com>\nLicense: Artistic\n" \ > $RPM_BUILD_ROOT%{_docdir}/%{name}-%{release}/README %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/* %{_docdir}/%{name}-%{release} %changelog * Fri Jan 25 2002 Guillaume Cottenceau <gc@mandrakesoft.com> 0.11-1mdk - new version (license is now Artistic) * Fri Sep 28 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.10-1mdk - new version - un-yvounetyfie specfile * Fri Aug 24 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.8.1-1mdk - new version * Fri Aug 17 2001 Yves Duret <yduret@mandrakesoft.com> 0.8-1mdk - updated to 0.8 (This version was fixed to work with oggenc 1.0RC2) * Mon Jul 2 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.6.1-5mdk - rebuild * Fri Jun 01 2001 Stefan van der Eijk <stefan@eijk.nu> 0.6.1-4mdk - BuildRequires: perl-MP3-Info - Move all global statements in front of BuildArch: noarch * Sun May 20 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.6.1-3mdk - fix URL * Wed May 9 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.6.1-2mdk - fix Group * Tue May 8 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.6.1-1mdk - initial spec