File python-music_assistant_frontend.spec of Package python-music_assistant_frontend
#
# spec file for package python-aiorun
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define skip_python36 1
%define skip_python38 1
%define skip_python39 1
%define skip_python310 1
%define skip_python311 1
Name: python-music_assistant_frontend
Version: 2.9.15
Release: 0
License: Apache-2.0
Summary: Music Assistant Web Frontend
Group: Development/Languages/Python
Url: https://github.com/music-assistant/frontend
Source: frontend-%{version}.tar.xz
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: yarn
BuildRequires: python-rpm-macros
BuildRequires: %{python_module aiohttp >= 3.10}
BuildRequires: %{python_module mashumaro >= 3.13}
BuildRequires: %{python_module orjson >= 3.10.7}
Provides: python-music-assistant-frontend = %version
Requires: python-aiohttp >= 3.10
Requires: python-mashumaro >= 3.13
Requires: python-orjson >= 3.10.7
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
%description
Music Assistant Web Frontend
%prep
%setup -q -n frontend-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%license LICENSE
%doc README.md CHANGELOG.md
%{python_sitelib}/*
%changelog