Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37896174
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: 1.10
Release: alt2
Packager: Grigory Batalov <bga at altlinux.ru>

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

PreReq: tetex

BuildRequires: rpm-build-ocaml

# Automatically added by buildreq on Wed Jul 02 2008

BuildRequires: ocaml

%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=%_libdir/%name \
LATEXLIBDIR=%_libdir/%name

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

%post
%_bindir/mktexlsr ||:

%postun
%_bindir/mktexlsr ||:

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