Name: libofa Version: 0.9.3 Release: 4mamba Summary: An open-source audio fingerprint library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://code.google.com/p/musicip-libofa/ Source: http://musicip-libofa.googlecode.com/files/libofa-%{version}.tar.gz Patch0: %{name}-0.9.3-gcc-43.patch Patch1: %{name}-0.9.3-tnt_math_utils.patch Patch2: %{name}-0.9.3-gcc44.patch Patch3: libofa-0.9.3-gcc-4.7.patch Patch4: libofa-0.9.3-curl-7.21.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: ldconfig BuildRequires: libfftw-devel BuildRequires: libgcc BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description LibOFA (Library Open Fingerprint Architecture) is an open-source audio fingerprint library. %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel LibOFA (Library Open Fingerprint Architecture) is an open-source audio fingerprint library. This package contains static libraries and header files needed for development. %debug_package %prep %setup -q %define _default_patch_fuzz 2 %patch0 -p0 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libofa.so.* %doc AUTHORS COPYING %files devel %defattr(-,root,root) %dir %{_includedir}/ofa1 %{_includedir}/ofa1/ofa.h %{_libdir}/libofa.a %{_libdir}/libofa.la %{_libdir}/libofa.so %{_libdir}/pkgconfig/libofa.pc %doc README %changelog * Wed Dec 09 2020 Silvan Calarco 0.9.3-4mamba - rebuilt with debug package * Wed Sep 05 2012 Silvan Calarco 0.9.3-3mamba - rebuilt with gcc 4.7 and curl >= 7.21 patches * Sat Dec 18 2010 Silvan Calarco 0.9.3-2mamba - rebuilt (added patch for missing include) * Sat Jan 10 2009 Silvan Calarco 0.9.3-1mamba - package created by autospec