Dr. Werner Fink 2018-06-29 10:09:46 +00:00 committed by Git OBS Bridge
parent 09105ce5ec
commit ae167c338c

View File

@ -16,10 +16,9 @@
# #
%bcond_with autoconf
%bcond_without autoconf %bcond_without autoconf
# Once mailutils is in Factory change this to bcond_without # Once mailutils is in Factory change this to bcond_without
%bcond_with mailutils %bcond_without mailutils
# Experimental, not for production (see https://www.gnu.org/software/emacs/news/NEWS.25.2) # Experimental, not for production (see https://www.gnu.org/software/emacs/news/NEWS.25.2)
%bcond_with cairo %bcond_with cairo
@ -57,6 +56,7 @@ BuildRequires: libudev-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: m17n-lib-devel BuildRequires: m17n-lib-devel
%if %{with mailutils} %if %{with mailutils}
BuildRequires: mailutils
BuildRequires: mailutils-devel BuildRequires: mailutils-devel
%endif %endif
BuildRequires: makeinfo BuildRequires: makeinfo
@ -95,9 +95,6 @@ BuildRequires: pkgconfig(xxf86vm)
Url: http://www.gnu.org/software/emacs/ Url: http://www.gnu.org/software/emacs/
Version: 26.1 Version: 26.1
Release: 0 Release: 0
Requires: emacs-info = %{version}
Requires: emacs_program = %{version}-%{release}
Requires: etags
Summary: GNU Emacs Base Package Summary: GNU Emacs Base Package
License: GPL-3.0-or-later License: GPL-3.0-or-later
Group: Productivity/Text/Editors Group: Productivity/Text/Editors
@ -105,6 +102,12 @@ Provides: nxml-mode = 20041004
Obsoletes: nxml-mode < 20041004 Obsoletes: nxml-mode < 20041004
Provides: epg = 1.0.0 Provides: epg = 1.0.0
Obsoletes: epg < 1.0.0 Obsoletes: epg < 1.0.0
Requires: emacs-info = %{version}
Requires: emacs_program = %{version}-%{release}
Requires: etags
%if %{with mailutils}
Requires: mailutils
%endif
Requires(pre): fileutils Requires(pre): fileutils
Requires(pre): group(games) Requires(pre): group(games)
Requires(pre): user(games) Requires(pre): user(games)
@ -130,6 +133,7 @@ Patch23: emacs-25.1-custom-fonts.patch
# but that is because we ship /usr/include/ImageMagick-7/wand compat # but that is because we ship /usr/include/ImageMagick-7/wand compat
# symlink # symlink
Patch24: emacs-25.2-ImageMagick7.patch Patch24: emacs-25.2-ImageMagick7.patch
Patch25: emacs-26.1-xft4x11.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{expand: %%global include_info %(test -s /usr/share/info/info.info* && echo 0 || echo 1)} %{expand: %%global include_info %(test -s /usr/share/info/info.info* && echo 0 || echo 1)}
@ -236,6 +240,7 @@ and most assembler-like syntaxes.
%patch16 -p0 -b .flyspell %patch16 -p0 -b .flyspell
%patch23 -p0 -b .custfnt %patch23 -p0 -b .custfnt
%patch24 -p1 -b .imag %patch24 -p1 -b .imag
%patch25 -p0 -b .xft
%patch -p0 -b .0 %patch -p0 -b .0
%build %build