1 %include /usr/lib/rpm/macros.perl
2 Summary: Multi-language documentation generator
3 Summary(pl): Wielojêzykowy generator dokumentacji
9 Source0: http://dl.sourceforge.net/naturaldocs/%{name}-%{version}.zip
10 # Source0-md5: 7c1a8aac0e239223e4e30e67b224eb99
11 Patch0: %{name}-path.patch
12 URL: http://www.naturaldocs.org/
13 BuildRequires: perl-modules >= 1:5.8.0
14 BuildRequires: rpm-perlprov >= 4.1-13
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Natural Docs is an open-source, extensible, multi-language
19 documentation generator. It extracts specially formatted comments from
20 source code and builds HTML documentation from it. The syntax is
21 transparent so that the comments in the source code read just as
22 easily as the generated documentation. It also focuses on automation
23 and high-quality generated output.
26 Natural Docs jest ³atwo rozszerzalnym, wielojêzykowym generatorem
27 dokumentacji o otwartym kodzie ¼ród³owym. Wyci±ga on odpowiednio
28 sformatowane komentarze z kodu ¼ród³owego i tworzy z nich dokumentacjê
29 w postaci HTML-u. Sk³adnia jest przezroczysta, wiêc komentarze
30 wewn±trz kodu ¼ród³owego s± równie ³atwe do przeczytania jak i
31 wygenerowana dokumentacja. Natural Docs koncentruje siê tak¿e na
32 wysokiej jako¶ci wygenerowanej dokumentacji.
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_bindir},%{perl_vendorlib}}
44 mv Modules/%{name} $RPM_BUILD_ROOT%{perl_vendorlib}
45 mv Styles $RPM_BUILD_ROOT%{_datadir}/%{name}
46 install %{name} $RPM_BUILD_ROOT%{_bindir}
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %doc CSSGuide.txt NDMarkup.txt Help/*
54 %attr(755,root,root) %{_bindir}/*
56 %{perl_vendorlib}/%{name}