2f2825c
# TODO: review desktop entry associations (does text/* work?)
7e0999b
# TODO: zero-length /usr/share/xemacs-21.5-b26/lisp/dump-paths.el
7e0999b
# TODO: non-ASCII in buffer tabs
7e0999b
48fc31b
%bcond_with     gtk
5f0e341
%bcond_with     wnn
48fc31b
%bcond_with     xaw3d
d8308e8
%bcond_with     xfs
48fc31b
%bcond_without  mule
9f259eb
%bcond_without  nox
1496ae4
%bcond_without  xim
9f259eb
%ifarch ia64
60ea3e1
# no-expdyn-ia64 patch, https://bugzilla.redhat.com/show_bug.cgi?id=106744#c39
9f259eb
%bcond_with     modules
9f259eb
%else
9f259eb
%bcond_without  modules
9f259eb
%endif
48fc31b
2f2825c
#global snap    20090311hg4626
e9de699
%global majver  21.5
2f2825c
0918460
Name:           xemacs
77761d7
Version:        21.5.31
6099603
Release:        2%{?snap:.%{snap}}%{?dist}
0918460
Summary:        Different version of Emacs
0918460
0918460
Group:          Applications/Editors
77761d7
License:        GPLv3+
0918460
URL:            http://www.xemacs.org/
2f2825c
%if 0%{?snap:1}
4b2a756
Source0:        %{name}-%{snap}.tar.xz
2f2825c
%else
e9de699
Source0:        http://ftp.xemacs.org/xemacs-%{majver}/xemacs-%{version}.tar.gz
2f2825c
%endif
0918460
Source1:        %{name}.png
7e0999b
Source2:        xemacs.desktop
7e0999b
Source3:        dotxemacs-init.el
7e0999b
Source4:        default.el
7e0999b
Source5:        xemacs-sitestart.el
5c56d55
Source6:        gnuclient.desktop
7e0999b
6099603
# Fedora-specific.  Don't run the check-features Makefile target.  It checks
6099603
# that necessary packages are installed, but they aren't installed while
6099603
# building an RPM.
77761d7
Patch0:         %{name}-21.5.25-mk-nochk-features.patch
6099603
# Experimental patch.  Fix WNN support.  This patch is no longer sufficient.
6099603
# WNN still doesn't work.
77761d7
Patch1:         %{name}-21.5.25-wnnfix-128362.patch
6099603
# Fedora-specific.  Don't force ISO-8859 fonts.
77761d7
Patch2:         %{name}-21.5.26-utf8-fonts.patch
6099603
# Experimental patch, to be sent upstream eventually.  Don't use
6099603
# -export-dynamic on IA64; leads to segfaults due to function pointer issues.
77761d7
Patch3:         %{name}-21.5.27-no-expdyn-ia64-106744.patch
6099603
# Fedora-specific.  Default to courier instead of lucidatypewriter.
77761d7
Patch4:         %{name}-21.5.28-courier-default.patch
6099603
# Applied upstream.  Support DESTDIR in the Makefiles.
77761d7
Patch5:         %{name}-21.5.29-destdir.patch
6099603
# Fedora-specific.  Recognize the Fedora X server.
77761d7
Patch6:         %{name}-21.5.29-x-server.patch
6099603
# Applied upstream.  Give view-mode-line-string a custom group.
6099603
Patch7:         %{name}-21.5.31-view-mode.patch
6099603
# Applied upstream.  Supply a missing argument to next-frame.
6099603
Patch8:         %{name}-21.5.31-get-other-frame.patch
6099603
# Linux-specific patch.  Eliminate unnecessary linkage in lib-src binaries.
6099603
Patch9:         %{name}-21.5.31-lib-src.patch
7e0999b
69c8b5c
BuildRequires:  autoconf
6cf0fa4
BuildRequires:  sed >= 3.95
aa5e6cd
BuildRequires:  texinfo
0918460
BuildRequires:  ncurses-devel
0918460
BuildRequires:  gpm-devel
0918460
BuildRequires:  pam-devel
0918460
BuildRequires:  zlib-devel
0918460
BuildRequires:  libjpeg-devel
499a12a
BuildRequires:  compface-devel
0918460
BuildRequires:  libpng-devel
0918460
BuildRequires:  libtiff-devel
77761d7
BuildRequires:  giflib-devel
9112171
BuildRequires:  desktop-file-utils
3206138
%if %{with mule}
0918460
BuildRequires:  Canna-devel
5f0e341
%if %{with wnn}
b30e41d
BuildRequires:  FreeWnn-devel
5f0e341
%endif # wnn
d1e938e
%endif # mule
7e0999b
BuildRequires:  xmkmf
7e0999b
BuildRequires:  libXau-devel
7e0999b
BuildRequires:  libXpm-devel
7e0999b
BuildRequires:  alsa-lib-devel
6f6b339
BuildRequires:  db4-devel
e9de699
BuildRequires:  gmp-devel
48fc31b
%if %{with gtk}
0918460
BuildRequires:  gtk+-devel
0918460
BuildRequires:  libglade-devel
9f259eb
%else  # gtk
9f259eb
BuildRequires:  xorg-x11-xbitmaps
48fc31b
%if %{with xaw3d}
0918460
BuildRequires:  Xaw3d-devel
9f259eb
%else  # xaw3d
b4dbf65
BuildRequires:  neXtaw-devel
b4dbf65
%endif # xaw3d
b4dbf65
%endif # gtk
9f259eb
BuildRequires:  libXft-devel
b5f5968
# Note: no xemacs-packages-extra dependency here, need main pkg to build it.
b5f5968
Requires:       xemacs-packages-base >= 20060510
a302836
Requires:       %{name}-common = %{version}-%{release}
5047c68
Requires:       xorg-x11-fonts-ISO8859-1-75dpi
5047c68
Requires:       xorg-x11-fonts-ISO8859-1-100dpi
2f2825c
Requires:       xorg-x11-fonts-misc
5c56d55
Requires(post): chkconfig
0413074
Requires(post): coreutils
5c56d55
Requires(postun): chkconfig
5c56d55
Requires(postun): coreutils
b5f5968
Provides:       xemacs(bin) = %{version}-%{release}
6173cdc
1496ae4
%global xver    %(echo %{version} | sed -e 's/\\.\\([0-9]\\+\\)$/-b\\1/')
1496ae4
%global xbuild  %(echo %{_build} | sed -e 's/^\\([^-]*-[^-]*-[^-]*\\).*/\\1/')
1496ae4
5dbc6e2
%description
6173cdc
XEmacs is a highly customizable open source text editor and
0918460
application development system.  It is protected under the GNU General
0918460
Public License and related to other versions of Emacs, in particular
0918460
GNU Emacs.  Its emphasis is on modern graphical user interface support
0918460
and an open software development model, similar to Linux.
6173cdc
48fc31b
This package contains XEmacs built for X Windows%{?with_mule: with MULE support}.
6173cdc
0918460
%package        common
0918460
Summary:        Byte-compiled lisp files and other common files for XEmacs
0918460
Group:          Applications/Editors
5c56d55
Requires:       %{name}-filesystem = %{version}-%{release}
5c56d55
Requires(post): chkconfig
5c56d55
Requires(preun): chkconfig
6173cdc
0918460
%description    common
6173cdc
XEmacs is a highly customizable open source text editor and
0918460
application development system.  It is protected under the GNU General
0918460
Public License and related to other versions of Emacs, in particular
0918460
GNU Emacs.  Its emphasis is on modern graphical user interface support
0918460
and an open software development model, similar to Linux.
6173cdc
6173cdc
This package contains byte-compiled lisp and other common files for XEmacs.
6173cdc
0918460
%package        nox
0918460
Summary:        Different version of Emacs built without X Windows support
0918460
Group:          Applications/Editors
b5f5968
# Note: no xemacs-packages* dependencies here, we need -nox to build the
b5f5968
# base package set.
a302836
Requires:       %{name}-common = %{version}-%{release}
5c56d55
Requires(post): chkconfig
0413074
Requires(post): coreutils
5c56d55
Requires(postun): chkconfig
b5f5968
Provides:       xemacs(bin) = %{version}-%{release}
6173cdc
0918460
%description    nox
6173cdc
XEmacs is a highly customizable open source text editor and
0918460
application development system.  It is protected under the GNU General
0918460
Public License and related to other versions of Emacs, in particular
0918460
GNU Emacs.  Its emphasis is on modern graphical user interface support
0918460
and an open software development model, similar to Linux.
6173cdc
6173cdc
This package contains XEmacs built without X Windows support.
6173cdc
6f6b339
%package        xft
6f6b339
Summary:        Different version of Emacs built with Xft/fontconfig support
6f6b339
Group:          Applications/Editors
6f6b339
Requires:       %{name}-common = %{version}-%{release}
6f6b339
Requires:       xemacs-packages-base >= 20060510
5c56d55
Requires(post): chkconfig
6f6b339
Requires(post): coreutils
5c56d55
Requires(postun): chkconfig
6f6b339
Provides:       xemacs(bin) = %{version}-%{release}
6f6b339
6f6b339
%description    xft
6f6b339
XEmacs is a highly customizable open source text editor and
6f6b339
application development system.  It is protected under the GNU General
6f6b339
Public License and related to other versions of Emacs, in particular
6f6b339
GNU Emacs.  Its emphasis is on modern graphical user interface support
6f6b339
and an open software development model, similar to Linux.
6f6b339
6f6b339
This package contains XEmacs built with Xft and fontconfig support.
6f6b339
0918460
%package        el
0918460
Summary:        Emacs lisp source files for XEmacs
0918460
Group:          Development/Libraries
5c56d55
Requires:       %{name}-filesystem = %{version}-%{release}
6173cdc
0918460
%description    el
6173cdc
XEmacs is a highly customizable open source text editor and
0918460
application development system.  It is protected under the GNU General
0918460
Public License and related to other versions of Emacs, in particular
0918460
GNU Emacs.  Its emphasis is on modern graphical user interface support
0918460
and an open software development model, similar to Linux.
6173cdc
0918460
This package contains the lisp source files for XEmacs, mainly of
0918460
interest when developing or debugging XEmacs itself.
6173cdc
0918460
%package        info
a2e9977
Summary:        XEmacs documentation in GNU texinfo format
0918460
Group:          Documentation
1496ae4
%if 0%{?fedora} >= 10
1496ae4
BuildArch:      noarch
1496ae4
%endif
5c56d55
Requires(post): info
5c56d55
Requires(preun): info
6173cdc
0918460
%description    info
6173cdc
XEmacs is a highly customizable open source text editor and
0918460
application development system.  It is protected under the GNU General
0918460
Public License and related to other versions of Emacs, in particular
0918460
GNU Emacs.  Its emphasis is on modern graphical user interface support
0918460
and an open software development model, similar to Linux.
6173cdc
0918460
This package contains XEmacs documentation in GNU texinfo format.
6173cdc
9f259eb
%package        devel
9f259eb
Summary:        Development files for XEmacs
9f259eb
Group:          Development/Libraries
9f259eb
Requires:       %{name} = %{version}-%{release}
69c8b5c
Requires:       pkgconfig
9f259eb
9f259eb
%description    devel
9f259eb
XEmacs is a highly customizable open source text editor and
9f259eb
application development system.  It is protected under the GNU General
9f259eb
Public License and related to other versions of Emacs, in particular
9f259eb
GNU Emacs.  Its emphasis is on modern graphical user interface support
9f259eb
and an open software development model, similar to Linux.
9f259eb
9f259eb
This package contains XEmacs development support files.
9f259eb
5c56d55
%package        filesystem
5c56d55
Summary:        XEmacs filesystem layout
5c56d55
Group:          Applications/Editors
a6da04b
%if 0%{?fedora} >= 10
a6da04b
BuildArch:      noarch
a6da04b
%endif
5c56d55
5c56d55
%description    filesystem
5c56d55
XEmacs is a highly customizable open source text editor and
5c56d55
application development system.  It is protected under the GNU General
5c56d55
Public License and related to other versions of Emacs, in particular
5c56d55
GNU Emacs.  Its emphasis is on modern graphical user interface support
5c56d55
and an open software development model, similar to Linux.
5c56d55
5c56d55
This package contains directories that are required by other packages that
5c56d55
add functionality to XEmacs.
6173cdc
6173cdc
%prep
2f2825c
%setup -q -n %{name}-%{?snap:beta}%{!?snap:%{version}}
9685d6a
find . -type f -name "*.elc" -o -name "*.info*" | xargs rm -f
7e0999b
rm -f configure.in
7e0999b
sed -i -e /tetris/d lisp/menubar-items.el
77761d7
%patch0
77761d7
%patch1
77761d7
%patch2
77761d7
%patch3
77761d7
%patch4
77761d7
%patch5
77761d7
%patch6
6099603
%patch7
6099603
%patch8
6099603
%patch9
41624d1
41624d1
sed -i -e 's/"lib"/"%{_lib}"/' lisp/setup-paths.el
6173cdc
77761d7
autoconf --force # for DESTDIR and NO-EXPDYN-IA64 patches
69c8b5c
39897cb
for f in man/lispref/mule.texi man/xemacs-faq.texi CHANGES-beta ; do
77761d7
    iconv -f iso-8859-1 -t utf-8 -o $f.utf8 $f
