]> git.pld-linux.org Git - packages/epydoc.git/blame - epydoc.spec
- tabs in preamble
[packages/epydoc.git] / epydoc.spec
CommitLineData
14c391a4 1Summary: Tool for generating API documentation for Python modules
2b4efed8 2Summary(pl.UTF-8): Narzędzie do generowania dokumentacji API modułów Pythona
14c391a4 3Name: epydoc
eb50c78d 4Version: 2.1
850e4258 5Release: 4
14c391a4 6License: MIT
7Group: Development/Languages/Python
ee29acba 8Source0: http://dl.sourceforge.net/epydoc/%{name}-%{version}.tar.gz
eb50c78d 9# Source0-md5: 94c494426c47496ee4d1ed26b580a5a7
e04228cb 10Patch0: %{name}-failed_identifiers.patch
14c391a4 11URL: http://epydoc.sourceforge.net/
12BuildRequires: python-modules >= 2.2.1
14c391a4 13%pyrequires_eq python-modules
14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
66c4606a 18epydoc is a tool for generating API documentation for Python modules,
19based on their docstrings. For an example of epydoc's output, see the
20API documentation for epydoc itself (html, pdf). A lightweight markup
21language called epytext can be used to format docstrings and to add
22information about specific fields, such as parameters and instance
23variables. epydoc also understands docstrings written in
24ReStructuredText, Javadoc and plaintext.
25
d406f402
JR
26%description -l pl.UTF-8
27epydoc jest narzędziem do generowania dokumentacji API modułów Pythona
28w oparciu o ich wewnętrzne opisy (docstrings). Jako przykład wyniku
29jego działania można obejrzeć jego własną dokumentację (html, pdf).
30epytext wywoływany przez prosty język znaczników może służyć do
31formatowania wewnętrznych opisów oraz do dodawania informacji o
66c4606a 32konkretnych polach, takich jak parametry i zmienne instancji. epydoc
d406f402 33rozumie również wewnętrzne opisy stworzone w ReStructuredText, Javadoc
66c4606a 34i w postaci czystego tekstu.
14c391a4 35
d628eb98 36%package gui
66c4606a 37Summary: GUI for epydoc
2b4efed8 38Summary(pl.UTF-8): Interfejs graficzny dla epydoc
d628eb98 39Group: Development/Languages/Python
63e879ff 40Requires: %{name} = %{version}-%{release}
829a0e55 41%pyrequires_eq python-tkinter
d628eb98 42
43%description gui
66c4606a 44epydoc is a tool for generating API documentation for Python modules,
45based on their docstrings. For an example of epydoc's output, see the
46API documentation for epydoc itself (html, pdf). A lightweight markup
47language called epytext can be used to format docstrings and to add
48information about specific fields, such as parameters and instance
49variables. epydoc also understands docstrings written in
50ReStructuredText, Javadoc and plaintext.
51
52This package contains GUI program for epydoc.
53
d406f402
JR
54%description gui -l pl.UTF-8
55epydoc jest narzędziem do generowania dokumentacji API modułów Pythona
56w oparciu o ich wewnętrzne opisy (docstrings). Jako przykład wyniku
57jego działania można obejrzeć jego własną dokumentację (html, pdf).
58epytext wywoływany przez prosty język znaczników może służyć do
59formatowania wewnętrznych opisów oraz do dodawania informacji o
66c4606a 60konkretnych polach, takich jak parametry i zmienne instancji. epydoc
d406f402 61rozumie również wewnętrzne opisy stworzone w ReStructuredText, Javadoc
66c4606a 62i w postaci czystego tekstu.
63
d406f402 64Ten pakiet zawiera graficzny interfejs użytkownika (GUI) dla epydoc.
d628eb98 65
14c391a4 66%prep
67%setup -q
e04228cb 68%patch0 -p1
14c391a4 69
70%build
71python setup.py build
72
73%install
74rm -rf $RPM_BUILD_ROOT
d628eb98 75install -d $RPM_BUILD_ROOT%{_mandir}/man1
14c391a4 76
77python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
78
d628eb98 79install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
80
eb50c78d
JK
81find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*.py" | xargs rm
82
14c391a4 83%clean
84rm -rf $RPM_BUILD_ROOT
85
86%files
87%defattr(644,root,root,755)
88%doc doc/*
d628eb98 89%attr(755,root,root) %{_bindir}/epydoc
90
eb50c78d
JK
91%dir %{py_sitescriptdir}/epydoc
92%{py_sitescriptdir}/epydoc/*.py[co]
93%dir %{py_sitescriptdir}/epydoc/test
94%{py_sitescriptdir}/epydoc/test/*.py[co]
95%exclude %{py_sitescriptdir}/epydoc/gui.py[co]
d628eb98 96
eb50c78d
JK
97%dir %{py_sitescriptdir}/epydoc/markup
98%{py_sitescriptdir}/epydoc/markup/*.py[co]
d628eb98 99
100%{_mandir}/man1/epydoc.*
101
102%files gui
103%defattr(644,root,root,755)
104%attr(755,root,root) %{_bindir}/epydocgui
eb50c78d 105%{py_sitescriptdir}/epydoc/gui.py[co]
d628eb98 106%{_mandir}/man1/epydocgui.*
This page took 0.065804 seconds and 4 git commands to generate.