]> git.pld-linux.org Git - packages/NaturalDocs.git/blame - NaturalDocs.spec
- tabs in preamble
[packages/NaturalDocs.git] / NaturalDocs.spec
CommitLineData
42bcd98d 1%include /usr/lib/rpm/macros.perl
2Summary: Multi-language documentation generator
0457ec09 3Summary(pl.UTF-8): Wielojęzykowy generator dokumentacji
42bcd98d 4Name: NaturalDocs
e9ad9461 5Version: 1.35
90a86c3e 6Release: 2
42bcd98d 7License: GPL
8Group: Applications
9Source0: http://dl.sourceforge.net/naturaldocs/%{name}-%{version}.zip
e9ad9461 10# Source0-md5: 9d3aacda69cb2f94784ac95548e210b5
42bcd98d 11Patch0: %{name}-path.patch
12URL: http://www.naturaldocs.org/
49adac8a
JB
13BuildRequires: perl-modules >= 1:5.8.0
14BuildRequires: rpm-perlprov >= 4.1-13
53c6ff82 15BuildRequires: unzip
42bcd98d 16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Natural Docs is an open-source, extensible, multi-language
20documentation generator. It extracts specially formatted comments from
21source code and builds HTML documentation from it. The syntax is
22transparent so that the comments in the source code read just as
23easily as the generated documentation. It also focuses on automation
24and high-quality generated output.
25
a47e55f5
JR
26%description -l pl.UTF-8
27Natural Docs jest łatwo rozszerzalnym, wielojęzykowym generatorem
28dokumentacji o otwartym kodzie źródłowym. Wyciąga on odpowiednio
29sformatowane komentarze z kodu źródłowego i tworzy z nich dokumentację
30w postaci HTML-u. Składnia jest przezroczysta, więc komentarze
31wewnątrz kodu źródłowego są równie łatwe do przeczytania jak i
32wygenerowana dokumentacja. Natural Docs koncentruje się także na
33wysokiej jakości wygenerowanej dokumentacji.
42bcd98d 34
35%prep
36%setup -q -c
37%patch0 -p1
38
42bcd98d 39%install
40rm -rf $RPM_BUILD_ROOT
90a86c3e 41install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/{Config,JavaScript},%{_bindir},%{perl_vendorlib}}
42bcd98d 42
43mv Modules/%{name} $RPM_BUILD_ROOT%{perl_vendorlib}
44mv Styles $RPM_BUILD_ROOT%{_datadir}/%{name}
e9ad9461 45install Config/*.txt $RPM_BUILD_ROOT%{_datadir}/%{name}/Config
90a86c3e 46install JavaScript/*.js $RPM_BUILD_ROOT%{_datadir}/%{name}/JavaScript
42bcd98d 47install %{name} $RPM_BUILD_ROOT%{_bindir}
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
e9ad9461 54%doc Info/CSSGuide.txt Info/NDMarkup.txt Help/*
42bcd98d 55%attr(755,root,root) %{_bindir}/*
56%{_datadir}/%{name}
57%{perl_vendorlib}/%{name}
This page took 0.064733 seconds and 4 git commands to generate.