File flim-xemacs.spec of Package flim-xemacs

# spec file for package flim-xemacs
# Copyright (c) 2018 SUSE LINUX 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:           flim-xemacs
BuildRequires:  compface
BuildRequires:  xemacs
Requires:       xemacs
Version:        1.14.7
Release:        0
# original source is gzipped.
Patch0:         fix-build.patch
Patch1:         autoloads.patch
Summary:        Lisp Library for Basic Features Concerning Internet Messages
#Summary(ja):  Internet message に関する基礎的な機能を提供するための汎用部品です。
License:        GPL-2.0+
Group:          Productivity/Editors/Emacs
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
%define prefix  /usr

FLIM is a library that provides basic features about message
representation or encoding.

%setup -q -n flim-%{version}
%patch0 -p1
%patch1 -p1

%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}/