Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37570578
en ru br
ALT Linux repos
S:2.36-alt1
5.0: 1.10-alt2
4.0: 1.09-alt1
3.0: 1.07-alt1

Other repositories
Upstream:1.10

Group :: Publishing
RPM: hevea

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: hevea
Version: 1.07
Release: alt1

%define camlver 3.08.1

Group: Publishing
Summary: A fast and powerful LaTeX to HTML translator
License: QPL
Url: http://para.inria.fr/~maranget/hevea
Packager: Yuri N. Sedunov <aris at altlinux.ru>

Source: %url/distri/%name-%version.tar.gz

Patch: %name-1.07-alt-makefile.patch

PreReq: tetex

BuildPreReq: ocaml >= %camlver

# Automatically added by buildreq on Thu Nov 20 2003

BuildRequires: libncurses-devel ocaml-runtime = %camlver

Requires: ocaml-runtime = %camlver

%description
HeVeA is a LaTeX to HTML translator. Its remarkable features are
- It produces good output. By default (can be turned off) it uses the
symbol face for math symbols. Either way it usually avoids generating
zillions of picture files.
- It is highly configurable through (La)TeX macros. Though aimed at
LaTeX input it understands a fair subset of TeX' macro language.
- It runs fast.
This version of HeVeA is patched to generate by default PNG picture
files instead of GIF.

%define _compress_method skip
%define target TARGET=byte

%prep
%setup -q
%patch -p1

%build
%make_build \
   %target \
   TEXDIR=%_datadir/texmf/tex/latex/misc

%install
%make_install %target \
   DESTDIR=%buildroot  \
   TEXDIR=%_datadir/texmf/tex/latex/misc \
   install

%post
%_bindir/mktexlsr ||:

%postun
%_bindir/mktexlsr ||:

%files
%_bindir/*
%_libdir/%name
%_datadir/texmf/*/*/*/*
%doc README CHANGES LICENSE pub.txt

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin