]> git.pld-linux.org Git - packages/code2html.git/blame - code2html.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/code2html.git] / code2html.spec
CommitLineData
74fc0d8c 1Summary: Code2html is a tool which allows you to convert your source code files to syntax highlighted HTML
5226e951 2Summary(pl.UTF-8): Code2html jest narzędziem konwertującym twój kod źródłowy do HTML-a z wyróżnieniem składni
11a83be9 3Name: code2html
74fc0d8c 4Version: 0.9.1
49329be0 5Release: 2
11a83be9
RW
6License: Freeware
7Group: Applications/Publishing
3640b022 8Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
123b83a4 9# Source0-md5: 368377696547026c79c51a274571dc39
909d32c5 10URL: http://www.palfrader.org/code2html/
df3b61fc 11BuildRequires: rpm-perlprov
11a83be9 12BuildArch: noarch
32076eba 13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11a83be9
RW
14
15%description
16Code2html is a perl script which converts a program source code to
17syntax highlighted HTML, or any other format for which rules are
18defined. To use code2html, you also need to install Perl.
19
6eb2a1df
JR
20%description -l pl.UTF-8
21Code2html jest skryptem Perla konwertującym źródło programu do HTML-a
22z wyróżnieniem składni, albo do innego formatu, dla którego zostaną
23zdefiniowane odpowiednie reguły. Aby używać code2html, musisz jeszcze
24zainstalować pakiet perl.
11a83be9
RW
25
26%prep
86f4e974 27%setup -q
11a83be9 28
11a83be9
RW
29%install
30rm -rf $RPM_BUILD_ROOT
74fc0d8c 31install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
32
33install code2html $RPM_BUILD_ROOT%{_bindir}
34install code2html.1 $RPM_BUILD_ROOT%{_mandir}/man1
11a83be9 35
11a83be9
RW
36%clean
37rm -rf $RPM_BUILD_ROOT
38
39%files
40%defattr(644,root,root,755)
721524e1 41%doc ChangeLog CREDITS LICENSE README
11a83be9
RW
42%attr(755,root,root) %{_bindir}/*
43%{_mandir}/man1/*
This page took 0.075978 seconds and 4 git commands to generate.