%global pkgname repoze.sphinx.autointerface %global srcname %(tr . - <<< %{pkgname}) Name: python-%{srcname} Version: 0.8 Release: 18%{?dist} Summary: Auto-generate Sphinx API docs from Zope interfaces License: BSD URL: https://github.com/repoze/%{pkgname} Source0: https://github.com/repoze/%{pkgname}/archive/%{version}/%{pkgname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: %{py3_dist docutils} BuildRequires: %{py3_dist setuptools} BuildRequires: %{py3_dist sphinx} BuildRequires: %{py3_dist zope.interface} %global common_desc %{expand: 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.} %description %{common_desc} %package -n python3-%{srcname} Summary: Auto-generate Sphinx API docs from Zope interfaces %description -n python3-%{srcname} %{common_desc} %prep %autosetup -n %{pkgname}-%{version} %build %py3_build rst2html --no-datestamp CHANGES.rst CHANGES.html rst2html --no-datestamp README.rst README.html %install %py3_install %files -n python3-%{srcname} %doc CHANGES.html CONTRIBUTORS.txt README.html %license COPYRIGHT.txt LICENSE.txt %{python3_sitelib}/repoze* %changelog * Wed Jan 27 2021 Fedora Release Engineering - 0.8-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.8-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.8-16 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.8-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.8-14 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.8-13 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.8-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.8-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Jan 09 2019 Miro Hrončok - 0.8-10 - Subpackage python2-repoze-sphinx-autointerface has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Jul 14 2018 Fedora Release Engineering - 0.8-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.8-8 - Rebuilt for Python 3.7 * Mon Feb 12 2018 Iryna Shcherbina - 0.8-7 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Fri Feb 09 2018 Fedora Release Engineering - 0.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.8-3 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.8-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Tue Mar 29 2016 Jerry James - 0.8-1 - New upstream version - Use the license macro * Thu Feb 04 2016 Fedora Release Engineering - 0.7.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Feb 2 2016 Jerry James - 0.7.1-5 - Comply with latest python packaging guidelines * Tue Nov 10 2015 Fedora Release Engineering - 0.7.1-5 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Thu Jun 18 2015 Fedora Release Engineering - 0.7.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Jun 3 2014 Jerry James - 0.7.1-3 - Do not use the py3dir macro; see https://fedorahosted.org/fpc/ticket/435 - Remove the %%clean script * Mon Jun 2 2014 Jerry James - 0.7.1-2 - Conditionalize the python3 package * Thu May 29 2014 Jerry James - 0.7.1-1 - Initial RPM (bz 1102858)