rpms/emacs-auctex/devel emacs-auctex.spec,1.16,1.17

Jonathan G. Underwood (jgu) fedora-extras-commits at redhat.com
Sun Jun 18 17:53:11 UTC 2006


Author: jgu

Update of /cvs/extras/rpms/emacs-auctex/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11338

Modified Files:
	emacs-auctex.spec 
Log Message:
Sync with FC-5 spec file which includes the following changes
     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/devel/emacs-auctex.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- emacs-auctex.spec	10 Jun 2006 13:04:32 -0000	1.16
+++ emacs-auctex.spec	18 Jun 2006 17:53:11 -0000	1.17
@@ -1,13 +1,7 @@
-%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
+Summary: 	Enhanced TeX modes for Emacs
 Name: 		emacs-auctex
 Version: 	11.83
-Release: 	4%{?dist}
+Release: 	3%{?dist}
 License: 	GPL
 Group: 		Applications/Editors
 URL: 		http://www.gnu.org/software/auctex/
@@ -41,17 +35,17 @@
 This package is for GNU Emacs.
 
 %package el
-Summary: Elisp source files for %{name}
-Group: Applications/Editors
-Requires: %{name} = %{version}
+Summary: 	Elisp source files for %{name}
+Group: 		Applications/Editors
+Requires: 	%{name} = %{version}
 
 %description el
 This package contains the source Elisp files for AUCTeX for Emacs.
 
 %package -n tetex-preview
-Summary: Preview style files for LaTeX
-Group: Applications/Publishing
-Requires: tetex-latex tetex-fonts ghostscript
+Summary: 	Preview style files for LaTeX
+Group: 		Applications/Publishing
+Requires: 	tetex-latex tetex-fonts ghostscript
 
 %description -n tetex-preview 
 The preview package for LaTeX allows for the processing of selected
@@ -65,7 +59,7 @@
 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
+environments (most notably displayed formulas) from LaTeX 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).
@@ -77,12 +71,7 @@
 %setup -q -n auctex-%{version}
 
 %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 +81,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 +128,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 +139,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 +148,15 @@
 %{_datadir}/emacs/site-lisp/auctex/style/*.el
 
 %changelog
+* Sun Jun 18 2006 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 11.83-3
+- Sync with FC-5 spec file which includes the following changes
+- 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
+
 * Sat Jun 10 2006 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 11.83-4
 - Bump release
 




More information about the fedora-extras-commits mailing list