annotate sonic-annotator.spec @ 38:75f1f1af9277

* Add rather flimsy spec file
author Chris Cannam
date Tue, 29 Jun 2010 12:38:32 +0000
parents
children 2715584a9a01
rev   line source
Chris@38 1 %define _topdir /home/cannam/rpm/sonic-annotator
Chris@38 2 %define name sonic-annotator
Chris@38 3 %define version 0.6
Chris@38 4 %define release svn
Chris@38 5
Chris@38 6 BuildRoot: %{_tmppath}/%{name}-buildroot
Chris@38 7 Summary: Sonic Annotator
Chris@38 8 License: GPL
Chris@38 9 Name: %{name}
Chris@38 10 Group: Sound
Chris@38 11 Version: %{version}
Chris@38 12 Release: %{release}
Chris@38 13
Chris@38 14 %description
Chris@38 15 Sonic Annotator is a utility program for batch feature extraction
Chris@38 16 from audio files. It runs Vamp audio analysis plugins on audio files,
Chris@38 17 and can write the result features in a selection of formats including
Chris@38 18 CSV and RDF/Turtle.
Chris@38 19
Chris@38 20 %prep
Chris@38 21 svn co http://sv1.svn.sourceforge.net/svnroot/sv1/sonic-annotator/trunk %{name}-%{version}-%{release}
Chris@38 22
Chris@38 23 %build
Chris@38 24 cd %{name}-%{version}-%{release}
Chris@38 25 /home/cannam/qt-4.6.3-static-release-nogui/bin/qmake -r
Chris@38 26 make
Chris@38 27
Chris@38 28 %install
Chris@38 29 cd %{name}-%{version}-%{release}
Chris@38 30 mkdir -p $RPM_BUILD_ROOT/usr/bin
Chris@38 31 install runner/sonic-annotator $RPM_BUILD_ROOT/usr/bin
Chris@38 32
Chris@38 33 %files
Chris@38 34 %defattr(-,root,root)
Chris@38 35 %{_bindir}/sonic-annotator
Chris@38 36