libkeyfinder/libkeyfinder.spec

76 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: libkeyfinder
Version: 2.2.8
Release: 1mamba
Summary: A small C++11 library for estimating the musical key of digital audio
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://mixxxdj.github.io/libkeyfinder/
Source: https://github.com/mixxxdj/libkeyfinder.git/%{version}/libkeyfinder-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libfftw-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: libcatch2-devel
BuildRequires: cmake
%description
libkeyfinder is a small C++11 library for estimating the musical key of digital audio.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description 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}"
%files
%defattr(-,root,root)
%{_libdir}/libkeyfinder.so.*
%doc LICENSE
%files devel
%defattr(-,root,root)
%dir %{_includedir}/keyfinder
%{_includedir}/keyfinder/*.h
%dir %{_libdir}/cmake/KeyFinder
%{_libdir}/cmake/KeyFinder/KeyFinder*.cmake
%dir %{_libdir}/cmake/KeyFinder/modules
%{_libdir}/cmake/KeyFinder/modules/*.cmake
%{_libdir}/libkeyfinder.so
%{_libdir}/pkgconfig/libkeyfinder.pc
%doc README.md
%changelog
* Fri Sep 13 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.8-1mamba
- update to 2.2.8
* Fri Jan 07 2022 Automatic Build System <autodist@mambasoft.it> 2.2.6-1mamba
- automatic version update by autodist
* Sat Oct 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.5-1mamba
- package created using the webbuild interface