]> git.pld-linux.org Git - packages/python-Sphinx.git/commitdiff
- new auto/th/python-Sphinx-1_0_6-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 9 Jan 2011 08:55:04 +0000 (08:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-Sphinx.spec -> 1.1

python-Sphinx.spec [new file with mode: 0644]

diff --git a/python-Sphinx.spec b/python-Sphinx.spec
new file mode 100644 (file)
index 0000000..1a2ebe7
--- /dev/null
@@ -0,0 +1,67 @@
+Summary:       Sphinx - Python documentation builder
+Summary(pl.UTF-8):     Sphinx - narzędzie do tworzenia dokumentacji dla Pythona
+Name:          python-Sphinx
+Version:       1.0.6
+Release:       1
+License:       BSD (Sphinx itself, SmartyPants), PSF v2 (pgen2), MIT (ElementTree, JQuery)
+Group:         Development/Languages/Python
+Source0:       http://pypi.python.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
+# Source0-md5: 4cdb86c7bb7fa2498ac12db844784769
+URL:           http://sphinx.pocoo.org/
+BuildRequires: python-devel
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires:      python-modules
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Sphinx is a tool that translates a set of reStructuredText_ source
+files into various output formats, automatically producing
+cross-references, indices etc. That is, if you have a directory
+containing a bunch of reST-formatted documents (and possibly
+subdirectories of docs in there as well), Sphinx can generate a
+nicely-organized arrangement of HTML files (in some other directory)
+for easy browsing and navigation. But from the same source, it can
+also generate a LaTeX file that you can compile into a PDF version of
+the documents, or a PDF file directly using rst2pdf
+(<http://rst2pdf.googlecode.com>).
+
+%description -l pl.UTF-8
+Sphinx to narzędzie tłumaczące zbiór plików źródłowych zawierających
+reStructuredText_ na różne formaty wyjściowe z automatycznym
+tworzeniem wzajemnych odniesień, indeksów itp. Oznacza to, że mając
+katalog zawierający zbiór dokumentów w formacie reST (i być może
+dalsze podkatalogi dokumentacji) przy użyciu Sphinksa można
+wygenerować ładnie zorganizowane pliki HTML (w jakimś innym katalogu)
+pozwalające na łatwe przeglądanie i nawigowanie. Z tych samych źródeł
+można też wygenerować plik LaTeXa, który można następnie skompilować
+do wersji PDF albo wygenerować plik PDF bezpośrednio przy użyciu
+narzędzia rst2pdf (<http://rst2pdf.googlecode.com>).
+
+%prep
+%setup -q -n Sphinx-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__python} setup.py install \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CHANGES EXAMPLES LICENSE README TODO
+%attr(755,root,root) %{_bindir}/sphinx-autogen
+%attr(755,root,root) %{_bindir}/sphinx-build
+%attr(755,root,root) %{_bindir}/sphinx-quickstart
+%{py_sitescriptdir}/sphinx
+%{py_sitescriptdir}/Sphinx-%{version}-py*.egg-info
This page took 0.099635 seconds and 4 git commands to generate.