File semi-xemacs.spec of Package semi-xemacs

# spec file for package semi-xemacs
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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.

# Please submit bugfixes or comments via

Name:           semi-xemacs
BuildRequires:  compface
BuildRequires:  flim-xemacs
BuildRequires:  krb5
BuildRequires:  libpng-devel
BuildRequires:  libtiff-devel
BuildRequires:  openldap2-devel
BuildRequires:  xorg-x11-devel
Requires:       xemacs
Version:        1.14.6
Release:        0
Source0:        semi-%{version}.tar.bz2
Patch0:         autoloads.patch
Patch1:         mime-hide-buttons-in-reply.diff
Summary:        library to provide MIME feature for XEmacs
License:        GPL-2.0+
Group:          Productivity/Editors/Emacs
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

SEMI is a library to provide MIME feature for XEmacs.  MIME is a
proposed internet standard for including content and headers other than
(ASCII) plain text in messages

%setup -q -n semi-%{version}
%patch0 -p1
%patch1 -p1
# necessary to generate the auto-autoloads.el file:
touch *.el

%define xemacs_package_dir /usr/share/xemacs/site-packages/
make package PACKAGEDIR=%{xemacs_package_dir}

make install-package PACKAGEDIR=$RPM_BUILD_ROOT%{xemacs_package_dir}

%dir %{xemacs_package_dir}/

openSUSE Build Service is sponsored by