Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 30502190
en ru br
ALT Linux repositórios
S:2.3.18-alt1
5.0: 1.9.19-alt1
4.1: 1.9.18-alt1
4.0: 1.9.16a-alt1
3.0: 1.9.16a-alt1

Group :: Ferramentas de texto
RPM: latex2rtf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: latex2rtf
Version: 1.9.19
Release: alt1

Summary: Convert a LaTeX file to an RTF file
Summary(ru_RU.KOI8-R): LaTeX RTF

License: LGPL
Group: Text tools
Url: http://sourceforge.net/projects/latex2rtf/

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://prdownloads.sourceforge.net/%name/%name-%version.tar.bz2
Patch: %name-link.patch

%description
This package contains the latex2rtf command converts a LaTeX file
into RTF text format. The text and much of the formatting
information is translated to RTF.

%description -l ru_RU.KOI8-R
latex2rtf,
LaTeX RTF.
RTF.

%prep
%setup -q
%patch
%__subst "s|^PREFIX=.*|PREFIX=\$(prefix)|" Makefile
%__subst "s|^MAN_INSTALL=\$(PREFIX)/man/man1|MAN_INSTALL=\$(PREFIX)/share/man/man1|" Makefile
%__subst "s|^INFO_INSTALL=\$(PREFIX)/info|INFO_INSTALL=\$(PREFIX)/share/info|" Makefile
%__subst "s|^SUPPORT_INSTALL=\$(PREFIX)/share/latex2rtf|SUPPORT_INSTALL=\$(PREFIX)/share/doc/latex2rtf-%version|" Makefile
%__subst "s|^CFG_INSTALL=\$(PREFIX)/share/latex2rtf/cfg|CFG_INSTALL=\$(PREFIX)/share/latex2rtf|" Makefile
%__subst 's|CFGDIR=\\"\$(CFG_INSTALL)\\"|CFGDIR=\\"/usr/share/latex2rtf\\"|' Makefile

%__subst "s|\$(MKDIR) \$(CFG_INSTALL)|\$(MKDIR) \$(CFG_INSTALL) \$(MKDIR) \$(SUPPORT_INSTALL)|" Makefile

%build
%make_build

%install
%makeinstall

%files
%_bindir/*
%_datadir/%name
%_mandir/man1/*
%_docdir/%name-%version

%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