2024-09-26 19:44:30 +02:00
|
|
|
#
|
|
|
|
# spec file for package python-audible
|
|
|
|
#
|
2024-09-27 12:51:00 +02:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2024-09-26 19:44:30 +02:00
|
|
|
#
|
|
|
|
# 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 https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2024-09-27 12:51:00 +02:00
|
|
|
%{?sle15_python_module_pythons}
|
2024-09-26 19:44:30 +02:00
|
|
|
Name: python-audible
|
|
|
|
Version: 0.10.0
|
|
|
|
Release: 0
|
|
|
|
Summary: A(Sync) Interface for internal Audible API
|
2024-09-27 12:51:00 +02:00
|
|
|
License: AGPL-3.0-only
|
2024-09-26 19:44:30 +02:00
|
|
|
URL: https://github.com/mkb79/audible
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/a/audible/audible-%{version}.tar.gz
|
2024-11-27 10:08:10 +01:00
|
|
|
# PATCH-FIX-OPENSUSE remove-python-restriction.patch
|
|
|
|
Patch1: remove-python-restriction.patch
|
2024-09-27 12:51:00 +02:00
|
|
|
BuildRequires: %{python_module Pillow}
|
2024-09-26 19:44:30 +02:00
|
|
|
BuildRequires: %{python_module beautifulsoup4}
|
|
|
|
BuildRequires: %{python_module httpx >= 0.20.0}
|
|
|
|
BuildRequires: %{python_module pbkdf2}
|
2024-09-27 12:51:00 +02:00
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module poetry-core}
|
2024-09-26 19:44:30 +02:00
|
|
|
BuildRequires: %{python_module pyaes}
|
|
|
|
BuildRequires: %{python_module rsa}
|
2024-09-27 12:51:00 +02:00
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module wheel}
|
2024-09-26 19:44:30 +02:00
|
|
|
BuildRequires: fdupes
|
2024-09-27 12:51:00 +02:00
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
Requires: python-Pillow
|
2024-09-26 19:44:30 +02:00
|
|
|
Requires: python-beautifulsoup4
|
|
|
|
Requires: python-httpx >= 0.20.0
|
|
|
|
Requires: python-pbkdf2
|
|
|
|
Requires: python-pyaes
|
|
|
|
Requires: python-rsa
|
|
|
|
Suggests: python-sphinx
|
|
|
|
Suggests: python-sphinx_rtd_theme
|
|
|
|
Suggests: python-sphinxcontrib-httpdomain
|
|
|
|
Suggests: python-sphinx-autodoc-typehints
|
|
|
|
BuildArch: noarch
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
A(Sync) Interface for internal Audible API written in pure Python.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n audible-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
%install
|
|
|
|
%pyproject_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%doc README.md
|
|
|
|
%license LICENSE
|
2024-09-27 12:51:00 +02:00
|
|
|
%{python_sitelib}/audible
|
|
|
|
%{python_sitelib}/audible-%{version}*-info
|
2024-09-26 19:44:30 +02:00
|
|
|
|
|
|
|
%changelog
|