1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
%define _name ebur128 %def_enable check Name: lib%_name Version: 1.2.6 Release: alt1.1 Summary: A library that implements the EBU R 128 standard for loudness normalization Group: Sound License: MIT Url: https://github.com/jiixyj/%name Source: https://github.com/jiixyj/%name/archive/v%version/%name-%version.tar.gz BuildRequires(pre): rpm-macros-cmake BuildRequires: cmake gcc-c++ %{?_enable_check:BuildRequires: libsndfile-devel} %description A library that implements the EBU R 128 standard for loudness normalization. It implements M, S and I modes, loudness range measurement (EBU - TECH 3342), true peak scanning and all sample-rates by recalculation of the filter coefficients. %package devel Summary: Development files for %name Group: Development/C++ Requires: %name = %version-%release %description devel The %name-devel package contains libraries and header files for developing applications that use %name. %prep %setup %build %cmake \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_STATIC_LIBS=OFF \ %{?_enable_check:-DENABLE_TESTS=ON} %nil %cmake_build %install %cmake_install %check %cmake_build -t test %files %_libdir/%name.so.* %doc README.md COPYING %files devel %_includedir/%_name.h %_libdir/%name.so %_pkgconfigdir/%name.pc %changelog * Tue May 11 2021 Yuri N. Sedunov <aris@altlinux.org> 1.2.6-alt1.1 - rebuild with new cmake macros * Sun Feb 14 2021 Yuri N. Sedunov <aris@altlinux.org> 1.2.6-alt1 - 1.2.6 * Wed Feb 03 2021 Yuri N. Sedunov <aris@altlinux.org> 1.2.5-alt1 - 1.2.5 * Sun Jul 29 2018 Yuri N. Sedunov <aris@altlinux.org> 1.2.4-alt1 - first build for Sisyphus