1 Summary: Sphinx - Python documentation builder
2 Summary(pl.UTF-8): Sphinx - narzędzie do tworzenia dokumentacji dla Pythona
6 License: BSD (Sphinx itself, SmartyPants), PSF v2 (pgen2), MIT (ElementTree, JQuery)
7 Group: Development/Languages/Python
8 Source0: http://pypi.python.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
9 # Source0-md5: 4cdb86c7bb7fa2498ac12db844784769
10 URL: http://sphinx.pocoo.org/
11 BuildRequires: python-devel
12 BuildRequires: rpm-pythonprov
13 BuildRequires: rpmbuild(macros) >= 1.219
14 Requires: python-modules
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Sphinx is a tool that translates a set of reStructuredText_ source
20 files into various output formats, automatically producing
21 cross-references, indices etc. That is, if you have a directory
22 containing a bunch of reST-formatted documents (and possibly
23 subdirectories of docs in there as well), Sphinx can generate a
24 nicely-organized arrangement of HTML files (in some other directory)
25 for easy browsing and navigation. But from the same source, it can
26 also generate a LaTeX file that you can compile into a PDF version of
27 the documents, or a PDF file directly using rst2pdf
28 (<http://rst2pdf.googlecode.com>).
30 %description -l pl.UTF-8
31 Sphinx to narzędzie tłumaczące zbiór plików źródłowych zawierających
32 reStructuredText_ na różne formaty wyjściowe z automatycznym
33 tworzeniem wzajemnych odniesień, indeksów itp. Oznacza to, że mając
34 katalog zawierający zbiór dokumentów w formacie reST (i być może
35 dalsze podkatalogi dokumentacji) przy użyciu Sphinksa można
36 wygenerować ładnie zorganizowane pliki HTML (w jakimś innym katalogu)
37 pozwalające na łatwe przeglądanie i nawigowanie. Z tych samych źródeł
38 można też wygenerować plik LaTeXa, który można następnie skompilować
39 do wersji PDF albo wygenerować plik PDF bezpośrednio przy użyciu
40 narzędzia rst2pdf (<http://rst2pdf.googlecode.com>).
43 %setup -q -n Sphinx-%{version}
46 %{__python} setup.py build
49 rm -rf $RPM_BUILD_ROOT
51 %{__python} setup.py install \
53 --root=$RPM_BUILD_ROOT
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
62 %doc AUTHORS CHANGES EXAMPLES LICENSE README TODO
63 %attr(755,root,root) %{_bindir}/sphinx-autogen
64 %attr(755,root,root) %{_bindir}/sphinx-build
65 %attr(755,root,root) %{_bindir}/sphinx-quickstart
66 %{py_sitescriptdir}/sphinx
67 %{py_sitescriptdir}/Sphinx-%{version}-py*.egg-info