%define origname chromaprint Name: %{origname}-tools Version: 0.4 Release: 1%{?dist} Summary: Chromaprint audio fingerprinting tools Group: Applications/Multimedia License: LGPLv2+ URL: http://www.acoustid.org/chromaprint/ Source: https://github.com/downloads/lalinsky/chromaprint/%{origname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: lib%{origname} = %{version} BuildRequires: cmake BuildRequires: boost-devel BuildRequires: ffmpeg-devel %description This package contains a fingerprinting tool using the chromaprint library. %prep %setup -n %{origname}-%{version} -q %{cmake} -DBUILD_EXAMPLES=on . %build make %{?_smp_mflags} %install %{__rm} -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT%{_libdir} %{__rm} -rf $RPM_BUILD_ROOT%{_includedir} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc CHANGES.txt COPYING.txt NEWS.txt README.txt %{_bindir}/fpcalc %changelog * Sat Aug 06 2011 Thomas Vander Stichele - 0.4-1 - Initial package