]> git.pld-linux.org Git - SPECS.git/blob - code2html.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.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.UTF-8):      Code2html jest narzędziem konwertującym twój kod źródłowy do HTML-a z wyróżnieniem składni
3 Name:           code2html
4 Version:        0.9.1
5 Release:        2
6 License:        Freeware
7 Group:          Applications/Publishing
8 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  368377696547026c79c51a274571dc39
10 URL:            http://www.palfrader.org/code2html/
11 BuildRequires:  rpm-perlprov
12 BuildArch:      noarch
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Code2html is a perl script which converts a program source code to
17 syntax highlighted HTML, or any other format for which rules are
18 defined. To use code2html, you also need to install Perl.
19
20 %description -l pl.UTF-8
21 Code2html jest skryptem Perla konwertującym źródło programu do HTML-a
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 %install
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
32
33 install code2html $RPM_BUILD_ROOT%{_bindir}
34 install code2html.1 $RPM_BUILD_ROOT%{_mandir}/man1
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %files
40 %defattr(644,root,root,755)
41 %doc ChangeLog CREDITS LICENSE README
42 %attr(755,root,root) %{_bindir}/*
43 %{_mandir}/man1/*
This page took 1.083544 seconds and 3 git commands to generate.