Mercurial > hg > sonic-annotator
annotate package/sonic-annotator.spec @ 168:3e30dbb68ca2 jams
Write time or start/end based simply on whether the feature has them or not, let's not get clever
author | Chris Cannam |
---|---|
date | Wed, 15 Oct 2014 15:20:16 +0100 |
parents | 60f6f108dd93 |
children |
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@39 | 4 %define release svn20100629 |
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@39 | 21 svn co http://sv1.svn.sourceforge.net/svnroot/sv1/sonic-annotator/trunk . |
Chris@39 | 22 #%{name}-%{version}-%{release} |
Chris@38 | 23 |
Chris@38 | 24 %build |
Chris@39 | 25 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig |
Chris@39 | 26 #cd %{name}-%{version}-%{release} |
Chris@39 | 27 /home/cannam/qt-4.6.2-static/bin/qmake -r "LIBS += -Wl,-Bstatic" "DEFINES += BUILD_STATIC" |
Chris@38 | 28 make |
Chris@38 | 29 |
Chris@38 | 30 %install |
Chris@39 | 31 #cd %{name}-%{version}-%{release} |
Chris@38 | 32 mkdir -p $RPM_BUILD_ROOT/usr/bin |
Chris@38 | 33 install runner/sonic-annotator $RPM_BUILD_ROOT/usr/bin |
Chris@38 | 34 |
Chris@39 | 35 %clean |
Chris@39 | 36 rm -rf $RPM_BUILD_ROOT |
Chris@39 | 37 |
Chris@39 | 38 %files |
Chris@38 | 39 %defattr(-,root,root) |
Chris@38 | 40 %{_bindir}/sonic-annotator |
Chris@39 | 41 %doc README COPYING CHANGELOG |
Chris@38 | 42 |