commit 1e865871e75bdc4cfa7e9713aa414769ef171202
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Tue Jun 2 15:28:06 2020 +0100
Initial package
.gitignore | 1 +
python-ffmpeg-normalize.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 67 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b595548 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ffmpeg-normalize-1.19.0.tar.gz
diff --git a/python-ffmpeg-normalize.spec b/python-ffmpeg-normalize.spec
new file mode 100644
index 0000000..411d135
--- /dev/null
+++ b/python-ffmpeg-normalize.spec
@@ -0,0 +1,65 @@
+# Created by pyp2rpm-3.3.4
+%global pypi_name ffmpeg-normalize
+
+Name: python-%{pypi_name}
+Version: 1.19.0
+Release: 1%{?dist}
+Summary: Normalize audio via ffmpeg
+
+License: MIT
+URL:
https://github.com/slhck/ffmpeg-normalize
+Source0:
https://pypi.python.org/packages/source/f/%{pypi_name}/%{pypi_name}-%{ver...
+BuildArch: noarch
+
+BuildRequires: python3-devel
+BuildRequires: python3dist(setuptools)
+# Nedded for tests
+BuildRequires: ffmpeg >= 3.1
+BuildRequires: python3dist(tqdm) >= 4.38
+
+%description
+A utility for batch-normalizing audio using ffmpeg.
+This program normalizes media files to a certain LUFS level using the EBU R128
+loudness normalization procedure. It can also perform RMS-based normalization
+(where the mean is lifted or attenuated), or peak normalization to a certain
+target level.
+Batch processing of several input files is possible, including video files.
+
+%package -n python3-%{pypi_name}
+Summary: %{summary}
+%{?python_provide:%python_provide python3-%{pypi_name}}
+
+Requires: ffmpeg >= 3.1
+
+
+%description -n python3-%{pypi_name}
+A utility for batch-normalizing audio using ffmpeg.
+This program normalizes media files to a certain LUFS level using the EBU R128
+loudness normalization procedure. It can also perform RMS-based normalization
+(where the mean is lifted or attenuated), or peak normalization to a certain
+target level.
+Batch processing of several input files is possible, including video files.
+
+
+%prep
+%autosetup -n %{pypi_name}-%{version}
+
+%build
+%py3_build
+
+%install
+%py3_install
+
+%check
+%{python3} test/test.py
+
+%files -n python3-%{pypi_name}
+%license LICENSE
+%doc README.md
+%{_bindir}/ffmpeg-normalize
+%{python3_sitelib}/ffmpeg_normalize
+%{python3_sitelib}/ffmpeg_normalize-%{version}-py%{python3_version}.egg-info
+
+%changelog
+* Mon Jun 01 2020 Leigh Scott <leigh123linux(a)gmail.com> - 1.19.0-1
+- Initial package.
diff --git a/sources b/sources
index e69de29..b56ff94 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (ffmpeg-normalize-1.19.0.tar.gz) =
753a79914d425b64572b6b991d266e396cf89b30d5b0a2b6f1ecf3723af1471e2b4a8ec60c1154c4715ccfd35128e5d555fe8a722f495df25c4aa0ffaf8ba85f