rpms/emacs-auctex/FC-5 emacs-auctex.spec,1.21,1.22

Jonathan G. Underwood (jgu) fedora-extras-commits at redhat.com
Sat Jun 17 16:47:12 UTC 2006


Author: jgu

Update of /cvs/extras/rpms/emacs-auctex/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2143

Modified Files:
	emacs-auctex.spec 
Log Message:
No longer use makeinstall macro
No longer specify texmf-dir, tex-dir for configure
Main package now owns the site-lisp auctex and styles directories
Place preview.dvi in correct directory, and have tetex-preview own
it
General cleanups



Index: emacs-auctex.spec
===================================================================
RCS file: /cvs/extras/rpms/emacs-auctex/FC-5/emacs-auctex.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- emacs-auctex.spec	10 Jun 2006 23:39:11 -0000	1.21
+++ emacs-auctex.spec	17 Jun 2006 16:47:12 -0000	1.22
@@ -1,41 +1,37 @@
-%define startupdir %{_datadir}/emacs/site-lisp/site-start.d/
-%define startupfile %{startupdir}/auctex-init.el
-
-%define textree %{_datadir}/texmf/tex/
-%define previewdir %{textree}/latex/preview/
-
-Summary: 	Enhanced TeX modes for Emacsen
-Name: 		emacs-auctex
-Version: 	11.83
-Release: 	2%{?dist}.4
-License: 	GPL
-Group: 		Applications/Editors
-URL: 		http://www.gnu.org/software/auctex/
-Source0: 	ftp://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.gz
-Patch0:		auctex-11.83-debug.patch
-BuildArch: 	noarch
-BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Obsoletes: 	auctex
-Provides: 	auctex
-Conflicts: 	emacspeak < 18
-Requires: 	emacs emacs-common ghostscript 
-Requires: 	tetex-preview = %{version}-%{release}
-Requires: 	/sbin/install-info
+Summary: Enhanced TeX modes for Emacs
+Name: emacs-auctex
+Version: 11.83
+Release: 2%{?dist}.5
+License: GPL
+Group: Applications/Editors
+URL: http://www.gnu.org/software/auctex/
+Source0: ftp://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.gz
+Patch0: auctex-11.83-debug.patch
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Obsoletes: auctex
+Provides: auctex
+Conflicts: emacspeak < 18
+Requires: emacs emacs-common ghostscript 
+Requires: tetex-preview = %{version}-%{release}
+Requires: /sbin/install-info
 BuildRequires: 	emacs tetex-latex texinfo ghostscript
 
 %description 
-AUCTeX is an extensible package that supports writing and formatting TeX files
-for most variants of Emacs.
+AUCTeX is an extensible package that supports writing and formatting
+TeX files for most variants of Emacs.
 
-AUCTeX supports many different TeX macro packages, including AMS-TeX, LaTeX,
-Texinfo and basic support for ConTeXt.  Documentation can be found under
-/usr/share/doc, e.g. the reference card (tex-ref.pdf) and the FAQ. The AUCTeX
-manual is available in Emacs info (C-h i d m AUCTeX RET). On the AUCTeX home
-page, we provide manuals in various formats.
-
-AUCTeX includes preview-latex support which makes LaTeX a tightly integrated
-component of your editing workflow by visualizing selected source chunks (such
-as single formulas or graphics) directly as images in the source buffer.
+AUCTeX supports many different TeX macro packages, including AMS-TeX,
+LaTeX, Texinfo and basic support for ConTeXt.  Documentation can be
+found under /usr/share/doc, e.g. the reference card (tex-ref.pdf) and
+the FAQ. The AUCTeX manual is available in Emacs info (C-h i d m
+AUCTeX RET). On the AUCTeX home page, we provide manuals in various
+formats.
+
+AUCTeX includes preview-latex support which makes LaTeX a tightly
+integrated component of your editing workflow by visualizing selected
+source chunks (such as single formulas or graphics) directly as images
+in the source buffer.
 
 This package is for GNU Emacs.
 
@@ -53,22 +49,24 @@
 Requires: tetex-latex tetex-fonts ghostscript
 
 %description -n tetex-preview 
