]> git.pld-linux.org Git - packages/NaturalDocs.git/blob - NaturalDocs.spec
- pl fixes, cosmetics
[packages/NaturalDocs.git] / NaturalDocs.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Multi-language documentation generator
3 Summary(pl):    Wielojêzykowy generator dokumentacji
4 Name:           NaturalDocs
5 Version:        1.16
6 Release:        1
7 License:        GPL
8 Group:          Applications
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)
16
17 %description
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.
24
25 %description -l pl
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.
33
34 %prep
35 %setup -q -c
36 %patch0 -p1
37
38 %build
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_bindir},%{perl_vendorlib}}
43
44 mv Modules/%{name} $RPM_BUILD_ROOT%{perl_vendorlib}
45 mv Styles $RPM_BUILD_ROOT%{_datadir}/%{name}
46 install %{name} $RPM_BUILD_ROOT%{_bindir}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc CSSGuide.txt NDMarkup.txt Help/*
54 %attr(755,root,root) %{_bindir}/*
55 %{_datadir}/%{name}
56 %{perl_vendorlib}/%{name}
This page took 0.058521 seconds and 3 git commands to generate.