51 lines
1.2 KiB
RPMSpec
51 lines
1.2 KiB
RPMSpec
|
|
%global _empty_manifest_terminate_build 0
|
||
|
|
%global pypi_name sphinx-inline-tabs
|
||
|
|
%global source_name sphinx_inline_tabs
|
||
|
|
|
||
|
|
Name: python-%{pypi_name}
|
||
|
|
Version: 2023.4.21
|
||
|
|
Release: 1
|
||
|
|
Summary: Add inline tabbed content to your Sphinx documentation.
|
||
|
|
|
||
|
|
License: MIT
|
||
|
|
URL: https://github.com/pradyunsg/sphinx-inline-tabs
|
||
|
|
Source0: %{url}/archive/%{version}/%{source_name}-%{version}.tar.gz
|
||
|
|
BuildArch: noarch
|
||
|
|
|
||
|
|
BuildRequires: python3-devel
|
||
|
|
BuildRequires: python3-setuptools
|
||
|
|
BuildRequires: python3-pip
|
||
|
|
BuildRequires: python3-wheel
|
||
|
|
BuildRequires: python3-hatchling
|
||
|
|
BuildRequires: python3-flit-core
|
||
|
|
|
||
|
|
%description
|
||
|
|
Add inline tabbed content to your Sphinx documentation.
|
||
|
|
|
||
|
|
%package -n python3-%{pypi_name}
|
||
|
|
Summary: %{summary}
|
||
|
|
|
||
|
|
%description -n python3-%{pypi_name}
|
||
|
|
Add inline tabbed content to your Sphinx documentation.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -p1 -n %{source_name}-%{version}
|
||
|
|
|
||
|
|
%build
|
||
|
|
%pyproject_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%pyproject_install
|
||
|
|
|
||
|
|
%files -n python3-%{pypi_name}
|
||
|
|
%doc README.md
|
||
|
|
%license LICENSE
|
||
|
|
%{python3_sitelib}/sphinx_inline_tabs*.dist-info/
|
||
|
|
%{python3_sitelib}/sphinx_inline_tabs
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Mon Jul 31 2023 zoujiancang<jczou@isoftstone.com> - 2023.4.21-1
|
||
|
|
- Initial package
|
||
|
|
|
||
|
|
|