package created using the webbuild interface [release 2.2.5-1mamba;Sat Oct 23 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 04:48:53 +01:00
parent 33431017a8
commit 761a8d69d3
2 changed files with 71 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libkeyfinder
libkeyfinder is a small C++11 library for estimating the musical key of digital audio.

69
libkeyfinder.spec Normal file
View File

@ -0,0 +1,69 @@
Name: libkeyfinder
Version: 2.2.5
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/v%{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}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libkeyfinder.so.*
%doc LICENSE
%files devel
%defattr(-,root,root)
%dir %{_includedir}/keyfinder
%{_includedir}/keyfinder/*.h
%dir %{_prefix}/lib/cmake/KeyFinder
%{_prefix}/lib/cmake/KeyFinder/KeyFinder*.cmake
%{_libdir}/libkeyfinder.so
%{_libdir}/pkgconfig/libkeyfinder.pc
%doc README.md
%changelog
* Sat Oct 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.5-1mamba
- package created using the webbuild interface