Name: rubber Summary: An automated system for building LaTeX documents. Version: @version@ Release: @release@ License: GPL Group: Applications/Publishing URL: http://rubber.sourceforge.net/ Packager: Emmanuel Beffara Source: %{name}-%{version}.tar.gz Requires: python2, tetex BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This is a building system for LaTeX documents. It is based on a routine that runs just as many compilations as necessary. The module system provides a great flexibility that virtually allows support for any package with no user intervention, as well as pre- and post-processing of the document. The standard modules currently provide support for bibtex, dvips, dvipdfm, pdftex, makeindex. A good number of standard packages are supported, including graphics/graphicx (with automatic conversion between various formats and Metapost compilation). %prep %setup %build ./configure --prefix=%{_prefix} --mandir='${datadir}/man' --infodir='${datadir}/info' --python=python2 make %install [ "$RPM_BUILD_ROOT" != "/" ] && [ -d "$RPM_BUILD_ROOT" ] && rm -rf "$RPM_BUILD_ROOT" mkdir $RPM_BUILD_ROOT make install prefix=$RPM_BUILD_ROOT%{_prefix} %clean [ "$RPM_BUILD_ROOT" != "/" ] && [ -d "$RPM_BUILD_ROOT" ] && rm -rf "$RPM_BUILD_ROOT" %files %defattr(-, root, root) %doc COPYING NEWS README %{_bindir}/rubber %{_bindir}/rubber-pipe %{_bindir}/rubber-info %{_datadir}/rubber %doc %{_mandir}/fr/man1/rubber-info.1* %doc %{_mandir}/fr/man1/rubber-pipe.1* %doc %{_mandir}/fr/man1/rubber.1* %doc %{_mandir}/man1/rubber-info.1* %doc %{_mandir}/man1/rubber-pipe.1* %doc %{_mandir}/man1/rubber.1* %doc %{_infodir}/rubber.info.gz