Projects
Multimedia
vamp-match-plugin
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
vamp-match-plugin.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Mar 10 00:00:43 UTC 2011 - pascal.bleser@opensuse.org + +- fix build by passing %optflags as well as disabling static linking + +------------------------------------------------------------------- Mon Dec 8 00:00:00 UTC 2008 - toni@links2linux.de - update to 0.2.1
View file
vamp-match-plugin.spec
Changed
@@ -1,20 +1,18 @@ +# vim: set sw=4 ts=4 et: # Copyright (c) 2005-2008 oc2pus # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments to toni@links2linux.de - -# norootforbuild - -%define _prefix /usr +# Please submit bugfixes or comments to packman@links2linux.de Name: vamp-match-plugin Summary: Vamp plugin implementation of the MATCH audio alignment algorithm Group: Productivity/Multimedia/Sound/Utilities Version: 0.2.1 Release: 0.pm.1 -License: GPL -Source: match-vamp-plugin-%{version}.tar.gz +License: GNU General Public License version 2 or later (GPLv2 or later) +Source: http://prdownloads.sourceforge.net/vamp/match-vamp-plugin-%{version}.tar.gz +Patch1: vamp-match-plugin-fix_makefile.patch URL: http://sourceforge.net/projects/vamp/ BuildRequires: gcc-c++ BuildRequires: pkgconfig @@ -25,13 +23,14 @@ This is a Vamp plugin implementation of the MATCH audio alignment algorithm: http://www.elec.qmul.ac.uk/people/simond/match/index.html - - %prep -%setup -q -n match-vamp-plugin-%{version} +%setup -q -n "match-vamp-plugin-%{version}" +%patch1 %build -%__make %{?jobs:-j%{jobs}} +%__make %{?_smp_flags} \ + CXX="%__cxx" \ + OPTFLAGS="%{optflags}" %install %__install -dm 755 %{buildroot}%{_libdir}/vamp @@ -41,7 +40,7 @@ %{buildroot}%{_libdir}/vamp %clean -[ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}" +%{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) @@ -51,4 +50,3 @@ %{_libdir}/vamp/match-vamp-plugin.cat %changelog -# vim: set sw=4 ts=4 et:
View file
vamp-match-plugin-fix_makefile.patch
Added
@@ -0,0 +1,15 @@ +--- Makefile.orig 2011-03-10 00:56:08.000000000 +0100 ++++ Makefile 2011-03-10 00:57:05.000000000 +0100 +@@ -1,8 +1,10 @@ + +-CXXFLAGS := -fPIC -ffast-math -O3 -Wall ++OPTFLAGS = -O3 ++CXXFLAGS = -fPIC -ffast-math -Wall $(OPTFLAGS) ++CXX = g++ + + match-vamp-plugin.so: Finder.o Matcher.o MatchFeeder.o MatchVampPlugin.o Path.o +- g++ -shared $^ -o $@ -Wl,-Bstatic -lvamp-sdk -Wl,-Bdynamic -lpthread -Wl,--version-script=vamp-plugin.map ++ $(CXX) $(CXXFLAGS) -shared $^ -o $@ -lvamp-sdk -lpthread + + clean: + rm *.o
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.