Group :: Edição
RPM: hevea
Main Changelog Spec Patches Sources Download Gear Bugs e 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
…
Todas as alterações você pod ver aqui
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
…
Todas as alterações você pod ver aqui