Mercurial > hg > sonic-annotator
changeset 38:75f1f1af9277
* Add rather flimsy spec file
author | Chris Cannam |
---|---|
date | Tue, 29 Jun 2010 12:38:32 +0000 |
parents | 601088ff9799 |
children | 2715584a9a01 |
files | sonic-annotator.spec |
diffstat | 1 files changed, 36 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /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 +