Package init
This commit is contained in:
parent
63da97d856
commit
01ad2e7018
48
python-sphinxcontrib-log-cabinet.spec
Normal file
48
python-sphinxcontrib-log-cabinet.spec
Normal file
@ -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 <huanghaitao8@huawei.com> - 1.0.1-1
|
||||||
|
- Package init
|
||||||
BIN
sphinxcontrib-log-cabinet-1.0.1.tar.gz
Normal file
BIN
sphinxcontrib-log-cabinet-1.0.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user