From bc1a890c9f0cc7418eae9a009d7dac8ceba0cdc3 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 08:53:55 +0000 Subject: [PATCH] auto-import mutt-1.2.5i-3j1 from mutt-1.2.5i-3j1.src.rpm --- .cvsignore | 1 + mutt.spec | 26 +++++++++++++++++++++++++- sources | 1 + 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/.cvsignore b/.cvsignore index aad85da..bd74dd2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ +mutt-1.2.4i-jp0-diff.gz mutt-1.2.5i.tar.gz diff --git a/mutt.spec b/mutt.spec index 08c68b2..2173683 100644 --- a/mutt.spec +++ b/mutt.spec @@ -1,8 +1,10 @@ +%define enable_japanese 1 + Summary: A text mode mail user agent. Name: mutt %define pversion 1.2.5 Version: %{pversion}i -Release: 3 +Release: 3j1 Serial: 4 Copyright: GPL Group: Applications/Internet @@ -10,8 +12,16 @@ Source: ftp://ftp.mutt.org/pub/mutt/mutt-%{pversion}i.tar.gz Patch0: mutt-nosetgid.patch Patch1: mutt-default.patch Patch4: mutt-md5.patch +# Japanese patch +Patch10: mutt-1.2.4i-jp0-diff.gz +Patch11: muttlib.c.diff +Patch12: mutt-1.2.5-lib-jp.diff Url: http://www.mutt.org/ +%if %{enable_japanese} +Requires: slang-j >= 1.4.0, smtpdaemon, urlview +%else Requires: slang >= 0.99.38, smtpdaemon, urlview +%endif BuildPrereq: openssl-devel Buildroot: %{_tmppath}/mutt-root Conflicts: mutt-us @@ -32,10 +42,21 @@ one you're going to use. %patch0 -p1 -b .nosetgid %patch1 -p1 -b .default %patch4 -p1 -b .md5-argh +%if %{enable_japanese} +%patch10 -p1 -b .jp1 +%patch11 -p0 -b .jp2 +%patch12 -p1 -b .jp3 +%endif %build export -n LINGUAS +%if %{enable_japanese} +CFLAGS="$RPM_OPT_FLAGS -I/usr/include/slang-j" ./prepare \ + --prefix=%{_prefix} \ + --enable-locales-fix \ +%else CFLAGS="$RPM_OPT_FLAGS" ./prepare --prefix=%{_prefix} \ +%endif --with-sharedir=/etc --sysconfdir=/etc \ --with-docdir=%{_docdir}/mutt-%{version} \ --with-mandir=%{_mandir} \ @@ -97,6 +118,9 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/share/locale/*/LC_MESSAGES/mutt.mo %changelog +* Thu Aug 31 2000 Yukihiro Nakai +- Add Japanese patch from Kondara MNU/Linux + * Thu Aug 24 2000 Nalin Dahyabhai - rebuild in new environment - force flock() off and fcntl() on in case defaults change diff --git a/sources b/sources index 2495ae3..bf9f4a2 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ +e3158abf6fe2db0354d1bbc52c5f3891 mutt-1.2.4i-jp0-diff.gz 0ba5367059abdd55daceb82dce6be42f mutt-1.2.5i.tar.gz