2007-01-15 23:22:35 +00:00
|
|
|
#
|
2011-05-27 12:06:34 +00:00
|
|
|
# spec file for package libofa
|
2007-01-15 23:22:35 +00:00
|
|
|
#
|
2019-08-14 08:48:26 +00:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-15 23:22:35 +00:00
|
|
|
#
|
2008-11-07 14:19:47 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2019-08-14 08:48:26 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:22:35 +00:00
|
|
|
#
|
|
|
|
|
|
2008-11-07 14:19:47 +00:00
|
|
|
|
2007-01-15 23:22:35 +00:00
|
|
|
Name: libofa
|
|
|
|
|
Version: 0.9.3
|
2012-03-16 09:47:32 +00:00
|
|
|
Release: 0
|
2017-08-14 11:38:18 +00:00
|
|
|
Summary: Open Fingerprint Architecture Library
|
2019-08-14 08:48:26 +00:00
|
|
|
License: GPL-2.0-or-later OR APL-1.0
|
2017-08-26 03:10:41 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2019-08-14 08:48:26 +00:00
|
|
|
URL: https://code.google.com/p/musicip-libofa/
|
2011-05-27 12:06:19 +00:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
|
Source1: baselibs.conf
|
2007-11-06 22:25:12 +00:00
|
|
|
Patch0: libofa-incl.patch
|
|
|
|
|
Patch1: libofa-0.9.3-gcc43.patch
|
|
|
|
|
Patch2: libofa-0.9.3-pkgconfigbloat.patch
|
2009-05-06 16:48:34 +00:00
|
|
|
Patch3: libofa-0.9.3-gcc44.patch
|
2011-08-06 17:01:53 +00:00
|
|
|
Patch4: libofa-curl-types.patch
|
2012-03-16 09:47:32 +00:00
|
|
|
Patch5: libofa-0.9.3-gcc47.patch
|
|
|
|
|
BuildRequires: curl-devel
|
2017-08-14 11:38:18 +00:00
|
|
|
BuildRequires: dos2unix
|
2012-03-16 09:47:32 +00:00
|
|
|
BuildRequires: gcc-c++
|
2011-11-19 21:05:59 +00:00
|
|
|
BuildRequires: libtool
|
2017-08-14 11:38:18 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: pkgconfig(expat)
|
|
|
|
|
BuildRequires: pkgconfig(fftw3)
|
2007-01-15 23:22:35 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
MusicDNS and the Open Fingerprint Architecture provide a system for
|
|
|
|
|
identifying a piece of music with nothing more than the sound of the
|
|
|
|
|
piece itself.
|
|
|
|
|
This library is by design compatible with the MusicDNS web service.
|
|
|
|
|
Non-commercial access to the service is available at
|
|
|
|
|
http://www.musicdns.org.
|
|
|
|
|
|
2007-11-06 22:25:12 +00:00
|
|
|
%package -n libofa0
|
|
|
|
|
Summary: Open Fingerprint Architecture Library
|
2012-03-16 09:47:32 +00:00
|
|
|
Group: System/Libraries
|
2007-11-06 22:25:12 +00:00
|
|
|
Provides: %{name} = %{version}
|
|
|
|
|
|
|
|
|
|
%description -n libofa0
|
|
|
|
|
MusicDNS and the Open Fingerprint Architecture provide a system for
|
|
|
|
|
identifying a piece of music with nothing more than the sound of the
|
|
|
|
|
piece itself.
|
|
|
|
|
This library is by design compatible with the MusicDNS web service.
|
|
|
|
|
Non-commercial access to the service is available at
|
|
|
|
|
http://www.musicdns.org.
|
|
|
|
|
|
|
|
|
|
%package devel
|
2007-01-15 23:22:35 +00:00
|
|
|
Summary: Open Fingerprint Architecture Library
|
2012-03-16 09:47:32 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2017-08-14 11:38:18 +00:00
|
|
|
Requires: glibc-devel
|
|
|
|
|
Requires: libofa0 = %{version}
|
|
|
|
|
Requires: pkgconfig(expat)
|
|
|
|
|
Requires: pkgconfig(fftw3)
|
2007-01-15 23:22:35 +00:00
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
MusicDNS and the Open Fingerprint Architecture provide a system for
|
|
|
|
|
identifying a piece of music with nothing more than the sound of the
|
|
|
|
|
piece itself.
|
|
|
|
|
This library is by design compatible with the MusicDNS web service.
|
|
|
|
|
Non-commercial access to the service is available at
|
|
|
|
|
http://www.musicdns.org.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
2024-03-01 15:04:19 +00:00
|
|
|
%patch -P 0
|
|
|
|
|
%patch -P 1
|
|
|
|
|
%patch -P 2
|
|
|
|
|
%patch -P 3 -p1
|
|
|
|
|
%patch -P 4
|
|
|
|
|
%patch -P 5 -p1
|
2017-08-14 11:38:18 +00:00
|
|
|
dos2unix README
|
2007-01-15 23:22:35 +00:00
|
|
|
|
|
|
|
|
%build
|
2017-08-14 11:38:18 +00:00
|
|
|
autoreconf -fvi
|
|
|
|
|
%configure --disable-static
|
|
|
|
|
make %{?_smp_mflags}
|
2007-01-15 23:22:35 +00:00
|
|
|
|
|
|
|
|
%install
|
2017-08-14 11:38:18 +00:00
|
|
|
%make_install
|
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2007-01-15 23:22:35 +00:00
|
|
|
|
2007-11-06 22:25:12 +00:00
|
|
|
%files -n libofa0
|
|
|
|
|
%{_libdir}/lib*.so.0*
|
2007-01-15 23:22:35 +00:00
|
|
|
|
|
|
|
|
%files devel
|
2019-08-14 08:48:26 +00:00
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS README
|
2009-12-29 23:26:28 +00:00
|
|
|
%doc examples/*.cpp examples/*.h
|
2007-11-06 22:25:12 +00:00
|
|
|
%dir %{_includedir}/ofa1
|
|
|
|
|
%{_includedir}/ofa1/*.h
|
2007-01-15 23:22:35 +00:00
|
|
|
%{_libdir}/lib*.so
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2007-11-06 22:25:12 +00:00
|
|
|
|
|
|
|
|
%post -n libofa0 -p /sbin/ldconfig
|
|
|
|
|
%postun -n libofa0 -p /sbin/ldconfig
|
2008-11-07 14:19:47 +00:00
|
|
|
|
2007-04-27 18:12:43 +00:00
|
|
|
%changelog
|