%define name trm %define version 0.2.1 %define release %mkrel 4 %define longtitle Application that generates Relatable TRM acoustic fingerprints Summary: %longtitle Name: %name Version: %version Release: %release License: GPL Group: Sound URL: http://www.musicbrainz.org/products/trmgen/download.html Source0: %name-%version.tar.bz2 BuildRoot: %_tmppath/%name-buildroot Buildrequires: libmusicbrainz-devel Buildrequires: libvorbis-devel %description The trm program will decode the first 30 seconds of audio file and then spit out a TRM id (see http://www.relatable.com for details) on stdout. If some error occurs, the error message is printed to stderr. %prep %setup -q %build %configure2_5x %make %install rm -rf $RPM_BUILD_ROOT mkdir $RPM_BUILD_ROOT mkdir $RPM_BUILD_ROOT/usr mkdir $RPM_BUILD_ROOT/usr/bin %makeinstall %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS README %_bindir/* %changelog * Tue Jan 03 2006 Lenny Cartier <lenny@mandriva.com> 0.2.1-4mdk - rebuild * Wed Jun 30 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.2.1-3mdk - rebuild with new g++ * Fri Apr 16 2004 Götz Waschk <waschk@linux-mandrake.com> 0.2.1-2mdk - spec fixes - new musicbrainz * Tue Nov 04 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.2.1-1mdk - from Cameron Hart <cam@bitshifter.net.nz> : - Initial Mandrake RPM.