54 lines
1.5 KiB
RPMSpec
54 lines
1.5 KiB
RPMSpec
%global _empty_manifest_terminate_build 0
|
|
|
|
Name: python-sphinxcontrib-github-alt
|
|
Version: 1.2
|
|
Release: 1
|
|
Summary: Link to GitHub issues, pull requests, commits and users from Sphinx docs.
|
|
|
|
License: BSD-2-Clause
|
|
URL: https://github.com/jupyter/sphinxcontrib_github_alt
|
|
Source: %{pypi_source sphinxcontrib_github_alt}
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-pytest
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-hatchling
|
|
BuildRequires: python3-flit-core
|
|
|
|
%global _description %{expand:
|
|
Link to GitHub issues, pull requests, commits and users from Sphinx docs.
|
|
To use this extension, add it to the extensions list in conf.py, and set
|
|
the variable github_project_url.Then use these roles in your documentation.}
|
|
|
|
|
|
%description %_description
|
|
|
|
%package -n python3-sphinxcontrib-github-alt
|
|
Summary: %{summary}
|
|
|
|
%description -n python3-sphinxcontrib-github-alt %_description
|
|
|
|
|
|
%prep
|
|
%autosetup -p1 -n sphinxcontrib_github_alt-%{version}
|
|
|
|
%build
|
|
%pyproject_build
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
%files -n python3-sphinxcontrib-github-alt
|
|
%doc README.rst
|
|
%license COPYING.md
|
|
%{python3_sitelib}/__pycache__/sphinxcontrib_github_alt.*
|
|
%{python3_sitelib}/sphinxcontrib_github_alt.py
|
|
%{python3_sitelib}/sphinxcontrib_github_alt*.dist-info/
|
|
|
|
%changelog
|
|
* Tue Jul 11 2023 Dongxing Wang <dxwangk@isoftstone.com> - 1.2-1
|
|
- Initial package
|