77761d7
    touch -r $f $f.utf8
77761d7
    mv -f $f.utf8 $f
7e0999b
done
7e0999b
6173cdc
6173cdc
%build
9f259eb
%if %{with gtk}
5c56d55
CFLAGS="$CFLAGS $(pkg-config libglade --cflags) -fno-strict-aliasing"
5c56d55
%else
5c56d55
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
9f259eb
%endif
388aeb8
export CFLAGS
499a12a
export EMACSLOADPATH=$PWD/lisp:$PWD/lisp/mule
6173cdc
69c8b5c
# The --with-*dir args can probably go away in the future if/when upstream
69c8b5c
# configure learns to honor standard autofoo dirs better.
6173cdc
common_options="
69c8b5c
    --mandir=%{_mandir}/man1
69c8b5c
    --with-archlibdir=%{_libdir}/xemacs-%{xver}/%{xbuild}
69c8b5c
%if %{with modules}
69c8b5c
    --with-moduledir=%{_libdir}/xemacs-%{xver}/%{xbuild}/modules
69c8b5c
%endif
69c8b5c
    --with-lispdir=%{_datadir}/xemacs-%{xver}/lisp
69c8b5c
    --with-etcdir=%{_datadir}/xemacs-%{xver}/etc
7e0999b
    --with-system-packages=%{_datadir}/xemacs
