File wl-xemacs.spec of Package wl-xemacs
#
# spec file for package wl-xemacs (Version 2.12.0)
#
# 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: wl-xemacs
BuildRequires: apel-xemacs compface flim-xemacs krb5 libpng-devel libtiff-devel openldap2-devel semi-xemacs xorg-x11-devel
License: GPL v2 or later
Group: Productivity/Editors/Emacs
# apel-10.2 is already contained in the sumo tarball, we don't need an extra
# apel package.
Requires: xemacs, flim-xemacs, semi-xemacs, apel-xemacs
AutoReqProv: on
Version: 2.12.0
Release: 146
Url: http://www.gohome.org/wl/
# original source is gzipped.
Source0: ftp://ftp.gohome.org/wl/stable/wl-2.12.0.tar.bz2
Source1: texi2utf8
Patch: wl-2.12.0.dif
Patch1: info-utf8.patch
Summary: Wanderlust, Yet Another Message Interface On Emacsen
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
# %description -l ja
# Wanderlust は Emacs 上で動く IMAP4rev1 対応のメール/ニュース管理システムです。
# このパッケージは XEmacs21 用です。
#
# 著者:
# ------
#
# Yuuichi Teranishi <teranisi@gohome.org>
%description
Wanderlust is a mail and news management system with IMAP4rev1 support
for Emacsen. This package is for XEmacs.
Authors:
--------
Yuuichi Teranishi <teranisi@gohome.org>
%prep
%setup -q -n wl-%{version}
%patch
%patch1 -p1
rm *.orig
chmod 755 $RPM_SOURCE_DIR/texi2utf8
$RPM_SOURCE_DIR/texi2utf8
make EMACS=xemacs check
%build
%define xemacs_package_dir /usr/share/xemacs/site-packages/
make package PACKAGEDIR=%{xemacs_package_dir}
%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
make install-package PACKAGEDIR=$RPM_BUILD_ROOT%{xemacs_package_dir}
rm -f $RPM_BUILD_ROOT%{xemacs_package_dir}/info/dir
gzip --best $RPM_BUILD_ROOT%{xemacs_package_dir}/info/*.info
%post -n wl-xemacs
for i in wl wl-ja
do
%install_info --info-dir=%{xemacs_package_dir}/info/ %{xemacs_package_dir}/info/${i}.info.gz
done
%preun -n wl-xemacs
for i in wl wl-ja
do
%install_info --delete --info-dir=%{xemacs_package_dir}/info/ %{xemacs_package_dir}/info/${i}.info.gz
done
%clean
#[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
%files
%defattr(-,root,root)
%doc BUGS* COPYING ChangeLog INSTALL* NEWS* README* WL* samples/
%dir %{xemacs_package_dir}/
%dir %{xemacs_package_dir}/info/
%doc %{xemacs_package_dir}/info/*
%dir %{xemacs_package_dir}/lisp/
%dir %{xemacs_package_dir}/etc/
%{xemacs_package_dir}/lisp/*
%{xemacs_package_dir}/etc/*
%changelog
* Tue Dec 04 2007 - mfabian@suse.de
- remove openldap2 from BuildRequires.
* Thu Aug 31 2006 - mfabian@suse.de
- convert all texinfo files to UTF-8 to get the .info files
created in UTF-8 encoding (texi2utf8 script copied from
xemacs-packages source directory).
* Mon Mar 20 2006 - mfabian@suse.de
- Bugzilla #159494: generate auto-autoloads.el correctly.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu May 19 2005 - ro@suse.de
- fix build with current xemacs
* Mon Jan 03 2005 - mfabian@suse.de
- update to 2.12.0.
* Tue Feb 03 2004 - hmacht@suse.de
- added option # norootforbuild in specfile
* Sun Aug 24 2003 - mfabian@suse.de
- update to version 2.10.1.
- add apel-xemacs to neededforbuild (requires apel >= 10.6,
the XEmacs sumos contain only apel 10.2, therefore a separate
apel-xemacs packages is needed).
- use %%install_info.
* Fri Aug 22 2003 - mfabian@suse.de
- add xemacs-packagages and xemacs-packages-info to
"# neededforbuild".
* Fri Jun 13 2003 - mfabian@suse.de
- fix "directory not owned by any package".
* Thu Mar 06 2003 - ro@suse.de
- removed cyrus-sasl from neededforbuild
* Wed Nov 13 2002 - ro@suse.de
- use x-devel-packages in neededforbuild
* Mon Aug 12 2002 - ro@suse.de
- added canna-libs to neededforbuild
* Fri Feb 01 2002 - ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Sat Jan 19 2002 - mfabian@suse.de
- update to version 2.6.1
* Fri Aug 10 2001 - mfabian@suse.de
- update to version 2.6.0
* Mon May 07 2001 - mfabian@suse.de
- bzip2 source
* Wed Mar 14 2001 - mfabian@suse.de
- new package: wl-xemacs, version 2.4.1