/[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 1729406 - (show annotations) (download)
Wed Jun 2 22:10:31 2021 UTC (11 months, 2 weeks ago) by kekepower
File size: 1826 byte(s)
- Update to release 0.8.1 git20200728

1 %global pkgname repoze.sphinx.autointerface
2 %global srcname %(echo %{pkgname} | tr . -)
3
4 %define gitdate 20200728
5 %define rel 1
6
7 Name: python-%{srcname}
8 Version: 0.8.1
9 Release: %mkrel %{?gitdate:-c git%{gitdate}} %rel
10 Group: Development/Python
11 Summary: Auto-generate Sphinx API docs from Zope interfaces
12
13 License: BSD
14 URL: https://github.com/repoze/repoze.sphinx.autointerface
15 %if %{gitdate}
16 Source0: https://github.com/repoze/repoze.sphinx.autointerface/archive/refs/heads/master.tar.gz#/%{name}-%{version}-git%{gitdate}.tar.gz
17 %else
18 Source0: https://github.com/repoze/%{pkgname}/archive/%{version}/%{pkgname}-%{version}.tar.gz
19 %endif
20 BuildArch: noarch
21
22 BuildRequires: pkgconfig(python3)
23 BuildRequires: python3dist(setuptools)
24 BuildRequires: python3dist(sphinx)
25 BuildRequires: python3dist(zope.interface)
26
27 %global common_desc \
28 This package defines an extension for the Sphinx documentation system. \
29 The extension allows generation of API documentation by introspection of \
30 zope.interface instances in code.
31
32 %description
33 %{common_desc}
34
35 %package -n python3-%{srcname}
36 Group: Development/Python
37 Summary: Auto-generate Sphinx API docs from Zope interfaces
38 Requires: python3dist(sphinx)
39 Requires: python3dist(zope.interface)
40
41 %{?python_provide:%python_provide python3-%{srcname}}
42
43 %description -n python3-%{srcname}
44 %{common_desc}
45
46 %prep
47 %setup -qn %{pkgname}-%{?!gitdate:%{version}}%{?gitdate:master}
48 %autopatch -p1
49
50 # drop bundled egg-info
51 rm -rf repoze.sphinx.autointerface.egg-info/
52
53 %build
54 %py3_build
55
56 %install
57 %py3_install
58
59 %files -n python3-%{srcname}
60 %doc CHANGES.rst CONTRIBUTORS.txt README.rst
61 %license COPYRIGHT.txt LICENSE.txt
62 %{python3_sitelib}/*
63

  ViewVC Help
Powered by ViewVC 1.1.28