4183148
    --without-msw
4183148
%if %{with mule}
4183148
    --with-mule
4183148
%endif
7e0999b
    --with-clash-detection
6f6b339
    --with-database=berkdb
7e0999b
    --without-ldap
4183148
    --without-postgresql
4183148
    --with-mail-locking=lockf
4183148
    --with-pop
7e0999b
    --without-hesiod
6173cdc
%ifarch alpha ia64 ppc64
7e0999b
    --with-system-malloc
6173cdc
%endif
4183148
    --with-pdump
9f259eb
%if ! %{with modules}
7e0999b
    --without-modules
6173cdc
%endif
4183148
    --with-debug
4183148
    --with-error-checking=none
e9de699
    --enable-bignum=gmp
6099603
    --with-union-type
6173cdc
"
6173cdc
9f259eb
%if %{with nox}
0918460
# build without X
7e0999b
%configure $common_options \
9f259eb
    --with-docdir=%{_libdir}/xemacs-%{xver}/doc-nox \
7e0999b
    --with-sound=none \
4183148
    --with-xim=no \
7e0999b
    --without-canna \
7e0999b
    --without-wnn \
4183148
    --without-x
499a12a
make EMACSDEBUGPATHS=yes # toplevel parallel make fails
6173cdc
mv lib-src/DOC{,-nox}
7e0999b
mv src/xemacs{,-nox-%{xver}}
6173cdc
mv lib-src/config.values{,-nox}
2f2825c
mv Installation{,-nox}
9f259eb
# grab these from -nox, the X ones may have deps on ALSA, X, etc
77761d7
for file in {e,oo}tags gnuserv {fake,move}mail ; do
9f259eb
    mv lib-src/$file{,-mindep}
9f259eb
done
9f259eb
%endif # nox
6173cdc
6f6b339
# build with Xft
6f6b339
%configure $common_options \
6f6b339
    --with-docdir=%{_libdir}/xemacs-%{xver}/doc-xft \
6f6b339
    --with-sound=nonative,alsa \
6f6b339
    --with-xft=all \
6f6b339
%if %{with gtk}
6f6b339
    --with-gtk \
6f6b339
    --with-gnome \
6f6b339
%else
6f6b339
    --with-athena=%{?with_xaw3d:3d}%{!?with_xaw3d:next} \
6f6b339
    --with-menubars=lucid \
6f6b339
    --with-widgets=athena \
6f6b339
    --with-dialogs=athena \
6f6b339
    --with-scrollbars=lucid \
6f6b339
    --with-xim=%{?with_xim:xlib}%{!?with_xim:no} \
6f6b339
%endif
6f6b339
%if ! %{with wnn}
6f6b339
    --without-wnn
6f6b339
%endif
6f6b339
make EMACSDEBUGPATHS=yes # toplevel parallel make fails
6f6b339
mv lib-src/DOC{,-xft}
6f6b339
mv src/xemacs{,-xft-%{xver}}
6f6b339
mv lib-src/config.values{,-xft}
6f6b339
mv Installation{,-xft}
6f6b339
0918460
# build with X
7e0999b
%configure $common_options \
4183148
    --with-docdir=%{_libdir}/xemacs-%{xver}/doc \
