Group :: Development/Python3
RPM: python3-module-repoze.sphinx.autointerface
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define oname repoze.sphinx.autointerface
Name: python3-module-%oname
Version: 1.0.0
Release: alt1
Summary: Auto-generate Sphinx API docs from Zope interfaces (Python 3)
License: BSD
Group: Development/Python3
Url: https://github.com/repoze/repoze.sphinx.autointerface
#Source0-url: %__pypi_url %oname
# See https://github.com/repoze/repoze.sphinx.autointerface/pull/17/commits
# Source0-url: https://github.com/stevepiercy/repoze.sphinx.autointerface/archive/refs/heads/sphinx-40-compat.zip
Source0: %oname-%version.tar
BuildRequires(pre): rpm-build-intro >= 2.2.4
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
%py3_requires zope.interface sphinx jinja2.tests
Requires: python3-module-repoze.sphinx = %EVR
%description
This package defines an extension for the `Sphinx` documentation system.
The extension allows generation of API documentation by introspection of
`zope.interface` instances in code.
%package -n python3-module-repoze.sphinx
Summary: Core package for repoze.sphinx (Python 3)
Group: Development/Python3
%py3_provides repoze.sphinx
%py3_requires repoze
%description -n python3-module-repoze.sphinx
Core package for repoze.sphinx.
%prep
%setup -n %oname-%version
%build
%python3_build
%install
%python3_install
%if "%python3_sitelibdir_noarch" != "%python3_sitelibdir"
install -d %buildroot%python3_sitelibdir
mv %buildroot%python3_sitelibdir_noarch/* \
%buildroot%python3_sitelibdir/
%endif
touch %buildroot%python3_sitelibdir/repoze/sphinx/__init__.py
%files
%doc *.txt
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*.pth
%exclude %python3_sitelibdir/repoze/sphinx/__init__.*
%files -n python3-module-repoze.sphinx
%python3_sitelibdir/repoze/sphinx/__init__.*
%changelog
…
Todas as alterações você pod ver aqui
Name: python3-module-%oname
Version: 1.0.0
Release: alt1
Summary: Auto-generate Sphinx API docs from Zope interfaces (Python 3)
License: BSD
Group: Development/Python3
Url: https://github.com/repoze/repoze.sphinx.autointerface
#Source0-url: %__pypi_url %oname
# See https://github.com/repoze/repoze.sphinx.autointerface/pull/17/commits
# Source0-url: https://github.com/stevepiercy/repoze.sphinx.autointerface/archive/refs/heads/sphinx-40-compat.zip
Source0: %oname-%version.tar
BuildRequires(pre): rpm-build-intro >= 2.2.4
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
%py3_requires zope.interface sphinx jinja2.tests
Requires: python3-module-repoze.sphinx = %EVR
%description
This package defines an extension for the `Sphinx` documentation system.
The extension allows generation of API documentation by introspection of
`zope.interface` instances in code.
%package -n python3-module-repoze.sphinx
Summary: Core package for repoze.sphinx (Python 3)
Group: Development/Python3
%py3_provides repoze.sphinx
%py3_requires repoze
%description -n python3-module-repoze.sphinx
Core package for repoze.sphinx.
%prep
%setup -n %oname-%version
%build
%python3_build
%install
%python3_install
%if "%python3_sitelibdir_noarch" != "%python3_sitelibdir"
install -d %buildroot%python3_sitelibdir
mv %buildroot%python3_sitelibdir_noarch/* \
%buildroot%python3_sitelibdir/
%endif
touch %buildroot%python3_sitelibdir/repoze/sphinx/__init__.py
%files
%doc *.txt
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*.pth
%exclude %python3_sitelibdir/repoze/sphinx/__init__.*
%files -n python3-module-repoze.sphinx
%python3_sitelibdir/repoze/sphinx/__init__.*
%changelog
…
Todas as alterações você pod ver aqui