From 1519f5100311b02c168df93080eb9a7d37472506 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:54:38 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.5-1mamba;Sat Dec 07 2013] --- README.md | 2 + vamp-plugin-sdk.spec | 91 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 vamp-plugin-sdk.spec diff --git a/README.md b/README.md index a55aed8..97d4be8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # vamp-plugin-sdk +An API for audio analysis and feature extraction plugins. + diff --git a/vamp-plugin-sdk.spec b/vamp-plugin-sdk.spec new file mode 100644 index 0000000..e2e2741 --- /dev/null +++ b/vamp-plugin-sdk.spec @@ -0,0 +1,91 @@ +Name: vamp-plugin-sdk +Version: 2.5 +Release: 1mamba +Summary: An API for audio analysis and feature extraction plugins +Group: Applictions/Multimedia +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://vamp-plugins.org/ +Source: http://code.soundsoftware.ac.uk/attachments/download/690/vamp-plugin-sdk-%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libsndfile-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +An API for audio analysis and feature extraction plugins. + +%package -n lib%{name} +Group: System/Libraries +Summary: An API for audio analysis and feature extraction plugins + +%description -n lib%{name} +An API for audio analysis and feature extraction plugins. +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall INSTALL_SDK_LIBS=%{_libdir} INSTALL_PKGCONFIG=%{_libdir}/pkgconfig + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libvamp-hostsdk.so.* +%{_libdir}/libvamp-sdk.so.* + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_bindir}/vamp-rdf-template-generator +%{_bindir}/vamp-simple-host +%dir %{_includedir}/vamp-hostsdk +%{_includedir}/vamp-hostsdk/*.h +%dir %{_includedir}/vamp-sdk +%{_includedir}/vamp-sdk/*.h +%dir %{_includedir}/vamp +%{_includedir}/vamp/vamp.h +%{_libdir}/libvamp-hostsdk.a +%{_libdir}/libvamp-hostsdk.la +%{_libdir}/libvamp-hostsdk.so +%{_libdir}/libvamp-sdk.a +%{_libdir}/libvamp-sdk.la +%{_libdir}/libvamp-sdk.so +%{_libdir}/pkgconfig/vamp-hostsdk.pc +%{_libdir}/pkgconfig/vamp-sdk.pc +%{_libdir}/pkgconfig/vamp.pc +%dir %{_prefix}/lib/vamp +%{_prefix}/lib/vamp/vamp-example-plugins.cat +%{_prefix}/lib/vamp/vamp-example-plugins.n3 +%{_prefix}/lib/vamp/vamp-example-plugins.so +%doc README README.compat + +%changelog +* Sat Dec 07 2013 Silvan Calarco 2.5-1mamba +- package created using the webbuild interface