mirror of
https://abf.rosa.ru/djam/python-sphinx-issues.git
synced 2025-02-24 05:52:55 +00:00
74 lines
2.2 KiB
Python
74 lines
2.2 KiB
Python
%define oname sphinx-issues
|
||
|
||
Summary: A Sphinx extension for linking to your project’s issue tracker.
|
||
Name: python-%oname
|
||
Version: 1.2.0
|
||
Release: 1
|
||
Url: https://github.com/sloria/sphinx-issues
|
||
Source0: https://files.pythonhosted.org/packages/ae/0a/933847eed21964b5ab13836e90ea445a95915eaf222d45489c84e18afa07/sphinx-issues-1.2.0.tar.gz
|
||
License: BSD
|
||
Group: Development/Python
|
||
BuildArch: noarch
|
||
BuildRequires: python2-devel
|
||
BuildRequires: pythonegg(setuptools)
|
||
|
||
%description
|
||
A Sphinx extension for linking to your project’s issue tracker. Includes roles
|
||
for linking to issues, pull requests, user profiles, with built-in support for
|
||
GitHub (though this works with other services).
|
||
|
||
#==============================================================================
|
||
%package -n python2-%oname
|
||
Summary: A Sphinx extension for linking to your project’s issue tracker.
|
||
|
||
%description -n python2-%oname
|
||
A Sphinx extension for linking to your project’s issue tracker. Includes roles
|
||
for linking to issues, pull requests, user profiles, with built-in support for
|
||
GitHub (though this works with other services).
|
||
|
||
%files -n python2-%oname
|
||
%doc python2/CHANGES.rst python2/LICENSE.rst python2/README.rst
|
||
%{python2_sitelib}/%{oname}/*
|
||
%{python2_sitelib}/*.egg-info/*
|
||
|
||
#==============================================================================
|
||
|
||
%package -n python3-%oname
|
||
Summary: A Sphinx extension for linking to your project’s issue tracker.
|
||
BuildRequires: python3-devel
|
||
BuildRequires: python3egg(setuptools)
|
||
|
||
%description -n python3-%oname
|
||
A Sphinx extension for linking to your project’s issue tracker. Includes roles
|
||
for linking to issues, pull requests, user profiles, with built-in support for
|
||
GitHub (though this works with other services).
|
||
|
||
%files -n python3-%oname
|
||
%doc python3/CHANGES.rst python3/LICENSE.rst python3/README.rst
|
||
%{python3_sitelib}/%{oname}/*
|
||
%{python3_sitelib}/*.egg-info/*
|
||
|
||
#==============================================================================
|
||
|
||
%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
|