]>
Commit | Line | Data |
---|---|---|
605d7a1b | 1 | Summary: C2html - converts C files to HTML |
886f9f06 | 2 | Summary(pl.UTF-8): C2html - konwerter źródeł C do HTML |
6b827951 | 3 | Name: c2html |
4 | Version: 0.9.5 | |
5 | Release: 1 | |
6422a86c | 6 | License: GPL v2 |
6b827951 | 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 | |
254ac749 JB |
12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
14 | BuildRequires: flex | |
6b827951 | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | C2html highlights C-language sources like emacs does. Output is in | |
605d7a1b | 19 | HTML format. Also works as CGI to convert files on the fly. |
6b827951 | 20 | |
09c8b24b JR |
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. | |
6b827951 | 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 | ||
254ac749 JB |
41 | # to avoid "warning: found installed files not placed in any package: blabla" |
42 | rm -rf $RPM_BUILD_ROOT/usr/doc | |
6b827951 | 43 | |
44 | %clean | |
45 | rm -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/* |