SPECS: xemacs-auctex-pkg.spec - up to 11.82 - xemacs-preview-latex...

piti piti at pld-linux.org
Tue Feb 21 14:20:40 CET 2006


Author: piti                         Date: Tue Feb 21 13:20:40 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 11.82
- xemacs-preview-latex subpackage created for preview-latex, what is now 
  part of auctex

---- Files affected:
SPECS:
   xemacs-auctex-pkg.spec (1.39 -> 1.40) 

---- Diffs:

================================================================
Index: SPECS/xemacs-auctex-pkg.spec
diff -u SPECS/xemacs-auctex-pkg.spec:1.39 SPECS/xemacs-auctex-pkg.spec:1.40
--- SPECS/xemacs-auctex-pkg.spec:1.39	Thu Jan  6 23:20:17 2005
+++ SPECS/xemacs-auctex-pkg.spec	Tue Feb 21 14:20:33 2006
@@ -1,18 +1,19 @@
 # $Revision$, $Date$
+%define 	srcname	auctex
 Summary:	Basic TeX/LaTeX support
 Summary(pl):	Podstawowe wsparcie dla TeXa/LaTeXa
 Name:		xemacs-auctex-pkg
-%define 	srcname	auctex
-Version:	11.53
-Release:	4
+Version:	11.82
+Release:	0.1
 License:	GPL
 Group:		Applications/Editors/Emacs
 Source0:	ftp://ftp.gnu.org/pub/gnu/auctex/%{srcname}-%{version}.tar.gz
-# Source0-md5:	938ba7debc040c6bdb6d891706d17dcc
-Patch0:		%{name}-info.patch
+# Source0-md5:	a18d6ac70b332f47386980f0c4df62e6
+#Patch0:		%{name}-info.patch
 URL:		http://www.gnu.org/software/auctex/
 BuildRequires:	texinfo
-BuildRequires:	xemacs
+BuildRequires:	xemacs >= 21.4.9
+BuildRequires:	xemacs-texinfo-pkg
 Requires:	xemacs
 Requires:	xemacs-base-pkg
 BuildArch:	noarch
@@ -58,9 +59,33 @@
 Poza powyższymi specjałami, AUC TeX dostarcza wiele użytecznych makr,
 pomocnych w szybkiej i bezbolesnej edycji dokumentów LaTeXa.
 
+%define texhash [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2 ;
+%package -n xemacs-preview-latex
+Summary:	Embedded LaTeX previewer for XEmacs
+Summary(pl):	Osadzona przeglądarka pre-renderująca kod LaTeXowy w XEmacsie
+Group:		Applications/Editors/XEmacs
+Requires(post,postun):	%{_bindir}/texhash
+Requires:	ghostscript >= 6.51
+Requires:	ghostscript >= 6.51
+Requires:	tetex-dvips
+Requires:	tetex-format-latex
+Requires:	xemacs >= 21.4.9
+Requires:	xemacs-auctex-pkg >= 11.14
+
+%description -n xemacs-preview-latex
+Does your neck hurt from turning between previewer windows and the
+source too often? This Elisp/LaTeX package will render your displayed
+LaTeX equations right into the editing window where they belong.
+
+%description -n xemacs-preview-latex -l pl
+Czy Ciebie też boli szyja od ciągłego przenoszenia wzroku z okienka
+podglądu na edytor źródła dokumentu? Ten pakiet napisany w
+Elisp/LaTeXu wyświetli końcową postać równań LaTeXa tam, gdzie trzeba
+- w oknie edytora.
+
 %prep
 %setup -q -n %{srcname}-%{version}
-%patch0 -p1
+#%patch0 -p1
 
 %build
 %configure \
@@ -77,6 +102,11 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# movig info and dvi files that are installed not in the proper place
+install -d $RPM_BUILD_ROOT/%{_infodir}
+install -d $RPM_BUILD_ROOT%{_datadir}/texmf/doc/latex/preview
+mv $RPM_BUILD_ROOT/%{_datadir}/xemacs-packages/info/* $RPM_BUILD_ROOT/%{_infodir}
+mv $RPM_BUILD_ROOT/%{_datadir}/texmf/doc/latex/styles/preview.dvi $RPM_BUILD_ROOT%{_datadir}/texmf/doc/latex/preview
 # remove .el file if corresponding .elc file exists
 find $RPM_BUILD_ROOT -type f -name "*.el" | while read i; do test ! -f ${i}c || rm -f $i; done
 
@@ -89,15 +119,30 @@
 %postun
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
+%post -n xemacs-preview-latex
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%texhash
+
+%postun -n xemacs-preview-latex
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%texhash
+
 %files
 %defattr(644,root,root,755)
 %doc README ChangeLog CHANGES
 %dir %{_datadir}/xemacs-packages/lisp/auctex
 %{_datadir}/xemacs-packages/lisp/auctex/*.el*
-%dir %{_datadir}/xemacs-packages/lisp/auctex/style
-%{_datadir}/xemacs-packages/lisp/auctex/style/*.el*
-%{_datadir}/xemacs-packages/lisp/tex-site.el
-%{_infodir}/*.info*
+%exclude %{_datadir}/xemacs-packages/lisp/auctex/preview*
+%{_datadir}/xemacs-packages/etc/auctex
+%{_datadir}/xemacs-packages/pkginfo/MANIFEST.auctex
+%{_infodir}/auctex.info*
+
+%files -n xemacs-preview-latex
+%defattr(644,root,root,755)
+%{_infodir}/preview-latex.info*
+%{_datadir}/texmf/tex/latex/preview/*
+%{_datadir}/texmf/doc/latex/preview
+%{_datadir}/xemacs-packages/lisp/auctex/preview*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -105,6 +150,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.40  2006/02/21 13:20:33  piti
+- up to 11.82
+- xemacs-preview-latex subpackage created for preview-latex, what is now
+  part of auctex
+
 Revision 1.39  2005/01/06 22:20:17  qboosh
 - more fixes in info patch (builds now); release 4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xemacs-auctex-pkg.spec?r1=1.39&r2=1.40&f=u



More information about the pld-cvs-commit mailing list