]> git.pld-linux.org Git - packages/NaturalDocs.git/blob - NaturalDocs.spec
959c9fe3dd501d8ee4461bd4564f7123b1d0ad38
[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.22
6 Release:        1
7 License:        GPL
8 Group:          Applications
9 Source0:        http://dl.sourceforge.net/naturaldocs/%{name}-%{version}.zip
10 # Source0-md5:  6ba12724373ce4ce3ffcd4234d4a147e
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.026573 seconds and 2 git commands to generate.