Mercurial > hg > sonic-annotator
changeset 40:60f6f108dd93
* Move sonic-annotator.spec to package/
author | Chris Cannam |
---|---|
date | Thu, 22 Jul 2010 13:21:51 +0000 |
parents | 2715584a9a01 |
children | f0346cc8ff21 |
files | package/sonic-annotator.spec sonic-annotator.spec |
diffstat | 2 files changed, 42 insertions(+), 42 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/package/sonic-annotator.spec Thu Jul 22 13:21:51 2010 +0000 @@ -0,0 +1,42 @@ +%define _topdir /home/cannam/rpm/sonic-annotator +%define name sonic-annotator +%define version 0.6 +%define release svn20100629 + +BuildRoot: %{_tmppath}/%{name}-buildroot +Summary: Sonic Annotator +License: GPL +Name: %{name} +Group: Sound +Version: %{version} +Release: %{release} + +%description +Sonic Annotator is a utility program for batch feature extraction +from audio files. It runs Vamp audio analysis plugins on audio files, +and can write the result features in a selection of formats including +CSV and RDF/Turtle. + +%prep +svn co http://sv1.svn.sourceforge.net/svnroot/sv1/sonic-annotator/trunk . +#%{name}-%{version}-%{release} + +%build +export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig +#cd %{name}-%{version}-%{release} +/home/cannam/qt-4.6.2-static/bin/qmake -r "LIBS += -Wl,-Bstatic" "DEFINES += BUILD_STATIC" +make + +%install +#cd %{name}-%{version}-%{release} +mkdir -p $RPM_BUILD_ROOT/usr/bin +install runner/sonic-annotator $RPM_BUILD_ROOT/usr/bin + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%{_bindir}/sonic-annotator +%doc README COPYING CHANGELOG +
--- a/sonic-annotator.spec Tue Jun 29 16:32:30 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,42 +0,0 @@ -%define _topdir /home/cannam/rpm/sonic-annotator -%define name sonic-annotator -%define version 0.6 -%define release svn20100629 - -BuildRoot: %{_tmppath}/%{name}-buildroot -Summary: Sonic Annotator -License: GPL -Name: %{name} -Group: Sound -Version: %{version} -Release: %{release} - -%description -Sonic Annotator is a utility program for batch feature extraction -from audio files. It runs Vamp audio analysis plugins on audio files, -and can write the result features in a selection of formats including -CSV and RDF/Turtle. - -%prep -svn co http://sv1.svn.sourceforge.net/svnroot/sv1/sonic-annotator/trunk . -#%{name}-%{version}-%{release} - -%build -export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig -#cd %{name}-%{version}-%{release} -/home/cannam/qt-4.6.2-static/bin/qmake -r "LIBS += -Wl,-Bstatic" "DEFINES += BUILD_STATIC" -make - -%install -#cd %{name}-%{version}-%{release} -mkdir -p $RPM_BUILD_ROOT/usr/bin -install runner/sonic-annotator $RPM_BUILD_ROOT/usr/bin - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(-,root,root) -%{_bindir}/sonic-annotator -%doc README COPYING CHANGELOG -