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