Version: 3.5 %global forgeurl https://github.com/complexlogic/rsgain/ %forgemeta Name: rsgain Release: %autorelease Summary: Simple but powerful ReplayGain 2.0 tagging utility URL: %{forgeurl} Source0: %{forgesource} # rsgain: BSD-2-Clause # CRCpp: BSD-3-Clause License: BSD-2-Clause and BSD-3-Clause # https://github.com/complexlogic/rsgain/pull/109 Patch0: 0001-Include-LICENSE-from-bundled-CRC-library.patch BuildRequires: cmake BuildRequires: fmt-devel BuildRequires: gcc-c++ BuildRequires: inih-devel BuildRequires: libavcodec-free-devel BuildRequires: libavformat-free-devel BuildRequires: libavutil-free-devel BuildRequires: libebur128-devel BuildRequires: libswresample-free-devel BuildRequires: taglib-devel Provides: bundled(CRCpp) = 1.2.0.0^20220528git71f2152 %description rsgain (really simple gain) is a ReplayGain 2.0 command line utility. It applies loudness metadata tags to your files, while leaving the audio stream untouched. A ReplayGain-compatible player will dynamically adjust the volume of your tagged files during playback. %prep %forgeautosetup %build %cmake %cmake_build %install %cmake_install %check %ctest %{buildroot}/%{_bindir}/%{name} custom |& grep -F 'No files were specified' %files %license LICENSE %license LICENSE-CRCpp %doc README.md %{_bindir}/%{name} %{_datadir}/%{name}/ %changelog %autochangelog