mirror of
https://abf.rosa.ru/djam/python-sphinxcontrib-log-cabinet.git
synced 2025-02-23 16:02:51 +00:00
73 lines
2 KiB
RPMSpec
73 lines
2 KiB
RPMSpec
![]() |
%define oname sphinxcontrib-log-cabinet
|
||
|
|
||
|
Summary: Organize changelogs generated by versionadded etc.
|
||
|
Name: python-%oname
|
||
|
Version: 1.0.1
|
||
|
Release: 1
|
||
|
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
|
||
|
License: BSD
|
||
|
Group: Development/Python
|
||
|
BuildArch: noarch
|
||
|
BuildRequires: python2-devel
|
||
|
BuildRequires: pythonegg(setuptools)
|
||
|
|
||
|
%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.
|
||
|
|
||
|
#==============================================================================
|
||
|
%package -n python2-%oname
|
||
|
Summary: Organize changelogs generated by versionadded etc.
|
||
|
|
||
|
%description -n python2-%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 Changelog LICENSE README.md
|
||
|
%{python2_sitelib}/%{oname}*
|
||
|
|
||
|
#==============================================================================
|
||
|
|
||
|
%package -n python3-%oname
|
||
|
Summary: Organize changelogs generated by versionadded etc.
|
||
|
BuildRequires: python3-devel
|
||
|
BuildRequires: python3egg(setuptools)
|
||
|
|
||
|
%description -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 python3-%oname
|
||
|
%doc Changelog LICENSE README.md
|
||
|
%{python3_sitelib}/%{oname}*
|
||
|
|
||
|
#==============================================================================
|
||
|
|
||
|
%prep
|
||
|
%setup -qc -n %oname-%{version}
|
||
|
mv %oname-%{version} python2
|
||
|
cp -r python2 python3
|
||
|
|
||
|
%build
|
||
|
pushd python2
|
||
|
%py2_build
|
||
|
popd
|
||
|
|
||
|
pushd python3
|
||
|
%py3_build
|
||
|
popd
|
||
|
|
||
|
%install
|
||
|
pushd python3
|
||
|
%py3_install
|
||
|
popd
|
||
|
|
||
|
pushd python2
|
||
|
%py2_install
|
||
|
popd
|