2020-04-05 21:38:17 +09:00
|
|
|
%define oname sphinxcontrib-log-cabinet
|
|
|
|
|
2020-08-25 01:44:23 +00:00
|
|
|
Summary: Organize changelogs generated by versionadded etc
|
2023-10-26 22:00:23 +00:00
|
|
|
Name: python-%{oname}
|
2020-04-05 21:38:17 +09:00
|
|
|
Version: 1.0.1
|
2020-04-16 00:12:48 +03:00
|
|
|
Release: 2
|
2023-10-26 22:00:23 +00:00
|
|
|
URL: https://github.com/davidism/sphinxcontrib-log-cabinet
|
2020-04-05 21:38:17 +09:00
|
|
|
Source0: https://files.pythonhosted.org/packages/75/26/0687391e10c605a4d0c7ebe118c57c51ecc687128bcdae5803d9b96def81/sphinxcontrib-log-cabinet-1.0.1.tar.gz
|
|
|
|
License: BSD
|
|
|
|
Group: Development/Python
|
|
|
|
BuildArch: noarch
|
2023-10-26 22:00:23 +00:00
|
|
|
BuildRequires: pkgconfig(python)
|
2020-04-05 21:38:17 +09:00
|
|
|
BuildRequires: pythonegg(setuptools)
|
2023-10-26 22:00:23 +00:00
|
|
|
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
|
2020-04-05 21:38:17 +09:00
|
|
|
|
|
|
|
%description
|
|
|
|
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.
|
|
|
|
|
|
|
|
#==============================================================================
|
2023-10-26 22:00:23 +00:00
|
|
|
|
|
|
|
%package -n python3-%{oname}
|
2020-08-25 01:44:23 +00:00
|
|
|
Summary: Organize changelogs generated by versionadded etc
|
2023-10-26 22:00:23 +00:00
|
|
|
Group: Development/Python
|
|
|
|
BuildRequires: pkgconfig(python3)
|
|
|
|
BuildRequires: python3egg(setuptools)
|
2020-04-05 21:38:17 +09:00
|
|
|
|
2023-10-26 22:00:23 +00:00
|
|
|
%description -n python3-%{oname}
|
2020-04-05 21:38:17 +09:00
|
|
|
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.
|
|
|
|
|
2023-10-26 22:00:23 +00:00
|
|
|
%files -n python3-%{oname}
|
|
|
|
%doc python3/CHANGES.rst python3/LICENSE.rst python3/README.rst
|
|
|
|
%{python3_sitelib}/sphinxcontrib/*
|
|
|
|
%{python3_sitelib}/*.egg-info/*
|
|
|
|
%{python3_sitelib}/sphinxcontrib_log_cabinet-%{version}*.pth
|
2020-04-05 21:38:17 +09:00
|
|
|
|
|
|
|
#==============================================================================
|
|
|
|
|
2023-10-26 22:00:23 +00:00
|
|
|
%package -n python38-%{oname}
|
2020-08-25 01:44:23 +00:00
|
|
|
Summary: Organize changelogs generated by versionadded etc
|
2023-10-26 22:00:23 +00:00
|
|
|
Group: Development/Python
|
2023-10-26 22:19:30 +00:00
|
|
|
Requires: python38
|
2020-04-05 21:38:17 +09:00
|
|
|
|
2023-10-26 22:00:23 +00:00
|
|
|
%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,.
|
2020-04-05 21:38:17 +09:00
|
|
|
older versions will be collapsed by default.
|
|
|
|
|
2023-10-26 22:00:23 +00:00
|
|
|
%files -n python38-%{oname}
|
2020-04-05 22:20:17 +09:00
|
|
|
%doc python3/CHANGES.rst python3/LICENSE.rst python3/README.rst
|
2023-10-26 22:00:23 +00:00
|
|
|
%{python38_sitelib}/sphinxcontrib/*
|
|
|
|
%{python38_sitelib}/*.egg-info/*
|
|
|
|
%{python38_sitelib}/sphinxcontrib_log_cabinet-%{version}*.pth
|
2020-04-05 21:38:17 +09:00
|
|
|
|
|
|
|
#==============================================================================
|
|
|
|
|
2023-10-26 22:00:23 +00:00
|
|
|
|
2020-04-05 21:38:17 +09:00
|
|
|
%prep
|
2023-10-26 22:00:23 +00:00
|
|
|
%setup -qc -n %{oname}-%{version}
|
|
|
|
mv %{oname}-%{version} python2
|
2020-04-05 21:38:17 +09:00
|
|
|
cp -r python2 python3
|
|
|
|
|
|
|
|
%build
|
|
|
|
pushd python2
|
2023-10-26 22:00:23 +00:00
|
|
|
#py_build
|
|
|
|
#python2 setup.py build
|
2020-04-05 21:38:17 +09:00
|
|
|
popd
|
|
|
|
|
|
|
|
pushd python3
|
|
|
|
%py3_build
|
2023-10-26 22:00:23 +00:00
|
|
|
%py38_build
|
2020-04-05 21:38:17 +09:00
|
|
|
popd
|
|
|
|
|
|
|
|
%install
|
|
|
|
pushd python3
|
|
|
|
%py3_install
|
2023-10-26 22:00:23 +00:00
|
|
|
%py38_install
|
2020-04-05 21:38:17 +09:00
|
|
|
popd
|
|
|
|
|
|
|
|
pushd python2
|
2023-10-26 22:00:23 +00:00
|
|
|
#py_install
|
2020-04-05 21:38:17 +09:00
|
|
|
popd
|