# HG changeset patch # User Chris Cannam # Date 1277815112 0 # Node ID 75f1f1af927718cb8f98004633702831a7379a4a # Parent 601088ff97997cb8316fe4768d0e69906fc91c00 * Add rather flimsy spec file diff -r 601088ff9799 -r 75f1f1af9277 sonic-annotator.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sonic-annotator.spec Tue Jun 29 12:38:32 2010 +0000 @@ -0,0 +1,36 @@ +%define _topdir /home/cannam/rpm/sonic-annotator +%define name sonic-annotator +%define version 0.6 +%define release svn + +BuildRoot: %{_tmppath}/%{name}-buildroot +Summary: Sonic Annotator +License: GPL +Name: %{name} +Group: Sound +Version: %{version} +Release: %{release} + +%description +Sonic Annotator is a utility program for batch feature extraction +from audio files. It runs Vamp audio analysis plugins on audio files, +and can write the result features in a selection of formats including +CSV and RDF/Turtle. + +%prep +svn co http://sv1.svn.sourceforge.net/svnroot/sv1/sonic-annotator/trunk %{name}-%{version}-%{release} + +%build +cd %{name}-%{version}-%{release} +/home/cannam/qt-4.6.3-static-release-nogui/bin/qmake -r +make + +%install +cd %{name}-%{version}-%{release} +mkdir -p $RPM_BUILD_ROOT/usr/bin +install runner/sonic-annotator $RPM_BUILD_ROOT/usr/bin + +%files +%defattr(-,root,root) +%{_bindir}/sonic-annotator +