]> git.pld-linux.org Git - packages/NaturalDocs.git/blob - NaturalDocs.spec
- updated to 1.31
[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.31
6 Release:        1
7 License:        GPL
8 Group:          Applications
9 Source0:        http://dl.sourceforge.net/naturaldocs/%{name}-%{version}.zip
10 # Source0-md5:  5a558578674e72d790c1d2223f40d6d5
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 BuildRequires:  unzip
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Natural Docs is an open-source, extensible, multi-language
20 documentation generator. It extracts specially formatted comments from
21 source code and builds HTML documentation from it. The syntax is
22 transparent so that the comments in the source code read just as
23 easily as the generated documentation. It also focuses on automation
24 and high-quality generated output.
25
26 %description -l pl
27 Natural Docs jest ³atwo rozszerzalnym, wielojêzykowym generatorem
28 dokumentacji o otwartym kodzie ¼ród³owym. Wyci±ga on odpowiednio
29 sformatowane komentarze z kodu ¼ród³owego i tworzy z nich dokumentacjê
30 w postaci HTML-u. Sk³adnia jest przezroczysta, wiêc komentarze
31 wewn±trz kodu ¼ród³owego s± równie ³atwe do przeczytania jak i
32 wygenerowana dokumentacja. Natural Docs koncentruje siê tak¿e na
33 wysokiej jako¶ci wygenerowanej dokumentacji.
34
35 %prep
36 %setup -q -c
37 %patch0 -p1
38
39 %build
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_bindir},%{perl_vendorlib}}
44
45 mv Modules/%{name} $RPM_BUILD_ROOT%{perl_vendorlib}
46 mv Styles $RPM_BUILD_ROOT%{_datadir}/%{name}
47 install %{name} $RPM_BUILD_ROOT%{_bindir}
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc CSSGuide.txt NDMarkup.txt Help/*
55 %attr(755,root,root) %{_bindir}/*
56 %{_datadir}/%{name}
57 %{perl_vendorlib}/%{name}
This page took 0.06438 seconds and 3 git commands to generate.