automatic version update by autodist [release 1.1-1mamba;Sun Nov 24 2013]

This commit is contained in:
Automatic Build System 2024-01-05 21:13:11 +01:00
parent 279ca4a88c
commit 7eaeb9e696
2 changed files with 90 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# chromaprint
Chromaprint is a client-side library that implements a custom algorithm for extracting fingerprints from any audio source.

88
chromaprint.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 1.1-1mamba
- automatic version update by autodist
* Fri Sep 13 2013 Automatic Build System <autodist@mambasoft.it> 1.0-1mamba
- update to 1.0
* Sat Dec 01 2012 Automatic Build System <autodist@mambasoft.it> 0.7-1mamba
- automatic version update by autodist
* Wed Aug 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6-1mamba
- package created by autospec