mirror of
https://abf.rosa.ru/djam/python-sphinxcontrib-log-cabinet.git
synced 2025-02-24 00:12:52 +00:00
1.0.1
This commit is contained in:
parent
937e5866a0
commit
9901ef7167
1 changed files with 40 additions and 28 deletions
|
@ -1,16 +1,24 @@
|
||||||
%define oname sphinxcontrib-log-cabinet
|
%define oname sphinxcontrib-log-cabinet
|
||||||
|
|
||||||
Summary: Organize changelogs generated by versionadded etc
|
Summary: Organize changelogs generated by versionadded etc
|
||||||
Name: python-%oname
|
Name: python-%{oname}
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 2
|
Release: 2
|
||||||
Url: https://github.com/davidism/sphinxcontrib-log-cabinet
|
URL: https://github.com/davidism/sphinxcontrib-log-cabinet
|
||||||
Source0: https://files.pythonhosted.org/packages/75/26/0687391e10c605a4d0c7ebe118c57c51ecc687128bcdae5803d9b96def81/sphinxcontrib-log-cabinet-1.0.1.tar.gz
|
Source0: https://files.pythonhosted.org/packages/75/26/0687391e10c605a4d0c7ebe118c57c51ecc687128bcdae5803d9b96def81/sphinxcontrib-log-cabinet-1.0.1.tar.gz
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Development/Python
|
Group: Development/Python
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: %python2-devel
|
BuildRequires: pkgconfig(python)
|
||||||
BuildRequires: pythonegg(setuptools)
|
BuildRequires: pythonegg(setuptools)
|
||||||
|
BuildRequires: python-pkg-resources
|
||||||
|
BuildRequires: python3-pkg-resources
|
||||||
|
BuildRequires: python38-pkg-resources
|
||||||
|
#BuildRequires: python-sphinx
|
||||||
|
#BuildRequires: python3-sphinx
|
||||||
|
#BuildRequires: python38-sphinx
|
||||||
|
BuildRequires: python38-devel
|
||||||
|
BuildRequires: python38-setuptools
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Organize changelogs generated by versionadded, versionchanged, deprecated
|
Organize changelogs generated by versionadded, versionchanged, deprecated
|
||||||
|
@ -18,36 +26,19 @@ directives. The log will be sorted by newest to oldest version. For HTML docs,
|
||||||
older versions will be collapsed by default.
|
older versions will be collapsed by default.
|
||||||
|
|
||||||
#==============================================================================
|
#==============================================================================
|
||||||
%package -n %python2-%oname
|
|
||||||
%py2_migration_meta %python2-%oname
|
|
||||||
Summary: Organize changelogs generated by versionadded etc
|
|
||||||
Group: Development/Python
|
|
||||||
|
|
||||||
%description -n %python2-%oname
|
%package -n python3-%{oname}
|
||||||
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.
|
|
||||||
|
|
||||||
%files -n %python2-%oname
|
|
||||||
%doc python2/CHANGES.rst python2/LICENSE.rst python2/README.rst
|
|
||||||
%{python2_sitelib}/sphinxcontrib/*
|
|
||||||
%{python2_sitelib}/*.egg-info/*
|
|
||||||
%{python2_sitelib}/sphinxcontrib_log_cabinet-%{version}*.pth
|
|
||||||
|
|
||||||
#==============================================================================
|
|
||||||
|
|
||||||
%package -n python3-%oname
|
|
||||||
Summary: Organize changelogs generated by versionadded etc
|
Summary: Organize changelogs generated by versionadded etc
|
||||||
Group: Development/Python
|
Group: Development/Python
|
||||||
BuildRequires: python3-devel
|
BuildRequires: pkgconfig(python3)
|
||||||
BuildRequires: python3egg(setuptools)
|
BuildRequires: python3egg(setuptools)
|
||||||
|
|
||||||
%description -n python3-%oname
|
%description -n python3-%{oname}
|
||||||
Organize changelogs generated by versionadded, versionchanged, deprecated
|
Organize changelogs generated by versionadded, versionchanged, deprecated
|
||||||
directives. The log will be sorted by newest to oldest version. For HTML docs,
|
directives. The log will be sorted by newest to oldest version. For HTML docs,
|
||||||
older versions will be collapsed by default.
|
older versions will be collapsed by default.
|
||||||
|
|
||||||
%files -n python3-%oname
|
%files -n python3-%{oname}
|
||||||
%doc python3/CHANGES.rst python3/LICENSE.rst python3/README.rst
|
%doc python3/CHANGES.rst python3/LICENSE.rst python3/README.rst
|
||||||
%{python3_sitelib}/sphinxcontrib/*
|
%{python3_sitelib}/sphinxcontrib/*
|
||||||
%{python3_sitelib}/*.egg-info/*
|
%{python3_sitelib}/*.egg-info/*
|
||||||
|
@ -55,25 +46,46 @@ older versions will be collapsed by default.
|
||||||
|
|
||||||
#==============================================================================
|
#==============================================================================
|
||||||
|
|
||||||
|
%package -n python38-%{oname}
|
||||||
|
Summary: Organize changelogs generated by versionadded etc
|
||||||
|
Group: Development/Python
|
||||||
|
|
||||||
|
%description -n python38-%{oname}
|
||||||
|
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.
|
||||||
|
|
||||||
|
%files -n python38-%{oname}
|
||||||
|
%doc python3/CHANGES.rst python3/LICENSE.rst python3/README.rst
|
||||||
|
%{python38_sitelib}/sphinxcontrib/*
|
||||||
|
%{python38_sitelib}/*.egg-info/*
|
||||||
|
%{python38_sitelib}/sphinxcontrib_log_cabinet-%{version}*.pth
|
||||||
|
|
||||||
|
#==============================================================================
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qc -n %oname-%{version}
|
%setup -qc -n %{oname}-%{version}
|
||||||
mv %oname-%{version} python2
|
mv %{oname}-%{version} python2
|
||||||
cp -r python2 python3
|
cp -r python2 python3
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd python2
|
pushd python2
|
||||||
%py2_build
|
#py_build
|
||||||
|
#python2 setup.py build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd python3
|
pushd python3
|
||||||
%py3_build
|
%py3_build
|
||||||
|
%py38_build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pushd python3
|
pushd python3
|
||||||
%py3_install
|
%py3_install
|
||||||
|
%py38_install
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd python2
|
pushd python2
|
||||||
%py2_install
|
#py_install
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Add table
Reference in a new issue