1 Summary: TTH is a LaTeX to HTML converter
2 Summary(pl.UTF-8): Konwerter LaTeXa do HTML
6 License: Free for non-commercial use
7 Group: Applications/Text
8 Source0: http://hutchinson.belmont.ma.us/tth/tth-noncom/%{name}_C.tgz
9 # Source0-md5: d683ed85a23f025e4a6c9eeeb0f3def2
10 URL: http://hutchinson.belmont.ma.us/tth/
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 %ifarch ppc sparc alpha
18 TTH is a very good LaTeX to HTML conversion program.
20 %description -l pl.UTF-8
21 TTH jest programem do konwersji LaTeXa do HTML.
27 %{__cc} %{rpmcflags} %{rpmldflags} -o tth tth.c
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
33 install latex2gif ps2gif ps2png tth $RPM_BUILD_ROOT%{_bindir}
34 install tth.1 $RPM_BUILD_ROOT%{_mandir}/man1
35 echo ".so tth.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ps2gif.1
38 rm -rf $RPM_BUILD_ROOT
41 %defattr(644,root,root,755)
42 %doc license.txt CHANGES tth_manual.html
43 %attr(755,root,root) %{_bindir}/*