File emacs-mew.spec of Package emacs-mew
#
# spec file for package emacs-mew
#
# 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 http://bugs.opensuse.org/
#
Name: emacs-mew
BuildRequires: emacs-x11
Requires: emacs
Version: 6.7
Release: 0
Summary: Mew is a mail reader for Emacs
License: BSD-3-Clause
Group: Productivity/Editors/Emacs
Source: http://www.mew.org/Release/mew-%{version}.tar.gz
Url: http://www.mew.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Mew is a user interface for text messages, multimedia messages (MIME), news
articles and security functionality including PGP, S/MIME, SSH, and SSL. Also,
Mew can work with the recent search services.
Mew is an acronym for "Messaging in the Emacs World". You should spell it with
the first letter capitalized and pronounce it as it is (i.e. the meow of cats).
When the author started programming it, he chose a cute word from his English
dictionary. Thus, Mew.
%define _sitedir %{_datadir}/emacs/site-lisp
%define _startfile %{_sitedir}/suse-start-%{name}.el
%define _mewdir %{_sitedir}/mew
%prep
%setup -q -n mew-%{version}
%build
%configure \
--docdir=%{_defaultdocdir}/%name
make
make info jinfo
%install
%make_install
# #%%post
# #%%{install_info} %%{info_files}
# #for f in %%{info_files}; do
# # %%{install_info} --info-dir=%%{_infodir} %%{_infodir}/${f}.gz
# #done
# #%%postun
# #%%{install_info_delete} %%{info_files}
# #for f in %%{info_files}; do
# # %%{install_info_delete} --info-dir=%%{_infodir} %%{_infodir}/${f}.gz
# #done
%files
%defattr(-, root, root)
# %doc README COPYING doc/*.pdf CHANGES ChangeLog
%dir %{_sitedir}/mew
%{_sitedir}/mew/*
%dir %{_mewdir}/
%doc %{_infodir}/mew.info*.gz
%doc %{_mandir}/man1/cmew.1.gz
%doc %{_mandir}/man1/incm.1.gz
%doc %{_mandir}/man1/mew-pinentry.1.gz
%doc %{_mandir}/man1/mewcat.1.gz
%doc %{_mandir}/man1/mewdecode.1.gz
%doc %{_mandir}/man1/mewencode.1.gz
%doc %{_mandir}/man1/mewest.1.gz
%doc %{_mandir}/man1/mewl.1.gz
%doc %{_mandir}/man1/smew.1.gz
/usr/bin/cmew
/usr/bin/incm
/usr/bin/mew-pinentry
/usr/bin/mewcat
/usr/bin/mewdecode
/usr/bin/mewencode
/usr/bin/mewest
/usr/bin/mewl
%{_bindir}/smew
%{_mewdir}/*.el
%{_mewdir}/*.elc
# %config %{_sitedir}/suse-start*.el
# %config %{_sitedir}/site-start.d/mew.el
%changelog