1 %include /usr/lib/rpm/macros.perl
2 Summary: Code2html is a tool which allows you to convert your source code files to syntax highlighted HTML
3 Summary(pl): Code2html jest narzêdziem konwertuj±cym twój kod ¼ród³owy do HTML-u z wyró¿nieniem sk³adni
8 Group: Applications/Publishing
9 Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 Code2html is a perl script which converts a program source code to
15 syntax highlighted HTML, or any other format for which rules are
16 defined. To use code2html, you also need to install Perl.
19 Code2html jest skryptem Perla konwertuj±cym ¼ród³o programu do HTML-u
20 z wyró¿nieniem sk³adni, albo do innego formatu, dla którego zostan±
21 zdefiniowane odpowiednie regu³y. Aby u¿ywaæ code2html, musisz jeszcze
22 zainstalowaæ pakiet perl.
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
31 install code2html $RPM_BUILD_ROOT%{_bindir}
32 install code2html.1 $RPM_BUILD_ROOT%{_mandir}/man1
35 rm -rf $RPM_BUILD_ROOT
38 %defattr(644,root,root,755)
39 %doc ChangeLog CREDITS LICENSE README
40 %attr(755,root,root) %{_bindir}/*