51 lines
1.4 KiB
RPMSpec
51 lines
1.4 KiB
RPMSpec
%global pypi_name sphinxext-altair
|
|
%global source_name sphinxext_altair
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 0.2.0
|
|
Release: 1
|
|
Summary: sphinxext-altair: Sphinx extension for embedding Altair charts
|
|
|
|
License: BSD-1-Clause
|
|
URL: https://github.com/altair-viz/sphinxext-altair
|
|
Source0: https://files.pythonhosted.org/packages/ea/2c/41b5f3079481f4e49a9451be1a429fda3dec1e51786875e104ef3c95d836/sphinxext_altair-0.2.0.tar.gz
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-hatchling
|
|
BuildRequires: python3-maturin
|
|
|
|
%description
|
|
sphinxext-altair provides the directive altair-plot to insert live-rendered Altair plots within your Sphinx documentation
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: %{summary}
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
|
|
%description -n python3-%{pypi_name}
|
|
sphinxext-altair provides the directive altair-plot to insert live-rendered Altair plots within your Sphinx documentation
|
|
|
|
%prep
|
|
%autosetup -n %{source_name}-%{version}
|
|
|
|
%build
|
|
%pyproject_build
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
%files -n python3-%{pypi_name}
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{python3_sitelib}/%{source_name}*
|
|
|
|
|
|
%changelog
|
|
* Mon Aug 28 2023 luolu12 <luluoc@isoftstone.com> - 0.2.0-1
|
|
- Initial package.
|