]> git.pld-linux.org Git - packages/code2html.git/blob - code2html.spec
- spaces -> tab
[packages/code2html.git] / code2html.spec
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
4 Name:           code2html
5 Version:        0.9.1
6 Release:        1
7 License:        Freeware
8 Group:          Applications/Publishing
9 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
10 # Source0-md5:  368377696547026c79c51a274571dc39
11 BuildArch:      noarch
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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 %description -l pl
20 Code2html jest skryptem Perla konwertuj±cym ¼ród³o programu do HTML-u
21 z wyró¿nieniem sk³adni, albo do innego formatu, dla którego zostan±
22 zdefiniowane odpowiednie regu³y. Aby u¿ywaæ code2html, musisz jeszcze
23 zainstalowaæ pakiet perl.
24
25 %prep
26 %setup -q
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
31
32 install code2html $RPM_BUILD_ROOT%{_bindir}
33 install code2html.1 $RPM_BUILD_ROOT%{_mandir}/man1
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %doc ChangeLog CREDITS LICENSE README
41 %attr(755,root,root) %{_bindir}/*
42 %{_mandir}/man1/*
This page took 0.057245 seconds and 3 git commands to generate.