/[packages]/cauldron/python-repoze-sphinx-autointerface/current/SPECS/python-repoze-sphinx-autointerface.spec
ViewVC logotype

Contents of /cauldron/python-repoze-sphinx-autointerface/current/SPECS/python-repoze-sphinx-autointerface.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2020465 - (show annotations) (download)
Wed Dec 20 20:40:27 2023 UTC (3 months, 3 weeks ago) by tv
File size: 1483 byte(s)
Rebuild for python 3.12
1 %global srcname repoze.sphinx.autointerface
2 %global pypi_name %(echo %{srcname} | tr . -)
3
4 Name: python-%{pypi_name}
5 Version: 1.0.0
6 Release: %mkrel 2
7 Group: Development/Python
8 Summary: Auto-generate Sphinx API docs from Zope interfaces
9 License: BSD
10 URL: https://github.com/repoze/repoze.sphinx.autointerface
11 Source0: %{pypi_source}
12 BuildArch: noarch
13 BuildRequires: pyproject-rpm-macros
14 BuildRequires: pkgconfig(python3)
15
16 %description
17 This package defines an extension for the Sphinx documentation system.
18 The extension allows generation of API documentation by introspection of
19 zope.interface instances in code.
20
21 %package -n python3-%{pypi_name}
22 Summary: Auto-generate Sphinx API docs from Zope interfaces
23 %{?python_provide:%python_provide python3-%{pypi_name}}
24 %{?python_provide:%python_provide python3-%{srcname}}
25
26 %description -n python3-%{pypi_name}
27 This package defines an extension for the Sphinx documentation system.
28 The extension allows generation of API documentation by introspection of
29 zope.interface instances in code.
30
31 %prep
32 %autosetup -p1 -n %{srcname}-%{version}
33
34 %generate_buildrequires
35 %pyproject_buildrequires
36
37 %build
38 %pyproject_wheel
39
40 %install
41 %pyproject_install
42 %pyproject_save_files repoze
43
44 # not needed
45 rm -rf %{buildroot}%{python3_sitelib}/*-nspkg.pth
46
47 %files -n python3-%{pypi_name} -f %{pyproject_files}
48 %doc CHANGES.rst CONTRIBUTORS.txt README.rst
49 %license COPYRIGHT.txt LICENSE.txt
50

  ViewVC Help
Powered by ViewVC 1.1.30