[packages/python-zope.exceptions] - package apidocs

qboosh qboosh at pld-linux.org
Sun Dec 29 19:23:56 CET 2019


commit 5a397dbbdcd118e47e3f989a2e41b74a1f602222
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Dec 29 19:24:48 2019 +0100

    - package apidocs

 python-zope.exceptions.spec | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/python-zope.exceptions.spec b/python-zope.exceptions.spec
index 56fd481..5efcc3c 100644
--- a/python-zope.exceptions.spec
+++ b/python-zope.exceptions.spec
@@ -71,6 +71,17 @@ Ten pakiet zawiera wyjątki oraz implementacje wyjątków, mających na
 tyle ogólne zastosowanie, że nie należą do żadnego z pakietów Zope
 specyficznych dla aplikacji.
 
+%package apidocs
+Summary:	API documentation for Python zope.exceptions module
+Summary(pl.UTF-8):	Dokumentacja API modułu Pythona zope.exceptions
+Group:		Documentation
+
+%description apidocs
+API documentation for Python zope.exceptions module.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API modułu Pythona zope.exceptions.
+
 %prep
 %setup -q -n zope.exceptions-%{version}
 
@@ -93,7 +104,7 @@ specyficznych dla aplikacji.
 
 %if %{with doc}
 %{__make} -C docs html \
-	SPHINXBUILD=sphinx-build-2
+	SPHINXBUILD=sphinx-build
 %endif
 
 %install
@@ -130,3 +141,9 @@ rm -rf $RPM_BUILD_ROOT
 %{py3_sitedir}/zope.exceptions-%{version}-py*.egg-info
 %{py3_sitedir}/zope.exceptions-%{version}-py*-nspkg.pth
 %endif
+
+%if %{with doc}
+%defattr(644,root,root,755)
+%files apidocs
+%doc docs/_build/html/{_static,*.html,*.js}
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-zope.exceptions.git/commitdiff/5a397dbbdcd118e47e3f989a2e41b74a1f602222



More information about the pld-cvs-commit mailing list