]> git.pld-linux.org Git - packages/c2html.git/blob - c2html.spec
- tabs in preamble
[packages/c2html.git] / c2html.spec
1 Summary:        C2html - converts C files to HTML
2 Summary(pl.UTF-8):      C2html - konwerter źródeł C do HTML
3 Name:           c2html
4 Version:        0.9.5
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Text
8 Source0:        http://user.cs.tu-berlin.de/~schintke/x2html/%{name}-%{version}.tar.gz
9 # Source0-md5:  324cd6c50dd611607e3366840bbc61f2
10 Patch0:         %{name}-DESTDIR.patch
11 URL:            http://user.cs.tu-berlin.de/~schintke/x2html/index.html
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  flex
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 C2html highlights C-language sources like emacs does. Output is in
19 HTML format. Also works as CGI to convert files on the fly.
20
21 %description -l pl.UTF-8
22 C2html podświetla składnię źródeł C podobnie jak emacs. Wyjście jest
23 w formacie HTML. Działa także jako CGI konwertując pliki w locie.
24
25 %prep
26 %setup -q
27 %patch0 -p0
28
29 %build
30 %{__aclocal}
31 %{__autoconf}
32 %configure
33 %{__make}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 %{__make} install \
39         DESTDIR=$RPM_BUILD_ROOT
40
41 # to avoid "warning: found installed files not placed in any package: blabla"
42 rm -rf $RPM_BUILD_ROOT/usr/doc
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc AUTHORS NEWS README
50 %attr(755,root,root) %{_bindir}/*
51 %{_mandir}/man1/*
This page took 0.066875 seconds and 3 git commands to generate.