e9de699
    --with-sound=nonative,alsa \
4183148
%if %{with xft}
4183148
    --with-xft=all \
4183148
%else
d8308e8
%if %{with xfs}
4183148
    --with-xfs \
4183148
%endif
d8308e8
%endif
48fc31b
%if %{with gtk}
7e0999b
    --with-gtk \
7e0999b
    --with-gnome \
0918460
%else
7e0999b
    --with-athena=%{?with_xaw3d:3d}%{!?with_xaw3d:next} \
7e0999b
    --with-menubars=lucid \
4183148
    --with-widgets=athena \
7e0999b
    --with-dialogs=athena \
4183148
    --with-scrollbars=lucid \
1496ae4
    --with-xim=%{?with_xim:xlib}%{!?with_xim:no} \
0918460
%endif
5f0e341
%if ! %{with wnn}
4183148
    --without-wnn
9f259eb
%endif
4183148
499a12a
make EMACSDEBUGPATHS=yes # toplevel parallel make fails
6173cdc
69c8b5c
cat << \EOF > xemacs.pc
69c8b5c
prefix=%{_prefix}
69c8b5c
%if %{with modules}
69c8b5c
includedir=%{_libdir}/xemacs-%{xver}/%{xbuild}/include
69c8b5c
sitemoduledir=%{_libdir}/xemacs/site-modules
69c8b5c
%endif
69c8b5c
sitestartdir=%{_datadir}/xemacs/site-packages/lisp/site-start.d
69c8b5c
sitepkglispdir=%{_datadir}/xemacs/site-packages/lisp
69c8b5c
69c8b5c
Name: xemacs
69c8b5c
Description: Different version of Emacs
69c8b5c
Version: %{version}
69c8b5c
%if %{with modules}
69c8b5c
Cflags: -I${includedir}
69c8b5c
%endif
69c8b5c
EOF
69c8b5c
99272aa
cat > macros.xemacs << EOF
e9de699
%%_xemacs_version %{majver}
99272aa
%%_xemacs_ev %{?epoch:%{epoch}:}%{version}
99272aa
%%_xemacs_evr %{?epoch:%{epoch}:}%{version}-%{release}
99272aa
%%_xemacs_sitepkgdir %{_datadir}/xemacs/site-packages
99272aa
%%_xemacs_sitelispdir %{_datadir}/xemacs/site-packages/lisp
99272aa
%%_xemacs_sitestartdir %{_datadir}/xemacs/site-packages/lisp/site-start.d
5c56d55
%%_xemacs_bytecompile /usr/bin/xemacs -q -no-site-file -batch -eval '(push "." load-path)' -f batch-byte-compile
99272aa
%if %{with modules}
99272aa
%%_xemacs_includedir %{_libdir}/xemacs-%{xver}/%{xbuild}/include
99272aa
%%_xemacs_sitemoduledir %{_libdir}/xemacs/site-modules
99272aa
%endif
99272aa
EOF
6173cdc
6173cdc
%install
9f259eb
%if %{with nox}
9f259eb
# restore binaries with less dependencies; note: no -p nor move
9f259eb
for file in lib-src/*-mindep ; do cp $file ${file%%-mindep} ; done
9f259eb
%endif
9f259eb
69c8b5c
make install DESTDIR=$RPM_BUILD_ROOT
6173cdc
9f259eb
%if %{with nox}
6173cdc
# install nox files
9f259eb
echo ".so man1/xemacs.1" > $RPM_BUILD_ROOT%{_mandir}/man1/xemacs-nox.1
7e0999b
install -pm 755 src/xemacs-nox-%{xver} $RPM_BUILD_ROOT%{_bindir}
7e0999b
ln -s xemacs-nox-%{xver} $RPM_BUILD_ROOT%{_bindir}/xemacs-nox
7e0999b
install -dm 755 $RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/doc-nox
7e0999b
install -pm 644 lib-src/DOC-nox \
7e0999b
    $RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/doc-nox/DOC
0918460
install -pm 644 lib-src/config.values-nox \
7e0999b
    $RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/doc-nox/config.values
9f259eb
%endif # nox
6173cdc
6f6b339
# install xft files
6f6b339
echo ".so man1/xemacs.1" > $RPM_BUILD_ROOT%{_mandir}/man1/xemacs-xft.1
6f6b339
install -pm 755 src/xemacs-xft-%{xver} $RPM_BUILD_ROOT%{_bindir}
6f6b339
ln -s xemacs-xft-%{xver} $RPM_BUILD_ROOT%{_bindir}/xemacs-xft
6f6b339
install -dm 755 $RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/doc-xft
6f6b339
install -pm 644 lib-src/DOC-xft \
6f6b339
    $RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/doc-xft/DOC
6f6b339
install -pm 644 lib-src/config.values-xft \
6f6b339
    $RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/doc-xft/config.values
6f6b339
6173cdc
# these clash with GNU Emacs
0918460
mv $RPM_BUILD_ROOT%{_bindir}/etags{,.xemacs}
0918460
rm -f $RPM_BUILD_ROOT%{_bindir}/{ctags,rcs-checkin,b2m}
48fc31b
mv $RPM_BUILD_ROOT%{_mandir}/man1/etags{,.xemacs}.1
48fc31b
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/ctags.1
6173cdc
0918460
# these clash with other packages
0918460
rm -f $RPM_BUILD_ROOT%{_infodir}/info*
0918460
rm -f $RPM_BUILD_ROOT%{_infodir}/standards*
0918460
rm -f $RPM_BUILD_ROOT%{_infodir}/termcap*
0918460
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
6173cdc
d0cdbb4
desktop-file-install --mode=644 --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
7e0999b
    %{SOURCE2}
6173cdc
d0cdbb4
desktop-file-install --mode=644 --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
5c56d55
    %{SOURCE6}
5c56d55
6173cdc
# site-start.el
7e0999b
install -dm 755 \
7e0999b
    $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp/site-start.d
7e0999b
install -pm 644 %{SOURCE5} \
7e0999b
    $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp/site-start.el
6173cdc
6173cdc
# default.el
7e0999b
install -pm 644 %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp
6173cdc
6173cdc
# default user init file
7e0999b
install -Dpm 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/skel/.xemacs/init.el
6173cdc
6173cdc
# icon
48fc31b
install -Dpm 644 %{SOURCE1} \
7e0999b
    $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/xemacs.png
6173cdc
99272aa
# macro file
99272aa
install -Dpm 644 macros.xemacs $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.xemacs
99272aa
0c3befe
# Empty directories for external packages to use
0c3befe
mkdir -m 0755 $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/etc
0c3befe
mkdir -m 0755 $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/info
0c3befe
mkdir -m 0755 $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lib-src
0c3befe
mkdir -m 0755 $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/man
0c3befe
mkdir -m 0755 $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/pkginfo
0c3befe
0918460
# make sure nothing is 0400
0918460
chmod -R a+rX $RPM_BUILD_ROOT%{_prefix}
e9de699
chmod a+x $RPM_BUILD_ROOT%{_datadir}/xemacs-%{xver}%{_sysconfdir}/xemacs-fe.sh
6173cdc
7e0999b
# clean up unneeded stuff (TODO: there's probably much more)
4183148
find $RPM_BUILD_ROOT%{_prefix} -name "*~" | xargs -r rm
69c8b5c
rm $RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/%{xbuild}/gzip-el.sh
9f259eb
rm $RPM_BUILD_ROOT{%{_bindir}/gnuattach,%{_mandir}/man1/gnuattach.1}
7e0999b
cd $RPM_BUILD_ROOT%{_datadir}/xemacs-%{xver}/etc
77761d7
rm -r InstallGuide tests XKeysymDB *.1
48fc31b
cd -
48fc31b
6173cdc
# separate files
6173cdc
rm -f *.files base-files el-files info-files
0918460
echo "%%defattr(-,root,root,-)" > base-files
0918460
echo "%%defattr(-,root,root,-)" > el-files
0918460
echo "%%defattr(-,root,root,-)" > info-files
0918460
5c56d55
find $RPM_BUILD_ROOT%{_datadir}/xemacs{-%{xver},/site-packages/lisp/*} \
0918460
  \( -type f -not -name '*.el' -fprint base-non-el.files \) -o \
0918460
  \( -type d -name info -fprint info.files -prune \) -o \
5c56d55
  \( -type d -not -name site-start.d -fprintf dir.files "%%%%dir %%p\n" \) -o \
0918460
  \( -name '*.el' \( -exec test -e '{}'c \; -fprint el-bytecomped.files -o \
0918460
     -fprint base-el-not-bytecomped.files \) \)
0918460
sed -i -e "s|$RPM_BUILD_ROOT||" *.files
6173cdc
6173cdc
# make site-packages lisp files config files
48fc31b
sed -i -e 's|^\(.*/site-packages/lisp/.*\)$|%%config(noreplace) \1|' \
0918460
  base-el-not-bytecomped.files
