auto-import changelog data from emacs-20.7-14.src.rpm
Thu Aug 24 2000 Trond Eivind Glomsrd <teg@redhat.com> - define MAIL_USE_LOCKF - remove setgid on movemail Mon Aug 07 2000 Trond Eivind Glomsrd <teg@redhat.com> - add /usr/share/emacs/site-lisp/subdirs.el (#15639) Tue Jul 25 2000 Trond Eivind Glomsrd <teg@redhat.com> - remove "-b" option from manpage Fri Jul 21 2000 Trond Eivind Glomsrd <teg@redhat.com> - remove Japanese support Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - updated .desktop entry and icon Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Fri Jul 07 2000 Trond Eivind Glomsrd <teg@redhat.com> - fix some typos in spec file Sun Jul 02 2000 Trond Eivind Glomsrd <teg@redhat.com> - make /etc/skel/.emacs 0644 Wed Jun 28 2000 Trond Eivind Glomsrd <teg@redhat.com> - include python mode and change in site-start.el related to this - some changes to the default .emacs Mon Jun 26 2000 Matt Wilson <msw@redhat.com> - don't build with -O2 on alpha until we can track down the compiler bug that causes crashes in the garbage collector - removed all the nox Japanese packages Mon Jun 19 2000 Trond Eivind Glomsrd <teg@redhat.com> - include site-start.el as a a config file - add aspell support via the above Fri Jun 16 2000 Trond Eivind Glomsrd <teg@redhat.com> - (from MSW) different compression on IA64 to avoid hangs - remove etags/ctags - use a separate package. Disable patch1 Wed Jun 14 2000 Matt Wilson <msw@redhat.com> - edited japanese patch not to patch configure - fixed a missing escaped " in a wc string - merge japanese support to head of development Tue Jun 13 2000 Trond Eivind Glomsrd <teg@redhat.com> - Version 20.7 - Add requirement for final newline to the default .emacs - redid the Xaw3d patch - checked all patches, discarded those we've upstreamed Wed Jun 07 2000 Trond Eivind Glomsrd <teg@redhat.com> - use %{_mandir} and %{_infodir} Fri Jun 02 2000 Bill Nottingham <notting@redhat.com> - add yet another ia64 patch Mon May 22 2000 Bill Nottingham <notting@redhat.com> - add another ia64 patch Fri May 19 2000 Trond Eivind Glomsrd <teg@redhat.com> - Disabled the compile patch for 20.6 Thu May 18 2000 Bill Nottingham <notting@redhat.com> - add in ia64 patch Thu May 18 2000 Trond Eivind Glomsrd <teg@redhat.com> - don't apply the unexelf patch - use a new unexelf.c file from the 21 source tree (this will go into the 20.7 tree) Wed May 17 2000 Trond Eivind Glomsrd <teg@redhat.com> - added patch by jakub to make it work with glibc2.2 Mon May 08 2000 Trond Eivind Glomsrd <teg@redhat.com> - fixed a problem with ange-ftp and kerberized ftp Mon May 08 2000 Bernhard Rosenkraenzer <bero@redhat.com> - rebuild with new Xaw3d Thu Apr 20 2000 Trond Eivind Glomsrd <teg@redhat.com> - let the build system handle gzipping man pages and stripping - added patch to increase keyboard buffer size Thu Apr 20 2000 Trond Eivind Glomsrd <teg@redhat.com> - gzip man pages Thu Apr 20 2000 Trond Eivind Glomsrd <teg@redhat.com> - added a security patch from RUS-CERT, which fixes bugs mentioned in "Advisory 200004-01: GNU Emacs 20" Tue Apr 18 2000 Trond Eivind Glomsrd <teg@redhat.com> - patched to detect bash2 scripts. Thu Apr 06 2000 Trond Eivind Glomsrd <teg@redhat.com> - removed configuraton file status from /usr/share/pixmaps/emacs.png Fri Mar 24 2000 Bernhard Rosenkraenzer <bero@redhat.com> - update to 20.6 and make it compile Mon Feb 21 2000 Preston Brown <pbrown@redhat.com> - add .emacs make the delete key work to delete forward character for X ver. Wed Feb 16 2000 Cristian Gafton <gafton@redhat.com> - fix bug #2988 - recompile patched .el files (suggested by Pavel.Janik@linux.cz) - prereq /sbin/install-info Mon Feb 07 2000 Preston Brown <pbrown@redhat.com> - wmconfig gone Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com> - fix descriptions and summary - fix permissions for emacs niaries (what the hell does 1755 means for a binary?) - added missing, as per emacs Changelog, NCURSES_OSPEED_T compilation flag; without it emacs on Linux is making global 'ospeed' short which is not the same as 'speed_t' expected by libraries. (reported by Michal Jaegermann <michal@harddata.com>) Mon Jan 10 2000 David S. Miller <davem@redhat.com> - Revert src/unexecelf.c to 20.4 version, fixes SPARC problems. Sun Jan 09 2000 Matt Wilson <msw@redhat.com> - strip emacs binary - disable optimizations for now, they cause illegal instructions on SPARC. Sun Jan 09 2000 Paul Fisher <pnfisher@redhat.com> - upgrade to 20.5a - remove python-mode, wheelmouse support, and auctex menu - import emacs.desktop with icon from GNOME Wed Dec 08 1999 Ngo Than <than@redhat.de> - added python-mode, wheelmouse support and auctex menu - added Comment[de] in emacs.desktop Sat Sep 25 1999 Preston Brown <pbrown@redhat.com> - added desktop entry Thu Sep 23 1999 Preston Brown <pbrown@redhat.com> - tried to fix triggers, hopefully working now. Wed Sep 01 1999 Preston Brown <pbrown@redhat.com> - added trigger for making symlink to /usr/bin/emacs in emacs-nox package Thu Jul 22 1999 Paul Fisher <pnfisher@redhat.com> - upgrade to 20.4 - cleaned up spec Fri Apr 16 1999 Owen Taylor <otaylor@redhat.com> - replace bad xemacs compiled .elc file for mh-e with one compiled on emacs Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> - make sure movemail doesn't get %defattr()'d to root.root Wed Apr 14 1999 Cristian Gafton <gafton@redhat.com> - patch to make it work with dxpc Wed Mar 31 1999 Preston Brown <pbrown@redhat.com> - updated mh-utils emacs lisp file to match our nmh path locations Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 9) Fri Feb 26 1999 Cristian Gafton <gafton@redhat.com> - linker scripts hack to make it build on the alpha Fri Jan 01 1999 Jeff Johnson <jbj@redhat.com> - add leim package (thanks to Pavel.Janik@inet.cz). Fri Dec 18 1998 Cristian Gafton <gafton@redhat.com> - build against glibc 2.1 Wed Sep 30 1998 Cristian Gafton <gafton@redhat.com> - backed up changes to uncompress.el (it seems that the one from 20.2 works much better) Mon Sep 28 1998 Jeff Johnson <jbj@redhat.com> - eliminate /tmp race in rcs2log Wed Sep 09 1998 Cristian Gafton <gafton@redhat.com> - upgrade to 20.3 Tue Jun 09 1998 Jeff Johnson <jbj@redhat.com> - add --with-pop to X11 compile. - include contents of /usr/share/.../etc with main package. Mon Jun 01 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr Mon Jun 01 1998 David S. Miller <davem@dm.cobaltmicro.com> - fix signals when linked with glibc on non-Intel architectures NOTE: This patch is not needed with emacs >20.2 Thu May 07 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr Thu May 07 1998 Cristian Gafton <gafton@redhat.com> - added /usr/lib/emacs/20.2/*-redhat-linux directory in the filelist Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com> - alpha started to like emacs-nox again :-) Thu Nov 06 1997 Michael Fulbright <msf@redhat.com> - alpha just doesnt like emacs-nox, taking it out for now Mon Nov 03 1997 Michael Fulbright <msf@redhat.com> - added multibyte support back into emacs 20.2 - added wmconfig for X11 emacs - fixed some errant buildroot references Thu Oct 23 1997 Michael Fulbright <msf@redhat.com> - joy a new version of emacs! Of note - no lockdir any more. - use post/preun sections to handle numerous GNU info files Mon Oct 06 1997 Erik Troan <ewt@redhat.com> - stopped stripping it as it seems to break things Sun Sep 14 1997 Erik Troan <ewt@redhat.com> - turned off ecoff support on the Alpha (which doesn't build anymore) Mon Jun 16 1997 Erik Troan <ewt@redhat.com> - built against glibc Fri Feb 07 1997 Michael K. Johnson <johnsonm@redhat.com> - Moved ctags to gctags to fit in the more powerful for C (but less general) exuberant ctags as the binary /usr/bin/ctags and the man page /usr/man/man1/ctags.1
This commit is contained in:
parent
0cea320d6d
commit
b39f9d1a90
@ -0,0 +1,2 @@
|
|||||||
|
emacs-20.7.tar.gz
|
||||||
|
leim-20.7.tar.gz
|
65
emacs.desktop
Normal file
65
emacs.desktop
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Emacs
|
||||||
|
Name[bg]=Emacs
|
||||||
|
Name[ca]=Emacs
|
||||||
|
Name[cs]=Emacs
|
||||||
|
Name[da]=Emacs
|
||||||
|
Name[de]=Emacs
|
||||||
|
Name[el]=Emacs
|
||||||
|
Name[es]=Emacs
|
||||||
|
Name[et]=Emacs
|
||||||
|
Name[eu]=Emacs
|
||||||
|
Name[fi]=Emacs
|
||||||
|
Name[fr]=Emacs
|
||||||
|
Name[ga]=Emacs
|
||||||
|
Name[gl]=Emacs
|
||||||
|
Name[it]=Emacs
|
||||||
|
Name[ja]=Emacs
|
||||||
|
Name[ko]=À̸ƽº
|
||||||
|
Name[nl]=Emacs
|
||||||
|
Name[no]=Emacs
|
||||||
|
Name[pl]=Emacs
|
||||||
|
Name[pt]=Emacs
|
||||||
|
Name[pt_BR]=Emacs
|
||||||
|
Name[ru]=Emacs
|
||||||
|
Name[sv]=Emacs
|
||||||
|
Name[tr]=Emacs
|
||||||
|
Name[uk]=Emacs
|
||||||
|
Name[wa]=Emacs
|
||||||
|
Name[zh_CN.GB2312]=Emacs
|
||||||
|
Name[zh_TW.Big5]=Emacs
|
||||||
|
Comment=Emacs text editor
|
||||||
|
Comment[bg]=Emacs òåêñòîâ ðåäàêòîð
|
||||||
|
Comment[ca]=L'editor de text Emacs
|
||||||
|
Comment[cs]=Textový editor Emacs
|
||||||
|
Comment[da]=Emacs tekstbehandleren
|
||||||
|
Comment[de]=Der Texteditor Emacs
|
||||||
|
Comment[el]=ÅðåîåñãáóôÞò êåéìÝíïõ Emacs
|
||||||
|
Comment[es]=Editor de textos Emacs
|
||||||
|
Comment[et]=tekstiredaktor Emacs
|
||||||
|
Comment[eu]=Emacs testu editorea
|
||||||
|
Comment[fi]=Emacs-editori
|
||||||
|
Comment[fr]=Editeur de texte Emacs
|
||||||
|
Comment[ga]=Eagarthóir Teacs Emacs
|
||||||
|
Comment[gl]=Editor de texto Emacs
|
||||||
|
Comment[hu]=Emacs szövegszerkesztõ
|
||||||
|
Comment[it]=Editor di testo Emacs
|
||||||
|
Comment[ja]=Emacs¥Æ¥¥¹¥È¥¨¥Ç¥£¥¿
|
||||||
|
Comment[ko]=À̸ƽº ¹®¼ ÆíÁý±â
|
||||||
|
Comment[nl]=Emacs tekst editor
|
||||||
|
Comment[no]=Teksteditoren Emacs
|
||||||
|
Comment[pl]=Edytor tekstu Emacs
|
||||||
|
Comment[pt]=Editor de texto Emacs
|
||||||
|
Comment[pt_BR]=Editor de texto Emacs
|
||||||
|
Comment[ru]=ôÅËÓÔÏ×ÙÊ ÒÅÄÁËÔÏÒ Emacs
|
||||||
|
Comment[sv]=Emacs texteditor
|
||||||
|
Comment[tr]=Emacs metin editörü
|
||||||
|
Comment[uk]=ôÅËÓÔÏ×ÉÊ ÒÅÄÁËÔÏÒ
|
||||||
|
Comment[wa]=L' aspougneu di tekse Emacs
|
||||||
|
Comment[zh_CN.GB2312]=Emacs ÎÄ×ֱ༩Æ÷
|
||||||
|
Comment[zh_TW.Big5]=Emacs ¤å¦r½s½r¾¹
|
||||||
|
TryExec=emacs
|
||||||
|
Exec=emacs
|
||||||
|
Icon=emacs.png
|
||||||
|
Terminal=0
|
||||||
|
Type=Application
|
571
emacs.spec
Normal file
571
emacs.spec
Normal file
@ -0,0 +1,571 @@
|
|||||||
|
Summary: The libraries needed to run the GNU Emacs text editor.
|
||||||
|
Name: emacs
|
||||||
|
Version: 20.7
|
||||||
|
Release: 14
|
||||||
|
Copyright: GPL
|
||||||
|
Group: Applications/Editors
|
||||||
|
Source0: ftp://ftp.gnu.org/gnu/emacs/emacs-%{version}.tar.gz
|
||||||
|
Source1: ftp://ftp.gnu.org/gnu/emacs/leim-%{version}.tar.gz
|
||||||
|
Source3: emacs.desktop
|
||||||
|
Source4: emacs.png
|
||||||
|
Source5: dotemacs
|
||||||
|
Source6: site-start.el
|
||||||
|
Source7: http://www.python.org/emacs/python-mode/python-mode.el
|
||||||
|
Source10: lisp-startup-localealias.patch
|
||||||
|
Patch0: emacs-20.7-xaw3d.patch
|
||||||
|
Patch2: emacs-20.3-tmprace.patch
|
||||||
|
Patch3: emacs-20.3-linkscr.patch
|
||||||
|
Patch4: emacs-20.4-nmhlocation.patch
|
||||||
|
Patch5: emacs-20.5-loadup.patch
|
||||||
|
Patch6: emacs-20.6-kbdbuffer.patch
|
||||||
|
Patch7: emacs-20.6-ia64.patch
|
||||||
|
Patch8: emacs-20.6-ia64-2.patch
|
||||||
|
Patch9: emacs-20.6-ia64-3.patch
|
||||||
|
Patch10: emacs-20.7-manboption.patch
|
||||||
|
|
||||||
|
%ifarch ia64
|
||||||
|
%define _payload_compression w3.gzdio
|
||||||
|
%endif
|
||||||
|
|
||||||
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
Prereq: /sbin/install-info
|
||||||
|
|
||||||
|
%description
|
||||||
|
Emacs is a powerful, customizable, self-documenting, modeless text
|
||||||
|
editor. Emacs contains special code editing features, a scripting
|
||||||
|
language (elisp), and the capability to read mail, news and more without
|
||||||
|
leaving the editor.
|
||||||
|
|
||||||
|
This package includes the libraries you need to run the Emacs editor, so
|
||||||
|
you need to install this package if you intend to use Emacs. You also
|
||||||
|
need to install the actual Emacs program package (emacs-nox or emacs-X11).
|
||||||
|
Install emacs-nox if you are not going to use the X Window System; install
|
||||||
|
emacs-X11 if you will be using X.
|
||||||
|
|
||||||
|
%package el
|
||||||
|
Summary: The sources for elisp programs included with Emacs.
|
||||||
|
Group: Applications/Editors
|
||||||
|
Requires: emacs
|
||||||
|
|
||||||
|
%description el
|
||||||
|
Emacs-el contains the emacs-elisp sources for many of the elisp
|
||||||
|
programs included with the main Emacs text editor package.
|
||||||
|
|
||||||
|
You need to install emacs-el only if you intend to modify any of the
|
||||||
|
Emacs packages or see some elisp examples.
|
||||||
|
|
||||||
|
%package leim
|
||||||
|
Summary: Emacs Lisp code for input methods for international characters.
|
||||||
|
Group: Applications/Editors
|
||||||
|
Requires: emacs
|
||||||
|
|
||||||
|
%description leim
|
||||||
|
The emacs-leim package contains Emacs Lisp code for input methods for
|
||||||
|
various international character scripts. Basically, the Lisp code
|
||||||
|
provided by this package describes the consecutive keystrokes that a
|
||||||
|
user must press in order to input a particular character in a
|
||||||
|
non-English character set. Input methods for many different language's
|
||||||
|
character sets are included in this package.
|
||||||
|
|
||||||
|
%package nox
|
||||||
|
Summary: The Emacs text editor without support for the X Window System.
|
||||||
|
Group: Applications/Editors
|
||||||
|
Requires: emacs
|
||||||
|
|
||||||
|
%description nox
|
||||||
|
Emacs-nox is the Emacs text editor program without support for
|
||||||
|
the X Window System.
|
||||||
|
|
||||||
|
You need to install this package only if you plan on exclusively using
|
||||||
|
Emacs without the X Window System (emacs-X11 will work both in X and out
|
||||||
|
of X, but emacs-nox will only work outside of X). You'll also need to
|
||||||
|
install the emacs package in order to run Emacs.
|
||||||
|
|
||||||
|
%package X11
|
||||||
|
Summary: The Emacs text editor for the X Window System.
|
||||||
|
Group: Applications/Editors
|
||||||
|
Requires: emacs
|
||||||
|
|
||||||
|
%description X11
|
||||||
|
Emacs-X11 includes the Emacs text editor program for use with the X
|
||||||
|
Window System (it provides support for the mouse and other GUI
|
||||||
|
elements). Emacs-X11 will also run Emacs outside of X, but it has a
|
||||||
|
larger memory footprint than the 'non-X' Emacs package (emacs-nox).
|
||||||
|
|
||||||
|
Install emacs-X11 if you're going to use Emacs with the X Window
|
||||||
|
System. You should also install emacs-X11 if you're going to run
|
||||||
|
Emacs both with and without X (it will work fine both ways). You'll
|
||||||
|
also need to install the emacs package in order to run Emacs.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
|
||||||
|
%setup -q -b 1
|
||||||
|
|
||||||
|
%patch0 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
|
%patch5 -p1
|
||||||
|
%patch6 -p1
|
||||||
|
%patch7 -p1
|
||||||
|
%patch8 -p1
|
||||||
|
%patch9 -p1
|
||||||
|
%patch10 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
PUREDEF="-DNCURSES_OSPEED_T"
|
||||||
|
XPUREDEF="-DNCURSES_OSPEED_T"
|
||||||
|
libtoolize --force --copy
|
||||||
|
autoconf
|
||||||
|
CONFOPTS="--mandir=%{_mandir} --infodir=%{_infodir} --prefix=/usr --libexecdir=/usr/lib --sharedstatedir=/var --with-gcc --with-pop"
|
||||||
|
|
||||||
|
BuildEmacs() {
|
||||||
|
dir=$1
|
||||||
|
configflags=$2
|
||||||
|
[ -d build-$1 ] && rm -rf build-$1
|
||||||
|
mkdir build-$1 && cd build-$1
|
||||||
|
CFLAGS="-DMAIL_USE_LOCKF $RPM_OPT_FLAGS $PUREDEF" LDFLAGS=-s \
|
||||||
|
../configure ${CONFOPTS} $2 ${RPM_ARCH}-redhat-linux-gnu
|
||||||
|
make
|
||||||
|
cd ..
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#Build binary with X support
|
||||||
|
BuildEmacs withx "--with-x-toolkit"
|
||||||
|
|
||||||
|
%define recompile build-withx/src/emacs -batch --no-init-file --no-site-file -f batch-byte-compile
|
||||||
|
|
||||||
|
#change the locale.alias for the nox builds
|
||||||
|
#patch lisp/startup.el %SOURCE10
|
||||||
|
#rm -fv lisp/startup.elc
|
||||||
|
#%{recompile} lisp/startup.el
|
||||||
|
|
||||||
|
#Build binary without X support
|
||||||
|
BuildEmacs nox "--with-x=no"
|
||||||
|
|
||||||
|
|
||||||
|
#change the locale.alias back for packaging
|
||||||
|
#patch -R lisp/startup.el %SOURCE10
|
||||||
|
#rm -fv lisp/startup.elc
|
||||||
|
#%{recompile} lisp/startup.el
|
||||||
|
|
||||||
|
# recompile patched .el files
|
||||||
|
%{recompile} lisp/mail/mh-utils.el
|
||||||
|
|
||||||
|
# bytecompile python-mode
|
||||||
|
cp %SOURCE7 .
|
||||||
|
%{recompile} python-mode.el
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/%{_infodir}
|
||||||
|
make install -C build-withx \
|
||||||
|
prefix=$RPM_BUILD_ROOT/usr \
|
||||||
|
libexecdir=$RPM_BUILD_ROOT/usr/lib \
|
||||||
|
sharedstatedir=$RPM_BUILD_ROOT/var \
|
||||||
|
mandir=$RPM_BUILD_ROOT/%{_mandir} \
|
||||||
|
infodir=$RPM_BUILD_ROOT/%{_infodir}
|
||||||
|
|
||||||
|
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
|
||||||
|
gzip -9nf $RPM_BUILD_ROOT/%{_infodir}/*
|
||||||
|
|
||||||
|
install -c -m755 build-nox/src/emacs $RPM_BUILD_ROOT/usr/bin/emacs-nox
|
||||||
|
install -m 644 %SOURCE6 $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/site-start.el
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/emacs/site-lisp
|
||||||
|
|
||||||
|
mv $RPM_BUILD_ROOT%{_mandir}/man1/ctags.1 $RPM_BUILD_ROOT%{_mandir}/man1/gctags.1
|
||||||
|
mv $RPM_BUILD_ROOT/usr/bin/ctags $RPM_BUILD_ROOT/usr/bin/gctags
|
||||||
|
|
||||||
|
|
||||||
|
# GNOME / KDE files
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Applications
|
||||||
|
install -c -m 0644 %SOURCE3 $RPM_BUILD_ROOT/etc/X11/applnk/Applications/
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
|
||||||
|
install -c -m 0644 %SOURCE4 $RPM_BUILD_ROOT/usr/share/pixmaps/
|
||||||
|
|
||||||
|
install -c -m644 build-nox/etc/DOC-* $RPM_BUILD_ROOT/usr/share/emacs/%{version}/etc
|
||||||
|
|
||||||
|
# Python mode
|
||||||
|
|
||||||
|
install -c -m0644 python-mode.el $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/
|
||||||
|
install -c -m0644 python-mode.elc $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/
|
||||||
|
|
||||||
|
# default initialization file
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/etc/skel
|
||||||
|
install -c -m0644 %SOURCE5 $RPM_BUILD_ROOT/etc/skel/.emacs
|
||||||
|
|
||||||
|
#
|
||||||
|
# create file lists
|
||||||
|
#
|
||||||
|
|
||||||
|
# Remove etags, ctags
|
||||||
|
|
||||||
|
rm -f $RPM_BUILD_ROOT/usr/bin/{ctags,etags}
|
||||||
|
rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/*tags*
|
||||||
|
|
||||||
|
|
||||||
|
find $RPM_BUILD_ROOT/usr/share/emacs/%{version}/lisp \
|
||||||
|
-name '*.elc' -print | sed "s^$RPM_BUILD_ROOT^^" > core-filelist
|
||||||
|
find $RPM_BUILD_ROOT/usr/share/emacs/%{version}/lisp \
|
||||||
|
-type d -printf "%%%%dir %%p\n" | sed "s^$RPM_BUILD_ROOT^^" >> core-filelist
|
||||||
|
find $RPM_BUILD_ROOT/usr/lib/emacs/%{version} -type f | \
|
||||||
|
sed "s^$RPM_BUILD_ROOT^^" | grep -v movemail >> core-filelist
|
||||||
|
|
||||||
|
# Include .el files which lack a corresponding byte compiled form
|
||||||
|
for I in `find $RPM_BUILD_ROOT/usr/share/emacs/%{version}/lisp \
|
||||||
|
-name '*.el'`; do
|
||||||
|
if [ ! -e `dirname $I`/`basename $I .el`.elc ]; then
|
||||||
|
echo $I | sed "s^$RPM_BUILD_ROOT^^"
|
||||||
|
fi
|
||||||
|
done >> core-filelist
|
||||||
|
|
||||||
|
# Include all non elisp files which emacs installs
|
||||||
|
find $RPM_BUILD_ROOT/usr/share/emacs/%{version}/lisp -type f | \
|
||||||
|
sed "s^$RPM_BUILD_ROOT^^" | grep -v "\.el\(c\)\?$" >> core-filelist
|
||||||
|
|
||||||
|
|
||||||
|
find $RPM_BUILD_ROOT/usr/share/emacs/%{version}/leim \
|
||||||
|
-name '*.elc' -print | sed "s^$RPM_BUILD_ROOT^^" > leim-filelist
|
||||||
|
find $RPM_BUILD_ROOT/usr/share/emacs/%{version}/leim \
|
||||||
|
-mindepth 1 -type d -printf "%%%%dir %%p\n" | \
|
||||||
|
sed "s^$RPM_BUILD_ROOT^^" >> leim-filelist
|
||||||
|
|
||||||
|
#
|
||||||
|
# be sure to exclude some files which are needed in the core package
|
||||||
|
#
|
||||||
|
for I in `find $RPM_BUILD_ROOT/usr/share/emacs/%{version}/lisp \
|
||||||
|
-name '*.el'`; do
|
||||||
|
if [ -e `dirname $I`/`basename $I .el`.elc ]; then
|
||||||
|
echo $I | sed "s^$RPM_BUILD_ROOT^^"
|
||||||
|
fi
|
||||||
|
done >> el-filelist
|
||||||
|
|
||||||
|
find $RPM_BUILD_ROOT/usr/share/emacs/%{version}/leim \
|
||||||
|
-name '*.el' -print | sed "s^$RPM_BUILD_ROOT^^" |\
|
||||||
|
grep -v "leim\/leim-list.el" >> el-filelist
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
rm -rf build-nox
|
||||||
|
rm -rf build-withx
|
||||||
|
|
||||||
|
%define info_files ccmode cl dired-x ediff emacs forms gnus info message mh-e reftex sc vip viper widget
|
||||||
|
%post
|
||||||
|
for f in %{info_files}; do
|
||||||
|
/sbin/install-info %{_infodir}/$f.gz %{_infodir}/dir --section="GNU Emacs"
|
||||||
|
done
|
||||||
|
|
||||||
|
%preun
|
||||||
|
if [ "$1" = 0 ]; then
|
||||||
|
for f in %{info_files}; do
|
||||||
|
/sbin/install-info --delete %{_infodir}/$f.gz %{_infodir}/dir \
|
||||||
|
--section="GNU Emacs"
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
%triggerin nox -- emacs-X11
|
||||||
|
if [ -L /usr/bin/emacs ]; then
|
||||||
|
rm /usr/bin/emacs
|
||||||
|
fi
|
||||||
|
|
||||||
|
%triggerpostun nox -- emacs-X11
|
||||||
|
[ $2 = 0 ] || exit 0
|
||||||
|
if [ ! -L /usr/bin/emacs ]; then
|
||||||
|
ln -sf emacs-nox /usr/bin/emacs
|
||||||
|
fi
|
||||||
|
|
||||||
|
%post nox
|
||||||
|
if [ ! -x /usr/bin/emacs -a ! -L /usr/bin/emacs ]; then
|
||||||
|
ln -sf emacs-nox /usr/bin/emacs
|
||||||
|
fi
|
||||||
|
|
||||||
|
%postun nox
|
||||||
|
[ $1 = 0 ] || exit 0
|
||||||
|
if [ -L /usr/bin/emacs ]; then
|
||||||
|
rm /usr/bin/emacs
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
%files -f core-filelist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%config(noreplace) /etc/skel/.emacs
|
||||||
|
%doc etc/NEWS BUGS README etc/FAQ
|
||||||
|
/usr/bin/b2m
|
||||||
|
/usr/bin/emacsclient
|
||||||
|
/usr/bin/rcs-checkin
|
||||||
|
%{_mandir}/*/*
|
||||||
|
%{_infodir}/*
|
||||||
|
/usr/share/emacs/site-lisp/python-mode.elc
|
||||||
|
/usr/share/emacs/site-lisp/subdirs.el
|
||||||
|
|
||||||
|
%dir /usr/lib/emacs
|
||||||
|
%dir /usr/lib/emacs/site-lisp
|
||||||
|
%dir /usr/lib/emacs/%{version}
|
||||||
|
%dir /usr/lib/emacs/%{version}/*
|
||||||
|
%attr(0755,root,root) /usr/lib/emacs/%{version}/*/movemail
|
||||||
|
|
||||||
|
%dir /usr/share/emacs/site-lisp
|
||||||
|
%attr(0644,root,root) %config(noreplace) /usr/share/emacs/site-lisp/site-start.el
|
||||||
|
|
||||||
|
%dir /usr/share/emacs/%{version}
|
||||||
|
%dir /usr/share/emacs/%{version}/site-lisp
|
||||||
|
%dir /usr/share/emacs/%{version}/leim
|
||||||
|
/usr/share/emacs/%{version}/etc
|
||||||
|
|
||||||
|
%files -f el-filelist el
|
||||||
|
%defattr(-,root,root)
|
||||||
|
/usr/share/emacs/site-lisp/python-mode.el
|
||||||
|
|
||||||
|
%files -f leim-filelist leim
|
||||||
|
%defattr(-,root,root)
|
||||||
|
/usr/share/emacs/%{version}/leim/leim-list.el
|
||||||
|
|
||||||
|
%files nox
|
||||||
|
%defattr(-,root,root)
|
||||||
|
/usr/bin/emacs-nox
|
||||||
|
|
||||||
|
%files X11
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%attr(755,root,root) /usr/bin/emacs
|
||||||
|
%attr(755,root,root) /usr/bin/emacs-%{version}
|
||||||
|
%config(missingok) /etc/X11/applnk/Applications/emacs.desktop
|
||||||
|
/usr/share/pixmaps/emacs.png
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Aug 24 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- define MAIL_USE_LOCKF
|
||||||
|
- remove setgid on movemail
|
||||||
|
|
||||||
|
* Mon Aug 07 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- add /usr/share/emacs/site-lisp/subdirs.el (#15639)
|
||||||
|
|
||||||
|
* Tue Jul 25 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- remove "-b" option from manpage
|
||||||
|
|
||||||
|
* Fri Jul 21 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- remove Japanese support
|
||||||
|
|
||||||
|
* Mon Jul 17 2000 Matt Wilson <msw@redhat.com>
|
||||||
|
- updated .desktop entry and icon
|
||||||
|
|
||||||
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
||||||
|
- automatic rebuild
|
||||||
|
|
||||||
|
* Fri Jul 07 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- fix some typos in spec file
|
||||||
|
|
||||||
|
* Sun Jul 02 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- make /etc/skel/.emacs 0644
|
||||||
|
|
||||||
|
* Wed Jun 28 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- include python mode and change in site-start.el related to this
|
||||||
|
- some changes to the default .emacs
|
||||||
|
|
||||||
|
* Mon Jun 26 2000 Matt Wilson <msw@redhat.com>
|
||||||
|
- don't build with -O2 on alpha until we can track down the compiler
|
||||||
|
bug that causes crashes in the garbage collector
|
||||||
|
- removed all the nox Japanese packages
|
||||||
|
|
||||||
|
* Mon Jun 19 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- include site-start.el as a a config file
|
||||||
|
- add aspell support via the above
|
||||||
|
|
||||||
|
* Fri Jun 16 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- (from MSW) different compression on IA64 to avoid hangs
|
||||||
|
- remove etags/ctags - use a separate package. Disable patch1
|
||||||
|
|
||||||
|
* Wed Jun 14 2000 Matt Wilson <msw@redhat.com>
|
||||||
|
- edited japanese patch not to patch configure
|
||||||
|
- fixed a missing escaped " in a wc string
|
||||||
|
- merge japanese support to head of development
|
||||||
|
|
||||||
|
* Tue Jun 13 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- Version 20.7
|
||||||
|
- Add requirement for final newline to the default .emacs
|
||||||
|
- redid the Xaw3d patch
|
||||||
|
- checked all patches, discarded those we've upstreamed
|
||||||
|
|
||||||
|
* Wed Jun 07 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- use %%{_mandir} and %%{_infodir}
|
||||||
|
|
||||||
|
* Fri Jun 2 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
- add yet another ia64 patch
|
||||||
|
|
||||||
|
* Mon May 22 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
- add another ia64 patch
|
||||||
|
|
||||||
|
* Fri May 19 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- Disabled the compile patch for 20.6
|
||||||
|
|
||||||
|
* Thu May 18 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
- add in ia64 patch
|
||||||
|
|
||||||
|
* Thu May 18 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- don't apply the unexelf patch - use a new unexelf.c file
|
||||||
|
from the 21 source tree (this will go into the 20.7 tree)
|
||||||
|
|
||||||
|
* Wed May 17 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- added patch by jakub to make it work with glibc2.2
|
||||||
|
|
||||||
|
* Mon May 08 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- fixed a problem with ange-ftp and kerberized ftp
|
||||||
|
|
||||||
|
* Mon May 08 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||||||
|
- rebuild with new Xaw3d
|
||||||
|
|
||||||
|
* Thu Apr 20 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- let the build system handle gzipping man pages and stripping
|
||||||
|
- added patch to increase keyboard buffer size
|
||||||
|
|
||||||
|
* Thu Apr 20 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- gzip man pages
|
||||||
|
|
||||||
|
* Thu Apr 20 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- added a security patch from RUS-CERT, which fixes
|
||||||
|
bugs mentioned in "Advisory 200004-01: GNU Emacs 20"
|
||||||
|
|
||||||
|
* Tue Apr 18 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- patched to detect bash2 scripts.
|
||||||
|
|
||||||
|
* Thu Apr 06 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- removed configuraton file status from /usr/share/pixmaps/emacs.png
|
||||||
|
|
||||||
|
* Fri Mar 24 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||||||
|
- update to 20.6 and make it compile
|
||||||
|
|
||||||
|
* Mon Feb 21 2000 Preston Brown <pbrown@redhat.com>
|
||||||
|
- add .emacs make the delete key work to delete forward character for X ver.
|
||||||
|
|
||||||
|
* Wed Feb 16 2000 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- fix bug #2988
|
||||||
|
- recompile patched .el files (suggested by Pavel.Janik@linux.cz)
|
||||||
|
- prereq /sbin/install-info
|
||||||
|
|
||||||
|
* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
|
||||||
|
- wmconfig gone
|
||||||
|
|
||||||
|
* Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- fix descriptions and summary
|
||||||
|
- fix permissions for emacs niaries (what the hell does 1755 means for a
|
||||||
|
binary?)
|
||||||
|
- added missing, as per emacs Changelog, NCURSES_OSPEED_T compilation
|
||||||
|
flag; without it emacs on Linux is making global 'ospeed' short which
|
||||||
|
is not the same as 'speed_t' expected by libraries. (reported by Michal
|
||||||
|
Jaegermann <michal@harddata.com>)
|
||||||
|
|
||||||
|
* Mon Jan 10 2000 David S. Miller <davem@redhat.com>
|
||||||
|
- Revert src/unexecelf.c to 20.4 version, fixes SPARC problems.
|
||||||
|
|
||||||
|
* Sun Jan 9 2000 Matt Wilson <msw@redhat.com>
|
||||||
|
- strip emacs binary
|
||||||
|
- disable optimizations for now, they cause illegal instructions on SPARC.
|
||||||
|
|
||||||
|
* Sun Jan 09 2000 Paul Fisher <pnfisher@redhat.com>
|
||||||
|
- upgrade to 20.5a
|
||||||
|
- remove python-mode, wheelmouse support, and auctex menu
|
||||||
|
- import emacs.desktop with icon from GNOME
|
||||||
|
|
||||||
|
* Wed Dec 08 1999 Ngo Than <than@redhat.de>
|
||||||
|
- added python-mode, wheelmouse support and auctex menu
|
||||||
|
- added Comment[de] in emacs.desktop
|
||||||
|
|
||||||
|
* Sat Sep 25 1999 Preston Brown <pbrown@redhat.com>
|
||||||
|
- added desktop entry
|
||||||
|
|
||||||
|
* Thu Sep 23 1999 Preston Brown <pbrown@redhat.com>
|
||||||
|
- tried to fix triggers, hopefully working now.
|
||||||
|
|
||||||
|
* Wed Sep 01 1999 Preston Brown <pbrown@redhat.com>
|
||||||
|
- added trigger for making symlink to /usr/bin/emacs in emacs-nox package
|
||||||
|
|
||||||
|
* Thu Jul 22 1999 Paul Fisher <pnfisher@redhat.com>
|
||||||
|
- upgrade to 20.4
|
||||||
|
- cleaned up spec
|
||||||
|
|
||||||
|
* Fri Apr 16 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
- replace bad xemacs compiled .elc file for mh-e with one compiled
|
||||||
|
on emacs
|
||||||
|
|
||||||
|
* Thu Apr 15 1999 Bill Nottingham <notting@redhat.com>
|
||||||
|
- make sure movemail doesn't get %defattr()'d to root.root
|
||||||
|
|
||||||
|
* Wed Apr 14 1999 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- patch to make it work with dxpc
|
||||||
|
|
||||||
|
* Wed Mar 31 1999 Preston Brown <pbrown@redhat.com>
|
||||||
|
- updated mh-utils emacs lisp file to match our nmh path locations
|
||||||
|
|
||||||
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- auto rebuild in the new build environment (release 9)
|
||||||
|
|
||||||
|
* Fri Feb 26 1999 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- linker scripts hack to make it build on the alpha
|
||||||
|
|
||||||
|
* Fri Jan 1 1999 Jeff Johnson <jbj@redhat.com>
|
||||||
|
- add leim package (thanks to Pavel.Janik@inet.cz).
|
||||||
|
|
||||||
|
* Fri Dec 18 1998 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- build against glibc 2.1
|
||||||
|
|
||||||
|
* Wed Sep 30 1998 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- backed up changes to uncompress.el (it seems that the one from 20.2 works
|
||||||
|
much better)
|
||||||
|
|
||||||
|
* Mon Sep 28 1998 Jeff Johnson <jbj@redhat.com>
|
||||||
|
- eliminate /tmp race in rcs2log
|
||||||
|
|
||||||
|
* Wed Sep 09 1998 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- upgrade to 20.3
|
||||||
|
|
||||||
|
* Tue Jun 9 1998 Jeff Johnson <jbj@redhat.com>
|
||||||
|
- add --with-pop to X11 compile.
|
||||||
|
- include contents of /usr/share/.../etc with main package.
|
||||||
|
|
||||||
|
* Mon Jun 01 1998 Prospector System <bugs@redhat.com>
|
||||||
|
- translations modified for de, fr
|
||||||
|
|
||||||
|
* Mon Jun 01 1998 David S. Miller <davem@dm.cobaltmicro.com>
|
||||||
|
- fix signals when linked with glibc on non-Intel architectures
|
||||||
|
NOTE: This patch is not needed with emacs >20.2
|
||||||
|
|
||||||
|
* Thu May 07 1998 Prospector System <bugs@redhat.com>
|
||||||
|
|
||||||
|
- translations modified for de, fr, tr
|
||||||
|
|
||||||
|
* Thu May 07 1998 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- added /usr/lib/emacs/20.2/*-redhat-linux directory in the filelist
|
||||||
|
|
||||||
|
* Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- alpha started to like emacs-nox again :-)
|
||||||
|
|
||||||
|
* Thu Nov 6 1997 Michael Fulbright <msf@redhat.com>
|
||||||
|
- alpha just doesnt like emacs-nox, taking it out for now
|
||||||
|
|
||||||
|
* Mon Nov 3 1997 Michael Fulbright <msf@redhat.com>
|
||||||
|
- added multibyte support back into emacs 20.2
|
||||||
|
- added wmconfig for X11 emacs
|
||||||
|
- fixed some errant buildroot references
|
||||||
|
|
||||||
|
* Thu Oct 23 1997 Michael Fulbright <msf@redhat.com>
|
||||||
|
- joy a new version of emacs! Of note - no lockdir any more.
|
||||||
|
- use post/preun sections to handle numerous GNU info files
|
||||||
|
|
||||||
|
* Mon Oct 06 1997 Erik Troan <ewt@redhat.com>
|
||||||
|
- stopped stripping it as it seems to break things
|
||||||
|
|
||||||
|
* Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
|
||||||
|
- turned off ecoff support on the Alpha (which doesn't build anymore)
|
||||||
|
|
||||||
|
* Mon Jun 16 1997 Erik Troan <ewt@redhat.com>
|
||||||
|
- built against glibc
|
||||||
|
|
||||||
|
* Fri Feb 07 1997 Michael K. Johnson <johnsonm@redhat.com>
|
||||||
|
- Moved ctags to gctags to fit in the more powerful for C (but less
|
||||||
|
general) exuberant ctags as the binary /usr/bin/ctags and the
|
||||||
|
man page /usr/man/man1/ctags.1
|
3104
python-mode.el
Normal file
3104
python-mode.el
Normal file
File diff suppressed because it is too large
Load Diff
9
site-start.el
Normal file
9
site-start.el
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
;; Aspell is a replacement for ispell
|
||||||
|
(setq-default ispell-program-name "aspell")
|
||||||
|
|
||||||
|
;; Add python support
|
||||||
|
(setq auto-mode-alist
|
||||||
|
(cons '("\\.py$" . python-mode) auto-mode-alist))
|
||||||
|
(setq interpreter-mode-alist
|
||||||
|
(cons '("python" . python-mode)
|
||||||
|
interpreter-mode-alist))
|
Loading…
Reference in New Issue
Block a user