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