]> git.pld-linux.org Git - packages/code2html.git/blob - code2html.spec
- autoupdated to 0.9
[packages/code2html.git] / code2html.spec
1 Summary:        Code2html is a tool which allows you to convert your source code files to syntax highlighted HTML.
2 Summary(pl):    Code2html jest narzêdziem konwertuj±cym twój kod ¼ród³owy do HTML-u z wyró¿nieniem sk³adni.
3 Name:           code2html
4 Version:        0.9
5 Release:        1
6 License:        Freeware
7 Group:          Applications/Publishing
8 Group(de):      Applikationen/Publizieren
9 Group(pl):      Aplikacje/Publikowanie
10 Source0:        http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12 BuildArch:      noarch
13
14 %description
15 Code2html is a perl script which converts a program source code to
16 syntax highlighted HTML, or any other format for which rules are
17 defined. To use code2html, you also need to install Perl.
18
19
20 %description -l pl
21 Code2html jest skryptem Perla konwertuj±cym ¼ród³o programu do HTML-u
22 z wyró¼nieniem sk³adni, albo do innego formatu, dla którego zostan±
23 zdefiniowane odpowiednie regu³y. Aby u¿ywaæ code2html, musisz jeszcze
24 zainstalowaæ pakiet perl.
25
26 %prep
27 %setup -q 
28
29 %build
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 %{__install} -d $RPM_BUILD_ROOT%{_bindir}
34 %{__install} code2html $RPM_BUILD_ROOT%{_bindir}
35 %{__install} -d $RPM_BUILD_ROOT%{_mandir}/man1
36 %{__install} code2html.1 $RPM_BUILD_ROOT%{_mandir}/man1
37
38 gzip -9nf ChangeLog CREDITS LICENSE README
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %attr(755,root,root) %{_bindir}/*
46 %{_mandir}/man1/*
47 %doc *.gz
This page took 0.039586 seconds and 3 git commands to generate.