Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37579994
en ru br
ALT Linux repositórios
S:1.76-alt1
5.0: 1.70-alt1.1
4.1: 1.64-alt1.M41.1
4.0: 1.64-alt1.M40.1

Group :: Rede/Outros
RPM: mimetex

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _unpackaged_files_terminate_build 1

Name: mimetex
Version: 1.76
Release: alt1
Summary: Mimetex ets you easily embed LaTeX math in your html pages
License: GPL
Group: Networking/Other
Url: http://www.forkosh.com/mimetex.html

Source: %name-%version.tar
Patch1: mimetex_manual.diff

#AutoReqProv: no

Requires: webserver-common
BuildRequires: rpm-build-webserver-common
Conflicts: moodle-filter-mimetex

%define installdir %webserver_cgibindir

%description
MimeTeX, licensed under the gpl, lets you easily embed LaTeX math in your html pages. It parses
a LaTeX math expression and immediately emits the corresponding gif image, rather than the usual
TeX dvi. And mimeTeX is an entirely separate little program that doesn't use TeX or its fonts in
any way. It's just one cgi that you put in your site's cgi-bin/ directory, with no other
dependencies. So mimeTeX is very easy to install. And it's equally easy to use. Just place an
html <img> tag in your document wherever you want to see the corresponding LaTeX expression.

%prep
%setup
%patch1 -p1

%build
gcc %optflags -DAA mimetex.c gifsave.c -lm -o mimetex.cgi

%install
install -pD -m755 mimetex.cgi %buildroot%installdir/mimetex.cgi

%files
%installdir/mimetex.cgi
%doc COPYING README mimetex.html

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009