From 7eaeb9e6969db57557cc99eaaa76e10df826604c Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 21:13:11 +0100 Subject: [PATCH] automatic version update by autodist [release 1.1-1mamba;Sun Nov 24 2013] --- README.md | 2 ++ chromaprint.spec | 88 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 chromaprint.spec diff --git a/README.md b/README.md index a77b7c0..37c2da6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # chromaprint +Chromaprint is a client-side library that implements a custom algorithm for extracting fingerprints from any audio source. + diff --git a/chromaprint.spec b/chromaprint.spec new file mode 100644 index 0000000..6ac5af3 --- /dev/null +++ b/chromaprint.spec @@ -0,0 +1,88 @@ +Name: chromaprint +Version: 1.1 +Release: 1mamba +Summary: A client-side library that implements a custom algorithm for extracting fingerprints from any audio source +Group: Applications/Multimedia +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://acoustid.org/chromaprint/ +Source: https://bitbucket.org/acoustid/chromaprint/downloads/chromaprint-%{version}.tar.gz +#Source: https://github.com/downloads/lalinsky/chromaprint/chromaprint-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libavcodec-ffmpeg-devel +BuildRequires: libavutil-ffmpeg-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +BuildRequires: pkg-config +## AUTOBUILDREQ-END +BuildRequires: cmake +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Chromaprint is a client-side library that implements a custom algorithm for extracting fingerprints from any audio source. + +%package -n lib%{name} +Group: System/Libraries +Summary: A client-side library that implements a custom algorithm for extracting fingerprints from any audio source + +%description -n lib%{name} +Chromaprint is a client-side library that implements a custom algorithm for extracting fingerprints from any audio source. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +## note: you can add this requirement if .pc files are provided by this package +#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 +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%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}/libchromaprint.so.* +%doc COPYING.txt + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_includedir}/chromaprint.h +%{_libdir}/libchromaprint.so +%{_libdir}/pkgconfig/libchromaprint.pc +%doc README.txt + + +%changelog +* Sun Nov 24 2013 Automatic Build System 1.1-1mamba +- automatic version update by autodist + +* Fri Sep 13 2013 Automatic Build System 1.0-1mamba +- update to 1.0 + +* Sat Dec 01 2012 Automatic Build System 0.7-1mamba +- automatic version update by autodist + +* Wed Aug 15 2012 Silvan Calarco 0.6-1mamba +- package created by autospec