1 Summary: Tool for generating API documentation for Python modules
2 Summary(pl.UTF-8): Narzędzie do generowania dokumentacji API modułów Pythona
7 Group: Development/Languages/Python
8 Source0: http://downloads.sourceforge.net/epydoc/%{name}-%{version}.zip
9 # Source0-md5: 43223b2139c59ec60f064564bea82bf4
10 Patch0: %{name}-rst.patch
11 Patch1: %{name}-__package__.patch
12 Patch2: %{name}-cons_fields_stripping.patch
13 URL: http://epydoc.sourceforge.net/
14 BuildRequires: rpmbuild(macros) >= 1.710
16 BuildRequires: python-modules >= 2.2.1
17 BuildRequires: rpm-pythonprov
19 %pyrequires_eq python-modules
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 epydoc is a tool for generating API documentation for Python modules,
25 based on their docstrings. For an example of epydoc's output, see the
26 API documentation for epydoc itself (html, pdf). A lightweight markup
27 language called epytext can be used to format docstrings and to add
28 information about specific fields, such as parameters and instance
29 variables. epydoc also understands docstrings written in
30 ReStructuredText, Javadoc and plaintext.
32 %description -l pl.UTF-8
33 epydoc jest narzędziem do generowania dokumentacji API modułów Pythona
34 w oparciu o ich wewnętrzne opisy (docstrings). Jako przykład wyniku
35 jego działania można obejrzeć jego własną dokumentację (html, pdf).
36 Dostępny jest prosty język znaczników o nazwie epytext, który można
37 wykorzystać do formatowania wewnętrznych opisów oraz do dodawania
38 informacji o konkretnych polach, takich jak parametry i zmienne
39 instancji. epydoc rozumie również wewnętrzne opisy stworzone w
40 formatach ReStructuredText i Javadoc oraz w postaci czystego tekstu.
43 Summary: GUI for epydoc
44 Summary(pl.UTF-8): Interfejs graficzny dla epydoc
45 Group: Development/Languages/Python
46 Requires: %{name} = %{version}-%{release}
47 Requires: python-tkinter >= 2.2.1
50 epydoc is a tool for generating API documentation for Python modules,
51 based on their docstrings. For an example of epydoc's output, see the
52 API documentation for epydoc itself (html, pdf). A lightweight markup
53 language called epytext can be used to format docstrings and to add
54 information about specific fields, such as parameters and instance
55 variables. epydoc also understands docstrings written in
56 ReStructuredText, Javadoc and plaintext.
58 This package contains GUI program for epydoc.
60 %description gui -l pl.UTF-8
61 epydoc jest narzędziem do generowania dokumentacji API modułów Pythona
62 w oparciu o ich wewnętrzne opisy (docstrings). Jako przykład wyniku
63 jego działania można obejrzeć jego własną dokumentację (html, pdf).
64 Dostępny jest prosty język znaczników o nazwie epytext, który można
65 wykorzystać do formatowania wewnętrznych opisów oraz do dodawania
66 informacji o konkretnych polach, takich jak parametry i zmienne
67 instancji. epydoc rozumie również wewnętrzne opisy stworzone w
68 formatach ReStructuredText i Javadoc oraz w postaci czystego tekstu.
70 Ten pakiet zawiera graficzny interfejs użytkownika (GUI) dla epydoc.
82 rm -rf $RPM_BUILD_ROOT
83 install -d $RPM_BUILD_ROOT%{_mandir}/man1
87 install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
92 rm -rf $RPM_BUILD_ROOT
95 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_bindir}/apirst2html.py
98 %attr(755,root,root) %{_bindir}/epydoc
99 %{_mandir}/man1/epydoc.1*
100 %{py_sitescriptdir}/epydoc
101 %exclude %{py_sitescriptdir}/epydoc/gui.py[co]
102 %{py_sitescriptdir}/epydoc-%{version}-py*.egg-info
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_bindir}/epydocgui
107 %{py_sitescriptdir}/epydoc/gui.py[co]
108 %{_mandir}/man1/epydocgui.1*