0918460
6173cdc
# combine the file lists
6173cdc
cat base-*.files dir.files >> base-files
a302836
cat el-*.files >> el-files
6173cdc
cat info.files >> info-files
6173cdc
69c8b5c
install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc
69c8b5c
6173cdc
9112171
%post
7e0999b
%{_sbindir}/alternatives --install %{_bindir}/xemacs xemacs \
0413074
    %{_bindir}/xemacs-%{xver} 80
0413074
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
9112171
9112171
%postun
41624d1
[ -e %{_bindir}/xemacs-%{xver} ] || \
0413074
%{_sbindir}/alternatives --remove xemacs %{_bindir}/xemacs-%{xver}
1496ae4
if [ $1 -eq 0 ] ; then
1496ae4
    update-desktop-database %{_datadir}/applications &>/dev/null
1496ae4
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
1496ae4
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null
0413074
fi
9112171
1496ae4
%posttrans
1496ae4
update-desktop-database %{_datadir}/applications &>/dev/null
1496ae4
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
1496ae4
7e0999b
%post nox
7e0999b
%{_sbindir}/alternatives --install %{_bindir}/xemacs xemacs \
7e0999b
    %{_bindir}/xemacs-nox-%{xver} 40 || :
7e0999b
7e0999b
%postun nox
41624d1
[ -e %{_bindir}/xemacs-nox-%{xver} ] || \
7e0999b
%{_sbindir}/alternatives --remove xemacs %{_bindir}/xemacs-nox-%{xver} || :
7e0999b
6f6b339
%post xft
6f6b339
%{_sbindir}/alternatives --install %{_bindir}/xemacs xemacs \
6f6b339
    %{_bindir}/xemacs-xft-%{xver} 40 || :
6f6b339
6f6b339
%postun xft
6f6b339
[ -e %{_bindir}/xemacs-xft-%{xver} ] || \
6f6b339
%{_sbindir}/alternatives --remove xemacs %{_bindir}/xemacs-xft-%{xver} || :
6f6b339
6173cdc
%post common
7452c81
%{_sbindir}/alternatives --install %{_bindir}/etags etags \
7e0999b
    %{_bindir}/etags.xemacs 40 || :
6173cdc
6173cdc
%preun common
7e0999b
[ $1 -ne 0 ] || \
7e0999b
%{_sbindir}/alternatives --remove etags %{_bindir}/etags.xemacs || :
6173cdc
6173cdc
%post info
0918460
for file in xemacs cl internals lispref new-users-guide ; do
0413074
    /sbin/install-info %{_infodir}/$file.info %{_infodir}/dir
