File flim.spec of Package flim

# spec file for package flim
# Copyright (c) 2012 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:           flim
BuildRequires:  apel >= 10.7
BuildRequires:  emacs-nox
Requires:       apel
Requires:       emacs
Requires:       emacs_program
Summary:        An Emacs Library for MIME
License:        GPL-2.0+
Group:          Productivity/Editors/Emacs
Version:        1.14.9
Release:        0
Patch:          flim-encoding-fix.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

For coding and decoding MIME messages.

%setup -q
iconv -fiso2022jp -tutf-8 README.ja >
mv README.ja

make %{?_smp_mflags} EMACS=emacs \
  PREFIX=%{_prefix} \

make install EMACS=emacs  \
  PREFIX=$RPM_BUILD_ROOT%{_prefix} \
# make
# Already part of Emacs
rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/flim/smtpmail.el*
rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/flim/sha1.el*
rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/flim/hex-util.el*
rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/flim/md4.el*
rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/flim/hmac-def.el*
rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/flim/hmac-md5.el*
rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/flim/sasl.el*
rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/flim/sasl-cram.el*
rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/flim/sasl-digest.el*
rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/flim/sasl-ntlm.el*
rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/flim/ntlm.el*

%doc README.en README.ja ChangeLog NEWS

openSUSE Build Service is sponsored by