84 lines
2.2 KiB
RPMSpec
84 lines
2.2 KiB
RPMSpec
Name: libofa
|
|
Version: 0.9.3
|
|
Release: 3mamba
|
|
Summary: An open-source audio fingerprint library
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
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: 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 need for development.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p0
|
|
%patch1 -p1
|
|
%patch2 -p1
|
|
%patch3 -p1
|
|
%patch4 -p1
|
|
|
|
%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 Sep 05 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.3-3mamba
|
|
- rebuilt with gcc 4.7 and curl >= 7.21 patches
|
|
|
|
* Sat Dec 18 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.3-2mamba
|
|
- rebuilt (added patch for missing include)
|
|
|
|
* Sat Jan 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.3-1mamba
|
|
- package created by autospec
|