Name: soundtouch %global name_camel SoundTouch Version: 2.4.0 Release: 0 Summary: SoundTouch is an open-source audio processing library that allows changing the sound tempo, pitch and playback rate parameters URL: https://codeberg.org/%{name}/%{name} License: MIT BuildRequires: cmake BuildRequires: make BuildRequires: gcc-c++ BuildRequires: cmake(fmt) BuildRequires: rpm_macro(cmake) BuildRequires: rpm_macro(cmake_build) BuildRequires: rpm_macro(cmake_install) BuildRequires: cmake Source: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz %package devel Summary: %{summary}. %description devel %{summary}. %description %{summary}. %package -n soundstretch Summary: This application processes WAV audio files by modifying the sound tempo, pitch and playback rate properties %description -n soundstretch %{summary}. %prep %autosetup %build %cmake -DCMAKE_INSTALL_LIBDIR=%{_libdir} -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} %cmake_build %install %cmake_install %files %_libdir/lib%{name_camel}.so.* %files -n soundstretch %_bindir/soundstretch %files devel %_includedir/%{name} %_libdir/pkgconfig/%{name}.pc %_libdir/cmake/%{name_camel} %_libdir/lib%{name_camel}.so