Compare commits

...

7 Commits
f41 ... epel9

Author SHA1 Message Date
Maxwell G f7b0404bdd
Remove incorrect globs in %files (2)
2 years ago
Maxwell G 901b8c18d1
Remove incorrect globs in %files
3 years ago
Maxwell G 6f692a3a89
Don't use deprecated setup.py test
3 years ago
Maxwell G 25f49565db
Don't use %__install
3 years ago
Maxwell G 69ce4662dc
Do not use macros for file dependencies
3 years ago
Maxwell G 8504e61dae
Remove usage of obsolete and unnecessary %%python_provides
3 years ago
Maxwell G bdb07ec873
Adopt new license guidelines
3 years ago

@ -7,7 +7,19 @@ Version: 1.45.1
Release: 8%{?dist}
Summary: Mutagen is a Python module to handle audio meta-data
License: GPLv2+
# licensecheck -r . | grep -vEe "UNKNOWN" -e "GNU General Public License v2.0" | sort
#
# ./mutagen/_senf/_argv.py: MIT License
# ./mutagen/_senf/_compat.py: MIT License
# ./mutagen/_senf/_environ.py: MIT License
# ./mutagen/_senf/_fsnative.py: MIT License
# ./mutagen/_senf/__init__.py: MIT License
# ./mutagen/_senf/_print.py: MIT License
# ./mutagen/_senf/_stdlib.py: MIT License
# ./mutagen/_senf/_temp.py: MIT License
# ./mutagen/_senf/_winansi.py: MIT License
# ./mutagen/_senf/_winapi.py: MIT License
License: GPL-2.0-or-later AND MIT
URL: https://github.com/quodlibet/mutagen
Source0: %{url}/releases/download/release-%{version}/%{modname}-%{version}.tar.gz
@ -25,7 +37,6 @@ includes a module to handle generic Ogg bit-streams.
%package -n python3-%{modname}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{modname}}
BuildRequires: python3-devel
BuildRequires: python3-hypothesis
BuildRequires: python3-pytest
@ -39,7 +50,7 @@ Python 3 version.
%package doc
Summary: Documentation for python-mutagen
BuildRequires: %{_bindir}/sphinx-build
BuildRequires: /usr/bin/sphinx-build
%description doc
Contains the html documentation for python mutagen.
@ -55,7 +66,7 @@ sphinx-build -b html -n docs docs/_build
%install
%py3_install
%{__install} -D -p -m 0644 man/*.1 %{buildroot}%{_mandir}/man1
install -D -p -m 0644 man/*.1 %{buildroot}%{_mandir}/man1
# Remove hidden files
rm -rf docs/_build/{.buildinfo,.doctrees}
@ -66,7 +77,7 @@ rm -rf docs/_build/{.buildinfo,.doctrees}
# with the code.
rm -rv tests/quality/
%{__python3} setup.py test
%pytest
%files -n python3-%{modname}
@ -75,8 +86,19 @@ rm -rv tests/quality/
%{python3_sitelib}/%{modname}-*.egg-info
%{python3_sitelib}/%{modname}/
%{_bindir}/*
%{_mandir}/man1/*.1*
%{_bindir}/mid3cp
%{_bindir}/mid3iconv
%{_bindir}/mid3v2
%{_bindir}/moggsplit
%{_bindir}/mutagen-inspect
%{_bindir}/mutagen-pony
%{_mandir}/man1/mid3cp.1*
%{_mandir}/man1/mid3iconv.1*
%{_mandir}/man1/mid3v2.1*
%{_mandir}/man1/moggsplit.1*
%{_mandir}/man1/mutagen-inspect.1*
%{_mandir}/man1/mutagen-pony.1*
%files doc
%doc docs/_build/*

Loading…
Cancel
Save