Name: python3-materialyoucolor Version: 3.0.4 Release: 5%{?dist} Summary: Material You color generation in pure Python License: MIT URL: https://pypi.org/project/materialyoucolor/ Source0: https://files.pythonhosted.org/packages/eb/23/2e63e7bdfcc1aa7ba955386ad09e3bd8a535a1092d7af501659b63cb6282/materialyoucolor-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3-setuptools BuildRequires: python3-wheel BuildRequires: gcc-c++ BuildRequires: pybind11-devel BuildRequires: python3-pybind11 %description Material You color generation algorithms in pure Python, used by kde-material-you-colors to derive color schemes from wallpapers. %prep %autosetup -n materialyoucolor-%{version} -p1 %build # kde-material-you-colors 2.x requires the C++ QuantizeCelebi extension, # so build it via pybind11 instead of the pure-Python flavor. %pyproject_wheel %install %pyproject_install %files %license LICENSE %{python3_sitearch}/materialyoucolor/ %{python3_sitearch}/materialyoucolor-%{version}*.dist-info/ %changelog * Sat Oct 10 2026 Maomaokuxs - 3.0.4-5 - Build the C++ QuantizeCelebi extension (kde-material-you-colors 2.x requires it) * Wed Sep 23 2026 Maomaokuxs - 3.0.4-1 - Initial package (self-containment for kde-material-you-colors)