SPECS: rubber.spec (NEW) - new

grzegol grzegol at pld-linux.org
Sat Dec 16 20:11:50 CET 2006


Author: grzegol                      Date: Sat Dec 16 19:11:50 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   rubber.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/rubber.spec
diff -u /dev/null SPECS/rubber.spec:1.1
--- /dev/null	Sat Dec 16 20:11:50 2006
+++ SPECS/rubber.spec	Sat Dec 16 20:11:45 2006
@@ -0,0 +1,86 @@
+# $Revision$, $Date$
+Summary:	A LaTeX wrapper for automatically building documents
+Summary(pl):	Wrapper LaTeXa dla automatycznie budowanych dokumentów
+Name:		rubber
+Version:	1.1
+Release:	1
+License:	GPL v2
+Group:		Applications/Publishing/TeX
+Source0:	http://ebeffara.free.fr/pub/%{name}-%{version}.tar.gz
+# Source0-md5:	8087cdb498f51f91c2427c7d0b253189
+URL:		http://www.pps.jussieu.fr/~beffara/soft/rubber/
+BuildRequires:	python-modules >= 2.5
+%pyrequires_eq	python-modules
+Requires:	tetex-latex
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Rubber is a program whose purpose is to handle all tasks related to
+the compilation of LaTeX documents. This includes compiling the
+document itself, of course, enough times so that all references are
+defined, and running BibTeX to manage bibliographic references.
+Automatic execution of dvips to produce PostScript documents is also
+included, as well as usage of pdfLaTeX to produce PDF documents.
+
+%description -l pl
+Rubber jest programem wykonującym wszystkie zadania związane z
+kompilacją dokumentów LaTeXa. Zadania te obejmują kompilację samego
+dokumentu, oczywiście taką ilość razy żeby wszystkie referencje
+zostały zdefiniowane oraz uruchamianie BibTeXa zarządzającego
+odnośnikami bibliograficznymi. Dodatkowo rubber automatycznie wywołuje
+dvips aby stworzyć dokumenty PostScript oraz pdfLaTeX aby stworzyć
+dokumenty PDF.
+
+%prep
+%setup -q
+
+%build
+./configure \
+	--prefix=%{_prefix} \
+	--mandir=%{_mandir} \
+	--infodir=%{_infodir}
+
+python setup.py build
+cd doc
+make all
+cd ..
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT%{py_sitescriptdir}/rubber/ -name "*.py" -exec rm {} \;
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
+%files
+%defattr(644,root,root,755)
+%doc NEWS README
+%attr(755,root,root) %{_bindir}/*
+%{py_sitescriptdir}/rubber
+%{py_sitescriptdir}/*.egg-info
+%{_datadir}/%{name}
+%{_infodir}/rubber*
+%{_mandir}/man1/rubber*
+%lang(fr) %{_mandir}/fr/man1/rubber*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/12/16 19:11:45  grzegol
+- new
+
================================================================


More information about the pld-cvs-commit mailing list