File r128gain.spec of Package r128gain

# spec file for package r128gain
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2020-2023, Martin Hauke <>
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           r128gain
Version:        1.0.7
Release:        0
Summary:        Fast audio loudness (ReplayGain / R128) scanner & tagger
License:        LGPL-2.0-only
Group:          Productivity/Multimedia/Sound/Players
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
BuildRequires:  python3-setuptools
Requires:       python3-crcmod >= 1.7
Requires:       python3-ffmpeg-python >= 0.2
Requires:       python3-mutagen >= 1.43
Requires:       python3-tqdm >= 4.28.1
BuildArch:      noarch

Fast audio loudness (ReplayGain / R128) scanner & tagger.

%setup -q
sed -i -e '/^#!\//, 1d'  r128gain/__*


%fdupes %{buildroot}%{python3_sitelib}

#disable tests since a network connection is required to download mediafiles from wikimedia

%license LICENSE

openSUSE Build Service is sponsored by