ALT Linux repositórios

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