Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37539398
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 

%define target TARGET=opt

Name: hevea
Version: 2.36
Release: alt1
Packager: %packager

Group: Publishing
Summary: A fast and powerful LaTeX to HTML translator
License: QPL
Url: http://para.inria.fr/~maranget/hevea

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

Requires: /usr/bin/latex, /usr/bin/pdflatex

BuildRequires: rpm-build-ocaml ocaml ocaml-ocamlbuild

%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.

%prep
%setup -q

%build
rm -f config.sh
%make_build %target \
PREFIX=%_prefix \
LIBDIR=%_datadir/%name \
LATEXLIBDIR=%_datadir/%name

%install
rm -f config.sh
%make_install %target \
DESTDIR=%buildroot \
PREFIX=%_prefix \
LIBDIR=%_datadir/%name \
LATEXLIBDIR=%_datadir/%name \
install

%files
%_bindir/*
%_datadir/%name
%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