Chris@38: %define _topdir /home/cannam/rpm/sonic-annotator Chris@38: %define name sonic-annotator Chris@38: %define version 0.6 Chris@39: %define release svn20100629 Chris@38: Chris@38: BuildRoot: %{_tmppath}/%{name}-buildroot Chris@38: Summary: Sonic Annotator Chris@38: License: GPL Chris@38: Name: %{name} Chris@38: Group: Sound Chris@38: Version: %{version} Chris@38: Release: %{release} Chris@38: Chris@38: %description Chris@38: Sonic Annotator is a utility program for batch feature extraction Chris@38: from audio files. It runs Vamp audio analysis plugins on audio files, Chris@38: and can write the result features in a selection of formats including Chris@38: CSV and RDF/Turtle. Chris@38: Chris@38: %prep Chris@39: svn co http://sv1.svn.sourceforge.net/svnroot/sv1/sonic-annotator/trunk . Chris@39: #%{name}-%{version}-%{release} Chris@38: Chris@38: %build Chris@39: export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig Chris@39: #cd %{name}-%{version}-%{release} Chris@39: /home/cannam/qt-4.6.2-static/bin/qmake -r "LIBS += -Wl,-Bstatic" "DEFINES += BUILD_STATIC" Chris@38: make Chris@38: Chris@38: %install Chris@39: #cd %{name}-%{version}-%{release} Chris@38: mkdir -p $RPM_BUILD_ROOT/usr/bin Chris@38: install runner/sonic-annotator $RPM_BUILD_ROOT/usr/bin Chris@38: Chris@39: %clean Chris@39: rm -rf $RPM_BUILD_ROOT Chris@39: Chris@39: %files Chris@38: %defattr(-,root,root) Chris@38: %{_bindir}/sonic-annotator Chris@39: %doc README COPYING CHANGELOG Chris@38: