2007-01-16 00:11:23 +01:00
|
|
|
|
#
|
2008-03-10 18:46:42 +01:00
|
|
|
|
# spec file for package emacs-auctex (Version 11.85)
|
2007-01-16 00:11:23 +01:00
|
|
|
|
#
|
2009-06-18 17:18:03 +02:00
|
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:11:23 +01:00
|
|
|
|
#
|
2009-06-18 17:18:03 +02:00
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2007-01-16 00:11:23 +01:00
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
2008-03-10 18:46:42 +01:00
|
|
|
|
|
2007-01-16 00:11:23 +01:00
|
|
|
|
Name: emacs-auctex
|
2007-04-27 16:57:46 +02:00
|
|
|
|
BuildRequires: emacs-x11 ghostscript_any giflib-devel libpng-devel libtiff-devel texlive texlive-latex xorg-x11 xorg-x11-devel
|
2008-03-10 18:46:42 +01:00
|
|
|
|
License: GPL v2 or later
|
2007-01-16 00:11:23 +01:00
|
|
|
|
Group: Productivity/Editors/Emacs
|
|
|
|
|
Obsoletes: ge_auc
|
|
|
|
|
Provides: auc-tex auctex ge_auc
|
2008-03-19 01:48:13 +01:00
|
|
|
|
Requires: emacs texlive-tools texlive-latex
|
2008-03-10 18:46:42 +01:00
|
|
|
|
AutoReqProv: on
|
|
|
|
|
Version: 11.85
|
2009-06-18 17:18:03 +02:00
|
|
|
|
Release: 88
|
2007-01-16 00:11:23 +01:00
|
|
|
|
Summary: AUC TeX: An Emacs Extension
|
|
|
|
|
Source: ftp://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.bz2
|
|
|
|
|
Url: http://www.gnu.org/software/auctex
|
|
|
|
|
Patch: auctex-%{version}.dif
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-03-03 12:46:39 +01:00
|
|
|
|
BuildArch: noarch
|
2007-01-16 00:11:23 +01:00
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
These macros make it easier for you to write TeX documents with GNU
|
|
|
|
|
Emacs. Documentation can be found under:
|
|
|
|
|
|
|
|
|
|
/usr/share/doc/packages/emacs-auctex/
|
|
|
|
|
|
|
|
|
|
and in the dvi files math-ref.dvi and tex-ref.dvi (reference cards) and
|
|
|
|
|
in the info file auctex in emacs info-mode.
|
|
|
|
|
|
|
|
|
|
AuC TeX is integrated in XEmacs 19.15 and higher, so these packages may
|
|
|
|
|
not be installed concurrently. Note that the binary formats of the
|
|
|
|
|
byte-compiled lisp files of the two emacs editors are incompatible, so
|
|
|
|
|
you cannot use this package for XEmacs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Kresten Krab Thorup <auc-tex_mgr@iesd.auc.dk>
|
|
|
|
|
Per Abrahamsen <abraham@dina.kvl.dk>
|
|
|
|
|
|
|
|
|
|
%define _sitedir %{_datadir}/emacs/site-lisp
|
|
|
|
|
%define _aucdir %{_sitedir}/auctex
|
2008-03-10 18:46:42 +01:00
|
|
|
|
|
2007-01-16 00:11:23 +01:00
|
|
|
|
%prep
|
|
|
|
|
%setup -n auctex-%{version}
|
|
|
|
|
%patch
|
|
|
|
|
|
|
|
|
|
%build
|
2008-03-10 18:46:42 +01:00
|
|
|
|
unset ${!LC_*}
|
|
|
|
|
LANG=en_US.UTF-8
|
|
|
|
|
export LANG
|
|
|
|
|
rm -rf /tmp/auctex
|
|
|
|
|
mkdir /tmp/auctex
|
|
|
|
|
mkdir -p /tmp/auctex/doc/preview
|
|
|
|
|
mkdir -p /tmp/auctex/latex/preview
|
|
|
|
|
./configure --prefix=%{_prefix} \
|
|
|
|
|
--exec-prefix=%{_prefix} \
|
|
|
|
|
--infodir=%{_infodir} \
|
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
|
--docdir=%{_defaultdocdir}/%name \
|
|
|
|
|
--with-emacs \
|
|
|
|
|
--with-lispdir=%{_sitedir} \
|
|
|
|
|
--with-auto-dir=%{_aucdir}/auto \
|
|
|
|
|
--with-texmf-dir=%{_datadir}/texmf \
|
|
|
|
|
--with-doc-dir=/tmp/auctex/doc/preview \
|
|
|
|
|
--with-tex-dir=/tmp/auctex/latex/preview
|
2008-03-11 17:04:41 +01:00
|
|
|
|
find , -name '*.elc' | xargs -r rm -f
|
2007-01-16 00:11:23 +01:00
|
|
|
|
make
|
|
|
|
|
make -C doc clean
|
|
|
|
|
make -C doc
|
|
|
|
|
make -C doc extradist
|
2008-03-10 18:46:42 +01:00
|
|
|
|
rm -rf /tmp/auctex
|
2007-01-16 00:11:23 +01:00
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
export LC_CTYPE=ISO-8859-1
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
rm -rf %{buildroot}%{_aucdir}/auto
|
|
|
|
|
pushd %{buildroot}%{_aucdir}/
|
2008-03-10 18:46:42 +01:00
|
|
|
|
emacs --no-site -batch -L %{buildroot}%{_sitedir}/auctex \
|
2007-01-16 00:11:23 +01:00
|
|
|
|
--eval '(setq TeX-lisp-directory "%{buildroot}%{_aucdir}")' \
|
|
|
|
|
--eval '(setq TeX-auto-global "%{buildroot}%{_aucdir}/auto")' \
|
|
|
|
|
-l %{buildroot}%{_sitedir}/tex-site.el -f TeX-auto-generate-global
|
|
|
|
|
popd
|
|
|
|
|
touch %{buildroot}%{_aucdir}/auto/.nosearch
|
2008-03-11 17:04:41 +01:00
|
|
|
|
find %{buildroot}%{_aucdir}/auto/ -name '*.elc' | xargs -r rm -f
|
2007-01-16 00:11:23 +01:00
|
|
|
|
cat <<-EOF > %{buildroot}%{_sitedir}/suse-start-auctex.el
|
|
|
|
|
;;; suse-start-auctex.el
|
|
|
|
|
;;
|
|
|
|
|
;; This is used for starting up AUCTeX
|
|
|
|
|
;; See (info "(auctex)Introduction") on how to disable AUCTeX.
|
|
|
|
|
;;
|
|
|
|
|
(load "auctex.el" nil t t)
|
|
|
|
|
EOF
|
|
|
|
|
cat <<-EOF > %{buildroot}%{_sitedir}/suse-start-preview-latex.el
|
|
|
|
|
;;; suse-start-preview-latex.el
|
|
|
|
|
;;
|
|
|
|
|
;; This is used for starting up preview-latex of AUCTeX
|
|
|
|
|
;; See (info "(auctex)Introduction") on how to disable AUCTeX.
|
|
|
|
|
;;
|
|
|
|
|
(load "preview-latex.el" nil t t)
|
|
|
|
|
EOF
|
2008-03-10 18:46:42 +01:00
|
|
|
|
#
|
|
|
|
|
# Preview is part of te_latex
|
|
|
|
|
#
|
|
|
|
|
rm -rf %{buildroot}/tmp/auctex
|
2007-01-16 00:11:23 +01:00
|
|
|
|
%define info_files auctex.info preview-latex.info
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
for f in %info_files; do
|
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/$f.gz
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
for f in %info_files; do
|
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/$f.gz
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-, root, root)
|
|
|
|
|
%doc README COPYING doc/*.pdf CHANGES ChangeLog
|
|
|
|
|
%dir %{_sitedir}/
|
|
|
|
|
%dir %{_aucdir}/
|
|
|
|
|
%dir %{_aucdir}/auto/
|
|
|
|
|
%dir %{_aucdir}/images/
|
|
|
|
|
%dir %{_aucdir}/style/
|
|
|
|
|
%doc %{_infodir}/*.info.gz
|
|
|
|
|
%{_aucdir}/*.el
|
|
|
|
|
%{_aucdir}/*.elc
|
|
|
|
|
%{_aucdir}/.nosearch
|
|
|
|
|
%{_aucdir}/auto/*.el
|
|
|
|
|
%{_aucdir}/images/*.xpm
|
|
|
|
|
%{_aucdir}/images/*.xbm
|
|
|
|
|
%{_aucdir}/style/*.el
|
|
|
|
|
%{_aucdir}/style/*.elc
|
|
|
|
|
%{_aucdir}/auto/.nosearch
|
|
|
|
|
%{_aucdir}/style/.nosearch
|
|
|
|
|
%config %{_sitedir}/suse-start*.el
|
|
|
|
|
%config %{_sitedir}/auctex.el
|
|
|
|
|
%config %{_sitedir}/preview-latex.el
|
|
|
|
|
%config %{_sitedir}/tex-site.el
|
|
|
|
|
|
2007-03-03 12:46:39 +01:00
|
|
|
|
%changelog
|
2008-03-19 01:48:13 +01:00
|
|
|
|
* Mon Mar 17 2008 werner@suse.de
|
|
|
|
|
- Use texlive-tools instead of lacheck
|
2008-03-11 17:04:41 +01:00
|
|
|
|
* Tue Mar 11 2008 werner@suse.de
|
|
|
|
|
- Avoid overlong file lists use find and xargs instead
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Mon Mar 10 2008 werner@suse.de
|
|
|
|
|
- Make it work with texlive and texlive-latex
|
|
|
|
|
- Update to auctec 11.85
|
|
|
|
|
+ News in 11.85
|
|
|
|
|
* Font locking has been improved significantly.
|
|
|
|
|
* The license was updated to GPLv3.
|
|
|
|
|
* Support for the nomencl, flashcards and comment LaTeX packages
|
|
|
|
|
as well as the Icelandic language option of babel were added.
|
|
|
|
|
* Support for folding of math macros was added.
|
|
|
|
|
* Lots of minor bugs in features and documentation fixed.
|
|
|
|
|
+ News in 11.84
|
|
|
|
|
* AUCTeX has been changed in order to accommodate file names
|
|
|
|
|
containing spaces.
|
|
|
|
|
* Support for folding of comments was added.
|
|
|
|
|
* The TeX tool bar is now available and enabled by default in
|
|
|
|
|
plain TeX mode.
|
|
|
|
|
* Bug fix in the display of math subscripts and superscripts.
|
|
|
|
|
* Bug fix `TeX-doc' for Emacs 21.
|
|
|
|
|
* There has been quite a number of other bug fixes to various
|
|
|
|
|
features and documentation across the board.
|
|
|
|
|
* Sun Apr 29 2007 aj@suse.de
|
2007-04-29 11:55:27 +02:00
|
|
|
|
- Fix Requires for texlive.
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Fri Apr 27 2007 werner@suse.de
|
2007-04-27 16:57:46 +02:00
|
|
|
|
- Make it build with texlive
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Fri Mar 02 2007 werner@suse.de
|
2007-03-03 12:46:39 +01:00
|
|
|
|
- No binary anymore is no architecture
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Thu Jun 29 2006 werner@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- Update to 11.83
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- converted neededforbuild to BuildRequires
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Thu Sep 22 2005 werner@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- Update to 11.55
|
|
|
|
|
- Use newer dinbrief.el
|
|
|
|
|
- Build as non root user
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Tue Sep 21 2004 werner@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- encl, cc ... should be included within letter environment
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Fri Jan 09 2004 werner@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- Update to 11.14
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Tue Jul 02 2002 werner@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- Update to auc-tex 11.11 (bug #16605)
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Fri Feb 22 2002 werner@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- Make conditionals in font-lock work with emacs 21.1
|
2009-06-18 17:18:03 +02:00
|
|
|
|
* Sat Feb 09 2002 ro@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- removed te_fr from neededforbuild
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Fri Feb 01 2002 ro@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Thu Nov 08 2001 werner@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- Add all libs reqired by emacs to neededforbuild
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Fri Mar 16 2001 werner@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- Mark tex-site.el as config file
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Tue Mar 13 2001 ro@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- added emacs-x11 to neededforbuild
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Wed Mar 07 2001 werner@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- Rename package to emacs-auctex
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Fri Nov 17 2000 ro@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- ge_exec -> emacs
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Tue Jun 06 2000 ro@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- doc relocation
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Fri Feb 25 2000 werner@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- Change dvips print command to be able to avoid config.lp
|
|
|
|
|
within teTeX package
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Thu Feb 24 2000 werner@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- Make it work for all teTeX versions
|
2007-03-03 12:46:39 +01:00
|
|
|
|
- /usr/info -> /usr/share/info
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Mon Sep 13 1999 bs@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
2009-06-18 17:18:03 +02:00
|
|
|
|
* Fri Aug 13 1999 werner@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- Make dinbrief.sty comaptible to xemacs
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Thu Jul 08 1999 werner@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- New version 9.9p
|
2007-03-03 12:46:39 +01:00
|
|
|
|
- A few changes to my dinbrief.sty
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Thu Apr 15 1999 werner@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- added export LC_CTYPE=ISO-8859-1 to install section
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Wed Nov 18 1998 werner@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- Change file list because of the new tetex version
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Mon Jul 27 1998 bs@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- added export LC_CTYPE=ISO-8859-1 to build section - emacs needs it.
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Fri Jul 10 1998 bs@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- added xaw3d to neededforbuild (ge_exec needs it)
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Mon Jun 02 1997 werner@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- removed /usr/info/latex*.gz ... because it's included in tetex
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Wed May 28 1997 werner@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- New version 9.7p
|
2007-03-03 12:46:39 +01:00
|
|
|
|
- Skip X-emacs: xemacs-19.15 has an integrated
|
2007-01-16 00:11:23 +01:00
|
|
|
|
auctex version 9.7l
|
2007-03-03 12:46:39 +01:00
|
|
|
|
- Added ltx-help.el, latex(2e).info due
|
2007-01-16 00:11:23 +01:00
|
|
|
|
the auctex-9.7p does not has it anymore
|
2008-03-10 18:46:42 +01:00
|
|
|
|
* Thu Jan 02 1997 werner@suse.de
|
2007-01-16 00:11:23 +01:00
|
|
|
|
- auctex: Version 9.5a f<EFBFBD>r GNU-emacs und X-emacs
|