Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37849965
en ru br
Репозитории ALT

Группа :: Звук
Пакет: fpcalc

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_enable snapshot
%define _name chromaprint

Name: fpcalc
Version: 1.5.1
Release: alt2
Summary: fpcalc tool from Chromaprint package

Group: Sound
License: LGPLv2+
Url: https://www.acoustid.org/chromaprint

%if_disabled snapshot
Source: https://github.com/acoustid/chromaprint/releases/download/v%version/%_name-%version.tar.gz
%else
Vcs: https://github.com/acoustid/chromaprint.git
Source: %_name-%version.tar
%endif

# to avoind conflict with libchromaprint1-debuginfo

%add_debuginfo_skiplist %_bindir/%name

BuildRequires(pre): rpm-macros-cmake
BuildRequires: cmake gcc-c++
BuildRequires: libchromaprint-devel
BuildRequires: libfftw3-devel libtag-devel
BuildRequires: libavdevice-devel libavformat-devel
BuildRequires: libavutil-devel libswresample-devel

%description
Chromaprint library is the core component of the AcoustID project. It's a
client-side library that implements a custom algorithm for extracting
fingerprints from raw audio sources.

This package provides command-line tool from Chromaprint.

%prep
%setup -n %_name-%version

%build
%cmake \
   -DBUILD_SHARED_LIBS=OFF \
   -DBUILD_TOOLS=ON \
   -DBUILD_EXAMPLES=OFF \
   -DBUILD_TESTS=OFF
%cmake_build

%install
%cmake_install
rm -f %buildroot%_libdir/*.a

%files
%_bindir/fpcalc

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin