# - package ctags/etags in subpackage?
#
# Conditional build:
-%bcond_without athena # don't build athena version
-%bcond_without gtk # don't build GTK+2 version
-%bcond_without motif # don't build motif version
-%bcond_without nox # don't build nox version
-
+%bcond_without athena # don't build athena version
+%bcond_without gtk # don't build GTK+2 version
+%bcond_without motif # don't build motif version
+%bcond_without nox # don't build nox version
+%bcond_with bootstrap # build bootsrtap version
+#
Summary: The Emacs text editor for the X Window System
Summary(de.UTF-8): GNU Emacs
Summary(es.UTF-8): GNU Emacs
Summary(tr.UTF-8): GNU Emacs
Name: emacs
%define ver 23.3
-Version: %{ver}a
-Release: 0.1
+Version: %{ver}b
+Release: 6
License: GPL v3+
Group: Applications/Editors/Emacs
Source0: ftp://ftp.gnu.org/pub/gnu/emacs/%{name}-%{version}.tar.gz
-# Source0-md5: 20aef9ea5b5bf8050d39f8b1e96a1c04
+# Source0-md5: f2bfd8eab7e3b34a0f7f09acc0667e71
Source1: %{name}-dot%{name}
Source2: %{name}-site-start.el
Source3: %{name}.png
Source7: %{name}-gtk.desktop
Source8: %{name}-motif.desktop
Source9: %{name}-nox.desktop
-Patch0: %{name}-tinfo.patch
-Patch1: %{name}-lib64.patch
-Patch2: %{name}-fontconfig.patch
+Patch0: %{name}-lib64.patch
+Patch1: %{name}-fontconfig.patch
URL: http://www.gnu.org/software/emacs/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: xorg-lib-libXpm-devel
Requires: %{name}-common = %{version}-%{release}
Requires: ctags
+Suggests: emacsen-gnus-pkg-emacs
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%endif
%setup -q -n %{name}-%{ver}
-%patch0 -p1
%if "%{_lib}" == "lib64"
-%patch1 -p1
+%patch0 -p1
%endif
-%patch2 -p1
+%patch1 -p1
%build
cp -f /usr/share/automake/config.* .
--with-tiff \
--with-gif \
--with-png \
- --with-x-toolkit=athena
+ --with-x-toolkit=athena \
+ %{?with_bootstrap:--without-gpm}
%{__make} -j1 bootstrap
%define bootstrap athena
--with-tiff \
--with-gif \
--with-png \
- --with-x-toolkit=gtk
+ --with-x-toolkit=gtk \
+ %{?with_bootstrap:--without-gpm}
%if %{?bootstrap}
%{__make}
--with-tiff \
--with-gif \
--with-png \
- --with-x-toolkit=motif
+ --with-x-toolkit=motif \
+ %{?with_bootstrap:--without-gpm}
%if %{?bootstrap}
%{__make}
--without-tiff \
--without-gif \
--without-png \
- --with-x=no
+ --with-x=no \
+ %{?with_bootstrap:--without-gpm}
%if %{?bootstrap}
%{__make}
%dir %{_datadir}/emacs/%{ver}/leim
%dir %{_datadir}/emacs/%{ver}/lisp/calc
%dir %{_datadir}/emacs/%{ver}/lisp/calendar
+%dir %{_datadir}/emacs/%{ver}/lisp/cedet
+%dir %{_datadir}/emacs/%{ver}/lisp/cedet/ede
+%dir %{_datadir}/emacs/%{ver}/lisp/cedet/semantic
+%dir %{_datadir}/emacs/%{ver}/lisp/cedet/srecode
%dir %{_datadir}/emacs/%{ver}/lisp/emacs-lisp
%dir %{_datadir}/emacs/%{ver}/lisp/emulation
%dir %{_datadir}/emacs/%{ver}/lisp/eshell
%{_datadir}/emacs/%{ver}/lisp/international/README
%{_datadir}/emacs/%{ver}/lisp/language/*.el
%{_datadir}/emacs/%{ver}/lisp/language/*.elc
+#%{_datadir}/emacs/%{ver}/lisp/cedet/*.el
+%{_datadir}/emacs/%{ver}/lisp/cedet/*.elc
+%{_datadir}/emacs/%{ver}/lisp/cedet/ede/*.el
+%{_datadir}/emacs/%{ver}/lisp/cedet/ede/*.elc
+%{_datadir}/emacs/%{ver}/lisp/cedet/semantic/*.el
+%{_datadir}/emacs/%{ver}/lisp/cedet/semantic/*.elc
+%{_datadir}/emacs/%{ver}/lisp/cedet/srecode/*.el
+%{_datadir}/emacs/%{ver}/lisp/cedet/srecode/*.elc
%{_datadir}/emacs/%{ver}/lisp/mail/blessmail.el
%{_datadir}/emacs/%{ver}/lisp/mail/*.elc
%{_datadir}/emacs/%{ver}/lisp/mh-e/*.el