]> git.pld-linux.org Git - SPECS.git/blob - tth.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / tth.spec
1 Summary:        TTH is a LaTeX to HTML converter
2 Summary(pl.UTF-8):      Konwerter LaTeXa do HTML
3 Name:           tth
4 Version:        3.12
5 Release:        2
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)
12
13 %ifarch ppc sparc alpha
14 %define         optflags        -O0
15 %endif
16
17 %description
18 TTH is a very good LaTeX to HTML conversion program.
19
20 %description -l pl.UTF-8
21 TTH jest programem do konwersji LaTeXa do HTML.
22
23 %prep
24 %setup -q -n tth_C
25
26 %build
27 %{__cc} %{rpmcflags} %{rpmldflags} -o tth tth.c
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
32
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
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %doc license.txt CHANGES tth_manual.html
43 %attr(755,root,root) %{_bindir}/*
44 %{_mandir}/man1/*
This page took 0.148954 seconds and 3 git commands to generate.