comparison sonic-annotator.spec @ 39:2715584a9a01

* Update spec file
author Chris Cannam
date Tue, 29 Jun 2010 16:32:30 +0000
parents 75f1f1af9277
children
comparison
equal deleted inserted replaced
38:75f1f1af9277 39:2715584a9a01
1 %define _topdir /home/cannam/rpm/sonic-annotator 1 %define _topdir /home/cannam/rpm/sonic-annotator
2 %define name sonic-annotator 2 %define name sonic-annotator
3 %define version 0.6 3 %define version 0.6
4 %define release svn 4 %define release svn20100629
5 5
6 BuildRoot: %{_tmppath}/%{name}-buildroot 6 BuildRoot: %{_tmppath}/%{name}-buildroot
7 Summary: Sonic Annotator 7 Summary: Sonic Annotator
8 License: GPL 8 License: GPL
9 Name: %{name} 9 Name: %{name}
16 from audio files. It runs Vamp audio analysis plugins on audio files, 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 17 and can write the result features in a selection of formats including
18 CSV and RDF/Turtle. 18 CSV and RDF/Turtle.
19 19
20 %prep 20 %prep
21 svn co http://sv1.svn.sourceforge.net/svnroot/sv1/sonic-annotator/trunk %{name}-%{version}-%{release} 21 svn co http://sv1.svn.sourceforge.net/svnroot/sv1/sonic-annotator/trunk .
22 #%{name}-%{version}-%{release}
22 23
23 %build 24 %build
24 cd %{name}-%{version}-%{release} 25 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
25 /home/cannam/qt-4.6.3-static-release-nogui/bin/qmake -r 26 #cd %{name}-%{version}-%{release}
27 /home/cannam/qt-4.6.2-static/bin/qmake -r "LIBS += -Wl,-Bstatic" "DEFINES += BUILD_STATIC"
26 make 28 make
27 29
28 %install 30 %install
29 cd %{name}-%{version}-%{release} 31 #cd %{name}-%{version}-%{release}
30 mkdir -p $RPM_BUILD_ROOT/usr/bin 32 mkdir -p $RPM_BUILD_ROOT/usr/bin
31 install runner/sonic-annotator $RPM_BUILD_ROOT/usr/bin 33 install runner/sonic-annotator $RPM_BUILD_ROOT/usr/bin
32 34
33 %files 35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
34 %defattr(-,root,root) 39 %defattr(-,root,root)
35 %{_bindir}/sonic-annotator 40 %{_bindir}/sonic-annotator
41 %doc README COPYING CHANGELOG
36 42