]>
Commit | Line | Data |
---|---|---|
01dcc6d1 | 1 | Summary: Documentation Utilities |
4bad2400 | 2 | Summary(pl.UTF-8): Narzędzia do tworzenia dokumentacji |
01dcc6d1 | 3 | Name: docutils |
53e2018d | 4 | Version: 0.5 |
a9b51192 | 5 | Release: 1 |
01dcc6d1 | 6 | License: Public Domain, BSD, GPL (see COPYING.txt) |
7 | Group: Development/Tools | |
8 | Source0: http://dl.sourceforge.net/docutils/%{name}-%{version}.tar.gz | |
53e2018d | 9 | # Source0-md5: dd72dac92fc8e3eb0f48c3effeef80f6 |
01dcc6d1 | 10 | URL: http://docutils.sourceforge.net/ |
11 | BuildRequires: python-devel | |
7bd4b768 | 12 | %pyrequires_eq python-libs |
01dcc6d1 | 13 | BuildArch: noarch |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | Utilities for general- and special-purpose documentation, including | |
18 | autodocumentation of Python modules. Includes reStructuredText, the | |
19 | easy to read, easy to use, what-you-see-is-what-you-get plaintext | |
20 | markup language. | |
21 | ||
ff063cd2 JR |
22 | %description -l pl.UTF-8 |
23 | Narzędzia do ogólnego i specjalnego dokumentowania, włączając | |
24 | autodokumentację modułów pythona. Zawiera reStructuredText, łatwy do | |
25 | odczytania, łatwy w użyciu, WYSIWYG język opisu tekstu. | |
01dcc6d1 | 26 | |
27 | %prep | |
28 | %setup -q | |
29 | ||
30 | %build | |
31 | python setup.py config | |
32 | python setup.py build | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
01dcc6d1 | 36 | |
37 | python setup.py install \ | |
38 | --optimize=2 \ | |
39 | --root=$RPM_BUILD_ROOT | |
40 | ||
c0a5df75 | 41 | install extras/roman.py $RPM_BUILD_ROOT%{py_sitescriptdir} |
42 | install tools/rstpep2html.py $RPM_BUILD_ROOT%{_bindir} | |
43 | %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir} | |
44 | %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir} | |
45 | %py_postclean | |
a9b51192 | 46 | |
01dcc6d1 | 47 | %clean |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc PKG-INFO *.txt docs | |
53 | %attr(755,root,root) %{_bindir}/* | |
247935b3 | 54 | %{py_sitescriptdir}/*.py[oc] |
c0a5df75 | 55 | %{py_sitescriptdir}/%{name} |