Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > media > main-src > by-pkgid > 5d7b78e878bec258431c349ec9ae5a92 > files > 2

mp32ogg-0.11-4mdk.src.rpm

%define name mp32ogg
%define version 0.11
%define release 4mdk

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
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Requires: perl 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}

echo -e "%{name}\n\nAuthor: Nathan Walp <faceprint@faceprint.com>\nLicense: Artistic\n" > README

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README
%{_bindir}/*

%changelog
* Sun Sep  5 2004 Michael Scherer <misc@mandrake.org> 0.11-4mdk
- Rebuild
- use %%doc
- remove Packager tag
- use perl-autorequires

* Thu Jul 24 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 0.11-3mdk
- rebuild
- drop Prefix tag

* Thu Feb 13 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 0.11-2mdk
- rebuild

* 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