rpms/emacs-auctex/devel emacs-auctex.spec,1.38,1.39

Jonathan G. Underwood jgu at fedoraproject.org
Thu Jan 28 14:09:28 UTC 2010


Author: jgu

Update of /cvs/pkgs/rpms/emacs-auctex/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21532

Modified Files:
	emacs-auctex.spec 
Log Message:
* Thu Jan 28 2010 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 11.85-11
- Add patch to use evince for PDF file viewing and xdg-open for html file
  viewing
- Add Requires for evince



Index: emacs-auctex.spec
===================================================================
RCS file: /cvs/pkgs/rpms/emacs-auctex/devel/emacs-auctex.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -p -r1.38 -r1.39
--- emacs-auctex.spec	7 Nov 2009 17:34:45 -0000	1.38
+++ emacs-auctex.spec	28 Jan 2010 14:09:27 -0000	1.39
@@ -12,7 +12,7 @@
 Summary: 	Enhanced TeX modes for Emacs
 Name: 		emacs-auctex
 Version: 	11.85
-Release: 	10%{?dist}
+Release: 	11%{?dist}
 License: 	GPLv3+
 Group: 		Applications/Editors
 URL: 		http://www.gnu.org/software/auctex/
@@ -20,7 +20,7 @@ Obsoletes: 	auctex
 Provides: 	auctex
 Conflicts: 	emacspeak < 18
 Requires: 	emacs(bin) >= %{_emacs_version}
-Requires:	ghostscript dvipng
+Requires:	ghostscript dvipng evince
 Requires:	tex(latex) tex(dvips)
 Requires(pre): 	/sbin/install-info 
 Requires(post): /sbin/install-info
@@ -29,6 +29,11 @@ Requires: 	tex-preview = %{version}-%{re
 %endif
 
 Source0: 	ftp://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.gz
+# Patch to change viewers for filetypes:
+# pdf: use evince instead of xpdf
+# html: use xdg-open instead of netscape
+Patch0:		emacs-auctex-11.85-fileview.patch
+
 BuildArch: 	noarch
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: 	emacs texlive-latex texinfo-tex ghostscript
@@ -98,6 +103,7 @@ Emacs.
 
 %prep
 %setup -q -n auctex-%{version}
+%patch0 -p1 -b .fileview
 
 %build
 %if %{separate_preview}
@@ -183,6 +189,11 @@ fi
 %doc doc/html
 
 %changelog
+* Thu Jan 28 2010 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 11.85-11
+- Add patch to use evince for PDF file viewing and xdg-open for html file
+  viewing
+- Add Requires for evince
+
 * Sat Nov  7 2009 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 11.85-10
 - Update spec file to use macros defined in /etc/rpm/macros.emacs
 - Fix typo in spec comments



More information about the scm-commits mailing list