-The preview package for LaTeX allows for the processing of selected parts of a
-LaTeX input file.  This package extracts indicated pieces from a source file
-(typically displayed equations, figures and graphics) and typesets with their
-base point at the (1in,1in) magic location, shipping out the individual pieces
-on separate pages without any page markup.  You can produce either DVI or PDF
-files, and options exist that will set the page size separately for each page.
-In that manner, further processing (as with Ghostscript or dvipng) will be able
-to work in a single pass.
-
-The main purpose of this package is the extraction of certain environments (most
-notably displayed formulas) from La TeX sources as graphics. This works with DVI
-files postprocessed by either Dvips and Ghostscript or dvipng, but it also works
-when you are using PDFTeX for generating PDF files (usually also postprocessed
-by Ghostscript).
+The preview package for LaTeX allows for the processing of selected
+parts of a LaTeX input file.  This package extracts indicated pieces
+from a source file (typically displayed equations, figures and
+graphics) and typesets with their base point at the (1in,1in) magic
+location, shipping out the individual pieces on separate pages without
+any page markup.  You can produce either DVI or PDF files, and options
+exist that will set the page size separately for each page.  In that
+manner, further processing (as with Ghostscript or dvipng) will be
+able to work in a single pass.
+
+The main purpose of this package is the extraction of certain
+environments (most notably displayed formulas) from La TeX sources as
+graphics. This works with DVI files postprocessed by either Dvips and
+Ghostscript or dvipng, but it also works when you are using PDFTeX for
+generating PDF files (usually also postprocessed by Ghostscript).
 
-The tetex-preview package is generated from the AUCTeX package for Emacs.
+The tetex-preview package is generated from the AUCTeX package for
+Emacs.
 
 %prep
 %setup -q -n auctex-%{version}
@@ -77,12 +75,7 @@
 %patch0 -p1
 
 %build
-mkdir -p %{buildroot}%{previewdir}
-
-%configure --with-emacs \
-	--with-texmf-dir=%{buildroot}%{textree} \
-	--with-tex-dir=%{buildroot}%{previewdir}
-
+%configure --with-emacs 
 make
 
 pushd doc
@@ -92,8 +85,12 @@
 %install
 rm -rf %{buildroot}
 
+%define startupdir %{_datadir}/emacs/site-lisp/site-start.d
+%define startupfile %{startupdir}/auctex-init.el
+
 mkdir -p %{buildroot}%{startupdir}
-%makeinstall
+
+make DESTDIR=%{buildroot} install
 
 # Startup file.
 cat <<EOF > %{buildroot}%{startupfile}
@@ -135,6 +132,8 @@
 %doc %{_infodir}/*.info*
 %exclude %{_infodir}/dir
 %{startupdir}
+%dir %{_datadir}/emacs/site-lisp/auctex
+%dir %{_datadir}/emacs/site-lisp/auctex/style
 %{_datadir}/emacs/site-lisp/auctex/*.elc
 %{_datadir}/emacs/site-lisp/auctex/style/*.elc
 %{_datadir}/emacs/site-lisp/auctex/.nosearch
@@ -144,8 +143,8 @@
 
 %files -n tetex-preview
 %defattr(-,root,root,-)
-%{previewdir}
-%{textree}/doc/latex/styles/preview.dvi
+%{_datadir}/texmf/tex/latex/preview
+%{_datadir}/texmf/doc/latex/styles
 
 %files el
 %defattr(-,root,root,-)
@@ -153,6 +152,14 @@
 %{_datadir}/emacs/site-lisp/auctex/style/*.el
 
 %changelog
+* Sat Jun 17 2006 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 11.83-2.5
+- No longer use makeinstall macro
+- No longer specify texmf-dir, tex-dir for configure
+- Main package now owns the site-lisp auctex and styles directories
+- Place preview.dvi in correct directory, and have tetex-preview own
+  it
+- General cleanups
+
 * Sun Jun 11 2006 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 11.83-2.4
 - Fix patch application (-p1 not -p0 duh)
 




More information about the fedora-extras-commits mailing list