6173cdc
done
0413074
:
5dbc6e2
6173cdc
%preun info
0918460
if [ $1 -eq 0 ] ; then
7e0999b
    for file in xemacs cl internals lispref new-users-guide ; do
0413074
        /sbin/install-info --delete %{_infodir}/$file.info %{_infodir}/dir
7e0999b
    done
6173cdc
fi
0413074
:
6173cdc
6173cdc
6173cdc
%files
0918460
%defattr(-,root,root,-)
2f2825c
%doc Installation
9f259eb
# gnuclient needs X libs, so not in -common
9f259eb
%{_bindir}/gnuclient
9f259eb
%{_bindir}/gnudoit
7e0999b
%ghost %{_bindir}/xemacs
7e0999b
%{_bindir}/xemacs-%{xver}
7e0999b
%{_libdir}/xemacs-%{xver}/doc/
9f259eb
%if %{with modules}
47b7f57
%if %{with mule}
69c8b5c
%{_libdir}/xemacs-%{xver}/%{xbuild}/modules/canna_api.ell
9f259eb
%endif
47b7f57
%endif
d0cdbb4
%{_datadir}/applications/%{name}.desktop
5c56d55
%{_datadir}/applications/gnuclient.desktop
48fc31b
%{_datadir}/icons/hicolor/48x48/apps/xemacs.png
48fc31b
%{_mandir}/man1/gnuclient.1*
9f259eb
%{_mandir}/man1/gnudoit.1*
6173cdc
9f259eb
%if %{with nox}
6173cdc
%files nox
0918460
%defattr(-,root,root,-)
2f2825c
%doc Installation-nox
7e0999b
%ghost %{_bindir}/xemacs
6173cdc
%{_bindir}/xemacs-nox
7e0999b
%{_bindir}/xemacs-nox-%{xver}
7e0999b
%{_libdir}/xemacs-%{xver}/doc-nox/
9f259eb
%{_mandir}/man1/xemacs-nox.1*
9f259eb
%endif
6173cdc
6f6b339
%files xft
6f6b339
%defattr(-,root,root,-)
6f6b339
%doc Installation-xft
6f6b339
%ghost %{_bindir}/xemacs
6f6b339
%{_bindir}/xemacs-xft
6f6b339
%{_bindir}/xemacs-xft-%{xver}
6f6b339
%{_libdir}/xemacs-%{xver}/doc-xft/
6f6b339
%{_mandir}/man1/xemacs-xft.1*
6f6b339
6173cdc
%files common -f base-files
0918460
%defattr(-,root,root,-)
7e0999b
%doc INSTALL README COPYING PROBLEMS CHANGES-beta etc/NEWS etc/TUTORIAL
48fc31b
%{_bindir}/etags.xemacs
48fc31b
%{_bindir}/ootags
2f2825c
%{_bindir}/xemacs-script
69c8b5c
%dir %{_libdir}/xemacs-%{xver}/
69c8b5c
%dir %{_libdir}/xemacs-%{xver}/%{xbuild}/
69c8b5c
%{_libdir}/xemacs-%{xver}/%{xbuild}/[acdfghprsvwy]*
69c8b5c
%{_libdir}/xemacs-%{xver}/%{xbuild}/m[am]*
69c8b5c
%{_libdir}/xemacs-%{xver}/%{xbuild}/movemail
9f259eb
%if %{with modules}
4183148
%{_libdir}/xemacs/
69c8b5c
%dir %{_libdir}/xemacs-%{xver}/%{xbuild}/modules/
69c8b5c
%{_libdir}/xemacs-%{xver}/%{xbuild}/modules/auto-autoloads.elc
9f259eb
%endif
b1f8da4
%config(noreplace) %{_sysconfdir}/rpm/macros.xemacs
48fc31b
%config(noreplace) %{_sysconfdir}/skel/.xemacs/
48fc31b
%{_mandir}/man1/etags.xemacs.1*
9f259eb
%{_mandir}/man1/gnuserv.1*
9f259eb
%{_mandir}/man1/xemacs.1*
6173cdc
6173cdc
%files el -f el-files
0918460
%defattr(-,root,root,-)
9f259eb
%if %{with modules}
69c8b5c
%{_libdir}/xemacs-%{xver}/%{xbuild}/modules/auto-autoloads.el
9f259eb
%endif
6173cdc
6173cdc
%files info -f info-files
0918460
%defattr(-,root,root,-)
c205855
%doc COPYING
0918460
%{_infodir}/*.info*
6173cdc
9f259eb
%files devel
9f259eb
%defattr(-,root,root,-)
69c8b5c
%if %{with modules}
9f259eb
%{_bindir}/ellcc
69c8b5c
%{_libdir}/xemacs-%{xver}/%{xbuild}/include/
4183148
%endif
69c8b5c
%{_libdir}/pkgconfig/xemacs.pc
9f259eb
5c56d55
%files filesystem
5c56d55
%defattr(-,root,root,-)
5c56d55
%dir %{_datadir}/xemacs
5c56d55
%dir %{_datadir}/xemacs/site-lisp
5c56d55
%dir %{_datadir}/xemacs/site-packages
5c56d55
%dir %{_datadir}/xemacs/site-packages/etc
5c56d55
%dir %{_datadir}/xemacs/site-packages/info
5c56d55
%dir %{_datadir}/xemacs/site-packages/lib-src
5c56d55
%dir %{_datadir}/xemacs/site-packages/lisp
5c56d55
%dir %{_datadir}/xemacs/site-packages/lisp/site-start.d
5c56d55
%dir %{_datadir}/xemacs/site-packages/man
5c56d55
%dir %{_datadir}/xemacs/site-packages/pkginfo
6173cdc
6173cdc
%changelog
6099603
* Fri Aug  5 2011 Jerry James <loganjerry@gmail.com> - 21.5.31-2
6099603
- Build --with-union-type to avoid a make-int bug in lisp-disunion.h
6099603
- Add view-mode patch (bz 709399)
6099603
- Add get-other-frame patch from upstream
6099603
- Add lib-src patch to eliminate unnecessary linkage
6099603
77761d7
* Tue May  3 2011 Jerry James <loganjerry@gmail.com> - 21.5.31-1
77761d7
- Update to 21.5.31
77761d7
- License is now GPLv3+
77761d7
- Drop upstreamed patches: x-paths, image-overflow, no-xft, png, tty-font,
77761d7
  etags-memmove, arabic, dired, infodir
77761d7
- Rebase and renumber remaining patches
77761d7
- Drop workaround for ancient alternatives bug
77761d7
a6da04b
* Tue Mar  1 2011 Jerry James <loganjerry@gmail.com> - 21.5.29-18
a6da04b
- Make -filesystem subpackage be noarch.
a6da04b
5c56d55
* Tue Mar  1 2011 Jerry James <loganjerry@gmail.com> - 21.5.29-17
5c56d55
- Add filesystem subpackage (bz 672093).
5c56d55
- Add gnuclient desktop file.
5c56d55
- Fix CFLAGS so -fno-strict-aliasing actually gets used.
5c56d55
- Add . to the default load-path in _xemacs_bytecompile.
5c56d55
- Update Requires for pre/post(un) scripts.
5c56d55
e758946
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 21.5.29-16
e758946
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e758946
c205855
* Wed Dec  1 2010 Jerry James <loganjerry@gmail.com> - 21.5.29-15
c205855
- Don't create /var/lock/xemacs; it is not used (bz 656723).
c205855
- Drop the BuildRoot tag.
c205855
- Ship COPYING with the -info subpackage.
c205855
0c3befe
* Wed Nov 10 2010 Jerry James <loganjerry@gmail.com> - 21.5.29-14
0c3befe
- Create and own subdirectories of site-packages
0c3befe
6f6b339
* Tue Jul  6 2010 Jerry James <loganjerry@gmail.com> - 21.5.29-13
6f6b339
- Add db4 support (bz 581614).
6f6b339
- Add -xft subpackage (bz 356961).
6f6b339
- Recognize Fedora's X server.
6f6b339
d13f8a1
* Tue Mar  2 2010 Jerry James <loganjerry@gmail.com> - 21.5.29-12
d13f8a1
- Remove the bitmap-fonts dependency.
d13f8a1
4b2a756
* Thu Jan  7 2010 Jerry James <loganjerry@gmail.com> - 21.5.29-11
4b2a756
- New upstream patch for bz 547840.
4b2a756
- Add dired patch for large files (bz 550145).
4b2a756
- Replace "lzma" with "xz" for snapshots.
4b2a756
7e4aad7
* Mon Dec 21 2009 Jerry James <loganjerry@gmail.com> - 21.5.29-10
7e4aad7
- Don't crash with a Persian keyboard layout (bz 547840)
7e4aad7
0009332
* Tue Dec  8 2009 Jerry James <loganjerry@gmail.com> - 21.5.29-9
0009332
- Add patch to use memmove in etags (bz 545399).
0009332
b1f8da4
* Mon Nov  9 2009 Jerry James <loganjerry@gmail.com> - 21.5.29-8
b1f8da4
- Move macros.xemacs to the -common subpackage (bz 533611).
b1f8da4
- Updated TTY font patch from upstream.
b1f8da4
9ea7f86
* Tue Nov  3 2009 Jerry James <loganjerry@gmail.com> - 21.5.29-7
9ea7f86
- Make the desktop file consistent with Emacs (bz 532296).
9ea7f86
e9de699
* Wed Oct 28 2009 Jerry James <loganjerry@gmail.com> - 21.5.29-6
e9de699
- Bring back the courier font patch; that was a red herring.
e9de699
- Really, seriously fix bz 512623 with a TTY font patch.
e9de699
- Fix the version number in macros.xemacs.
e9de699
- Build with bignum support.
e9de699
- Turn off OSS support.
e9de699
99272aa
* Wed Sep 23 2009 Jerry James <loganjerry@gmail.com> - 21.5.29-5
99272aa
- Final fix for bz 512623, which is actually two bugs, because ...
99272aa
- ... the courier font patch breaks TTY font detection.  Removed that patch
99272aa
  and Require bitmap-fonts to supply the original font name.
99272aa
- Add macros.xemacs (bz 480546)
99272aa
- Add png patch to fix a problem with reading PNG files
99272aa
5e86d91
* Wed Aug 26 2009 Jerry James <loganjerry@gmail.com> - 21.5.29-4
5e86d91
- Use upstream's attempt at fixing #512623 instead of mine, which didn't work.
5e86d91
69cf937
* Mon Aug 24 2009 Jerry James <loganjerry@gmail.com> - 21.5.29-3
69cf937
- Fix image overflow bug (CVE-2009-2688).
69cf937
- Fix calling xft-font-create-object in non-Xft builds (#512623).
69cf937
- Rebase patches to eliminate fuzz/offsets.
69cf937
f0f2404
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 21.5.29-2
f0f2404
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f0f2404
8fce066
* Wed May 20 2009 Ville Skyttä <ville.skytta at iki.fi> - 21.5.29-1
8fce066
- Update to 21.5.29; gtk-gcc4, finder-lisp-dir, 3d-athena, autoconf262,
8fce066
  doc-encodings, revert-modified, and xemacs-base-autoloads patches applied
8fce066
  upstream.
8fce066
2f2825c
* Thu Mar 12 2009 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-13
2f2825c
- Add possibility to build upstream hg snapshots.
2f2825c
- Add dependency on xorg-x11-fonts-misc (#478370, Carl Brune).
2f2825c
- Include Installation{,-nox} in docs.
2f2825c
d8308e8
* Sun Mar  8 2009 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-12
d8308e8
- Make XFontSet support optional at build time and disable it by default
d8308e8
  to work around #478370.
d8308e8
1496ae4
* Thu Feb 26 2009 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-11
1496ae4
- Apply upstream autoload changes to be able to build recent XEmacs packages.
1496ae4
- Make support for XIM optional at build time, still enabled by default.
1496ae4
- Drop support for building without stack protector compiler flags.
1496ae4
- Make -info subpackage noarch when built for Fedora >= 10.
1496ae4
- Improve icon cache and desktop database refresh scriptlets.
1496ae4
- Use %%global instead of %%define.
1496ae4
18454a5
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 21.5.28-10
18454a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
18454a5
61bca8f
* Sun Jul 20 2008 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-9
61bca8f
- Rebuild.
61bca8f
06662e0
* Sun Jul  6 2008 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-8
06662e0
- Apply upstream fix for detection of 3D Athena widget sets.
06662e0
f32887e
* Sun Jul  6 2008 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-7
f32887e
- Fix build with autoconf >= 2.62 (#449626).
f32887e
2b7b37a
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 21.5.28-6
2b7b37a
- Autorebuild for GCC 4.3
2b7b37a
0413074
* Fri Aug 17 2007 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-5
0413074
- Turn on syntax highlighting by default only if lazy-lock is available.
0413074
- Requires(post): coreutils in main package and -nox.
0413074
- Scriptlet cleanups.
0413074
- License: GPLv2+
0413074
a811c10
* Sat Jun 30 2007 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-4
a811c10
- Turn on syntax highlighting with lazy-lock by default.
a811c10
- Drop Application and X-Fedora categories and Encoding from desktop entry.
a811c10
- Move diff-switches default from skeleton init.el to site-start.el.
a811c10
bc1ad30
* Sun Jun 24 2007 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-3
bc1ad30
- Apply upstream fix for #245017.
bc1ad30
69c8b5c
* Wed Jun  6 2007 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-2
69c8b5c
- Set more dirs explicitly until upstream configure honors them better.
69c8b5c
- Borrow DESTDIR install patch from openSUSE.
69c8b5c
- Add pkgconfig file to -devel.
69c8b5c
39897cb
* Mon May 21 2007 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-1
39897cb
- 21.5.28, module path fix applied upstream.
39897cb
- Patch to retain courier as the default font.
39897cb
- Fix some corrupt characters in docs.
39897cb
a302836
* Fri May 18 2007 Ville Skyttä <ville.skytta at iki.fi> - 21.5.27-9
a302836
- Require one of the actual editor variants in -common.
a302836
- Require -common in -el, drop duplicate dir ownerships.
a302836
c30daef
* Wed Jan 24 2007 Ville Skyttä <ville.skytta at iki.fi> - 21.5.27-8
c30daef
- Fix canna_api.ell install/load paths (#222559).
c30daef
- Fix site-start.el locale setup when the LANG env var is unset.
c30daef
cc42d41
* Thu Jan  4 2007 Ville Skyttä <ville.skytta at iki.fi> - 21.5.27-7
cc42d41
- Don't run autoconf during build.
cc42d41
4183148
* Wed Jan  3 2007 Ville Skyttä <ville.skytta at iki.fi> - 21.5.27-6
4183148
- Fix site-start.el coding system setup in non-UTF8 locales (#213582).
4183148
- Fix "--without modules" build.
4183148
9cad756
* Mon Oct  2 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.27-5
9cad756
- Rebuild.
9cad756
5f0e341
* Wed Sep 20 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.27-4
5f0e341
- Disable graphical progress bar by default (#188973).
5f0e341
- Make Wnn support optional at build time, disabled by default.
5f0e341
b5f5968
* Sun Sep 10 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.27-3
b5f5968
- Adjust to split xemacs-packages-{base,extra}.
b5f5968
- Provide xemacs(bin) in main package and -nox.
b5f5968
499a12a
* Sat Sep  2 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.27-2
499a12a
- Fix build when previous revision of the same XEmacs version is installed.
499a12a
- BuildRequire compface-devel instead of compface.
499a12a
- Turn error checking off.
499a12a
- Specfile cleanups.
499a12a
41624d1
* Tue May 16 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.27-1
41624d1
- 21.5.27, maximize patch included upstream.
41624d1
- Drop no longer needed find-paths patch.
41624d1
- Fix alternatives setup.
41624d1
04bda35
* Sun May  7 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.26-5
04bda35
- Apply upstream fix for window maximization problems (#111225).
04bda35
47b7f57
* Sun Apr 23 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.26-4
47b7f57
- Bring StartupWMClass in desktop entry up to date.
47b7f57
- Fix non-MULE build.
47b7f57
9f259eb
* Sat Apr 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.26-3
9f259eb
- Don't expect to find ellcc if building without modules (#188929).
9f259eb
- New --with/--without rpmbuild flags:
9f259eb
  - xft: enable/disable Xft support, default disabled.
9f259eb
  - nox: enable/disable building the non-X version, default enabled
9f259eb
  - modules: enable/disable module support, default arch-dependent.
9f259eb
- Re-enable XFontSet support for menubars for non-Xft builds (from openSUSE).
9f259eb
- Move gnuserv to -common, gnudoit to base package, drop gnuattach.
9f259eb
- Split ellcc and headers to -devel subpackage.
9f259eb
- Drop unneeded libXaw-devel build dependency.
9f259eb
- Move -nox "man page" to -nox subpackage.
9f259eb
- Fix GTK build and glade detection for it.
9f259eb
- Avoid -common dependency on ALSA.
9f259eb
7e0999b
* Thu Apr  6 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.26-2
7e0999b
- Borrow Mike Fabian's site-start.el work from the SuSE package.
6173cdc
7e0999b
* Tue Apr  4 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.26-1
7e0999b
- 21.5.26 (WIP).
7e0999b
- Make %%{_bindir}/xemacs an alternative (main/nox).
7e0999b
- Convert some info docs to UTF-8.
6173cdc
7e0999b
* Fri Mar 31 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.25-1
7e0999b
- 21.5.25 (WIP).
7e0999b
- Trim pre-21.5 %%changelog entries.