File flim.spec of Package flim

#
# spec file for package flim (Version 1.14.7)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           flim
BuildRequires:  apel emacs-nox
License:        GPL v2 or later
Group:          Productivity/Editors/Emacs
Requires:       emacs emacs_program apel
Autoreqprov:    on
Summary:        An Emacs Library for MIME
Version:        1.14.7
Release:        78
Source:         http://www.kanji.zinbun.kyoto-u.ac.jp/~tomo/comp/emacsen/lisp/flim/flim-1.14/flim-%{version}.tar.gz
# Patch:        http://security.debian.org/pool/updates/main/f/flim/flim_1.14.3-9woody1.diff.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:    noarch

%description
For coding and decoding MIME messages.



Authors:
--------
    MORIOKA Tomohiko  <morioka@jaist.ac.jp>
    Shuhei KOBAYASHI  <shuhei-k@jaist.ac.jp>

%prep
%setup -q
# %patch -p 1
# rm -fr debian
# ./configure --prefix=$RPM_BUILD_ROOT/usr

%build
make EMACS=emacs \
  PREFIX=%{_prefix} \
  VERSION_SPECIFIC_LISPDIR=%{_prefix}/share/emacs/site-lisp/emu

%install
make install EMACS=emacs  \
  PREFIX=$RPM_BUILD_ROOT%{_prefix} \
  VERSION_SPECIFIC_LISPDIR=%{_prefix}/share/emacs/site-lisp/emu
# make install.man
# 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*

%clean
rm -fr $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README.en
%{_prefix}/share/emacs/site-lisp/flim

%changelog
* Mon Jul 09 2007 - schwab@suse.de
- Remove sha1.el and hex-util.el, already in Emacs.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Sep 28 2005 - dmueller@suse.de
- add norootforbuild
* Thu Oct 21 2004 - ke@suse.de
- Update to version 1.14.7; remove obsolete security patch [#47473].
* Mon May 24 2004 - ke@suse.de
- Apply security patch provided by Matt Zimmerman to fix insecure
  temporary file [DSA-500-1 / CAN-2004-0422].
* Mon May 24 2004 - ke@suse.de
- Update to version 1.14.6.
* Mon Jun 23 2003 - schwab@suse.de
- Package is noarch.
- Remove smtpmail.el, already included in Emacs.
* Tue Sep 17 2002 - ro@suse.de
- removed bogus self-provides
* Tue Mar 20 2001 - kukuk@suse.de
- Fix requires (emacs-nox -> emacs_program)
* Mon Mar 19 2001 - ke@suse.de
- Update to version 1.14.2 [#6736].
- Remove LC_CTYPE=ISO-8859-1 and EMACS_UNIBYTE=1.
- Use RPM macros.
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Thu Sep 09 1999 - bs@suse.de
- fixed call of Check at the end of %%install section
* Thu Apr 15 1999 - werner@suse.de
- Add export LC_CTYPE=ISO-8859-1 and export EMACS_UNIBYTE=1
  to build *and* install section
* Sun Sep 06 1998 - ke@suse.de
- initial package: version 1.9.1.
openSUSE Build Service is sponsored by