diff --git a/python-sphinxcontrib-log-cabinet.spec b/python-sphinxcontrib-log-cabinet.spec new file mode 100644 index 0000000..4b9dd6c --- /dev/null +++ b/python-sphinxcontrib-log-cabinet.spec @@ -0,0 +1,48 @@ +%global pypi_name sphinxcontrib-log-cabinet +Name: python-%{pypi_name} +Version: 1.0.1 +Release: 1 +Summary: Organize changelog directives in Sphinx docs +License: BSD +URL: https://github.com/davidism/sphinxcontrib-log-cabinet +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%global _description %{expand: +Organize changelogs generated by versionadded, versionchanged, +deprecated directives. The log will be sorted by newest to oldest +version. For HTML docs, older versions will be collapsed by default.} + +%description %_description + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} %_description + + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%license LICENSE.rst +%doc README.rst +%doc CHANGES.rst +%{python3_sitelib}/sphinxcontrib +%{python3_sitelib}/sphinxcontrib_log_cabinet-%{version}-py?.?.egg-info +%{python3_sitelib}/sphinxcontrib_log_cabinet-%{version}-py?.?-nspkg.pth + + +%changelog +* Fri Aug 20 2021 huanghaitao - 1.0.1-1 +- Package init diff --git a/sphinxcontrib-log-cabinet-1.0.1.tar.gz b/sphinxcontrib-log-cabinet-1.0.1.tar.gz new file mode 100644 index 0000000..8776fc3 Binary files /dev/null and b/sphinxcontrib-log-cabinet-1.0.1.tar.gz differ