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