Mercurial > hg > sonic-annotator
comparison package/sonic-annotator.spec @ 40:60f6f108dd93
* Move sonic-annotator.spec to package/
author | Chris Cannam |
---|---|
date | Thu, 22 Jul 2010 13:21:51 +0000 |
parents | sonic-annotator.spec@2715584a9a01 |
children |
comparison
equal
deleted
inserted
replaced
39:2715584a9a01 | 40:60f6f108dd93 |
---|---|
1 %define _topdir /home/cannam/rpm/sonic-annotator | |
2 %define name sonic-annotator | |
3 %define version 0.6 | |
4 %define release svn20100629 | |
5 | |
6 BuildRoot: %{_tmppath}/%{name}-buildroot | |
7 Summary: Sonic Annotator | |
8 License: GPL | |
9 Name: %{name} | |
10 Group: Sound | |
11 Version: %{version} | |
12 Release: %{release} | |
13 | |
14 %description | |
15 Sonic Annotator is a utility program for batch feature extraction | |
16 from audio files. It runs Vamp audio analysis plugins on audio files, | |
17 and can write the result features in a selection of formats including | |
18 CSV and RDF/Turtle. | |
19 | |
20 %prep | |
21 svn co http://sv1.svn.sourceforge.net/svnroot/sv1/sonic-annotator/trunk . | |
22 #%{name}-%{version}-%{release} | |
23 | |
24 %build | |
25 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig | |
26 #cd %{name}-%{version}-%{release} | |
27 /home/cannam/qt-4.6.2-static/bin/qmake -r "LIBS += -Wl,-Bstatic" "DEFINES += BUILD_STATIC" | |
28 make | |
29 | |
30 %install | |
31 #cd %{name}-%{version}-%{release} | |
32 mkdir -p $RPM_BUILD_ROOT/usr/bin | |
33 install runner/sonic-annotator $RPM_BUILD_ROOT/usr/bin | |
34 | |
35 %clean | |
36 rm -rf $RPM_BUILD_ROOT | |
37 | |
38 %files | |
39 %defattr(-,root,root) | |
40 %{_bindir}/sonic-annotator | |
41 %doc README COPYING CHANGELOG | |
42 |