[521] | 1 | Summary: MH mail handling system |
---|
| 2 | Summary(ja): MH ¥á¡¼¥ë¥Ï¥ó¥É¥ê¥ó¥°¥·¥¹¥Æ¥à |
---|
| 3 | Name: mh |
---|
| 4 | Version: 6.8.4_jp |
---|
| 5 | Release: 13vl6 |
---|
| 6 | License: freeware |
---|
| 7 | URL: http://www.chem.eng.himeji-tech.ac.jp/~hayashi/internet/mh-plus.html |
---|
| 8 | Group: Applications/Internet |
---|
| 9 | #Source: ftp://ftp.chem.eng.himeji-tech.ac.jp/pub/net/mh/mh-6.8.4-JP-3.03.tar.gz |
---|
| 10 | Source: mh-6.8.4-JP-3.05.tar.gz |
---|
| 11 | Source1: mh.sh |
---|
| 12 | Source2: mh.csh |
---|
| 13 | Patch0: mh-6.8.4-JP-3.02-glibc.patch |
---|
| 14 | Patch1: mh-6.8.4-JP-3.05-20030114.patch.gz |
---|
| 15 | Patch2: mh-6.8.4-JP-3.05-20030326.patch.gz |
---|
| 16 | Patch3: mh-6.8.4-JP-3.05-20031023.patch.gz |
---|
| 17 | Patch4: mh-6.8.4-JP-3.05-20031106.patch.gz |
---|
| 18 | #Patch5: mh-6.8.4-stdarg.patch |
---|
| 19 | |
---|
| 20 | BuildRequires: readline-devel ncurses-devel |
---|
| 21 | BuildPrereq: sed gcc295 |
---|
| 22 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 23 | |
---|
| 24 | Vendor: Project Vine |
---|
| 25 | Distribution: Vine |
---|
| 26 | |
---|
| 27 | %description |
---|
| 28 | MH mail handling system (with POP support). MH is a popular |
---|
| 29 | mail handling system but includes only a command line interface. It is |
---|
| 30 | an important base, however, for programs like xmh and exmh. |
---|
| 31 | |
---|
| 32 | %description -l ja |
---|
| 33 | ¤³¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ï¡¢MH ¥á¡¼¥ë¥Ï¥ó¥É¥ê¥ó¥°¥·¥¹¥Æ¥à(POP ¥µ¥Ý¡¼¥ÈÉÕ¤)¤Ç¤¹¡£ |
---|
| 34 | MH ¤ÏÍ̾¤Ê¥á¡¼¥ë¥Ï¥ó¥É¥ê¥ó¥°¥·¥¹¥Æ¥à¤Ç¤¹¤¬¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¥¤¥ó¥¿¡¼ |
---|
| 35 | ¥Õ¥§¡¼¥¹¤Î¤ß¤·¤«´Þ¤ß¤Þ¤»¤ó¡£¤·¤«¤·¤Ê¤¬¤é¡¢xmh ¤ä exmh ¤È¤¤¤Ã¤¿¥×¥í¥°¥é¥à |
---|
| 36 | ¤Ë¤È¤Ã¤Æ½ÅÍפʴðÁäò¤Ê¤·¤Þ¤¹¡£ |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | %prep |
---|
| 40 | %setup -q -n mh-6.8.4-JP-3.05 |
---|
| 41 | %patch0 -p1 |
---|
| 42 | %patch1 -p0 -b .20030114 |
---|
| 43 | %patch2 -p0 -b .20030326 |
---|
| 44 | %patch3 -p0 -b .20031023 |
---|
| 45 | %patch4 -p0 -b .20031106 |
---|
| 46 | #%patch5 -p1 -b .stdarg |
---|
| 47 | |
---|
| 48 | %build |
---|
| 49 | #sh configure --prefix=/usr --bindir=/usr/bin/mh --enable-smtp --enable-batchmode --enable-sharedlib |
---|
| 50 | export CC=gcc-2.95.3 |
---|
| 51 | %configure --bindir=%{_bindir}/mh --libexecdir=%{_libdir}/mh --enable-smtp --enable-batchmode --enable-sharedlib |
---|
| 52 | make |
---|
| 53 | |
---|
| 54 | %install |
---|
| 55 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 56 | |
---|
| 57 | %makeinstall DESTDIR=$RPM_BUILD_ROOT |
---|
| 58 | |
---|
| 59 | #cd $RPM_BUILD_ROOT/usr/lib |
---|
| 60 | #ln -sf libmh.so.3.2 libmh.so |
---|
| 61 | |
---|
| 62 | mkdir -p $RPM_BUILD_ROOT/etc/profile.d |
---|
| 63 | install -m755 %{SOURCE1} $RPM_BUILD_ROOT/etc/profile.d/mh.sh |
---|
| 64 | install -m755 %{SOURCE2} $RPM_BUILD_ROOT/etc/profile.d/mh.csh |
---|
| 65 | #echo "export PATH=\$PATH:/usr/bin/mh" > $RPM_BUILD_ROOT/etc/profile.d/mh.sh |
---|
| 66 | #echo "set path=(\$path /usr/bin/mh)" > $RPM_BUILD_ROOT/etc/profile.d/mh.csh |
---|
| 67 | chmod 755 $RPM_BUILD_ROOT/etc/profile.d/mh.sh |
---|
| 68 | chmod 755 $RPM_BUILD_ROOT/etc/profile.d/mh.csh |
---|
| 69 | chmod u+s $RPM_BUILD_ROOT%{_bindir}/mh/inc |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %clean |
---|
| 73 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 74 | |
---|
| 75 | %post -p /sbin/ldconfig |
---|
| 76 | |
---|
| 77 | %postun -p /sbin/ldconfig |
---|
| 78 | |
---|
| 79 | |
---|
| 80 | %files |
---|
| 81 | %defattr(-,root,root) |
---|
| 82 | %doc READ-ME FAQ CHANGES doc-JP/* |
---|
| 83 | %config /etc/profile.d/mh.sh |
---|
| 84 | %config /etc/profile.d/mh.csh |
---|
| 85 | |
---|
| 86 | %dir %{_bindir}/mh |
---|
| 87 | %{_bindir}/mh/* |
---|
| 88 | %{_libdir}/libmh.so.3.2 |
---|
| 89 | %{_libdir}/libmh.so |
---|
| 90 | |
---|
| 91 | %dir %{_libdir}/mh |
---|
| 92 | %config %{_libdir}/mh/mtstailor |
---|
| 93 | %config %{_libdir}/mh/MailAliases |
---|
| 94 | %config %{_libdir}/mh/components |
---|
| 95 | %config %{_libdir}/mh/digestcomps |
---|
| 96 | %config %{_libdir}/mh/distcomps |
---|
| 97 | %config %{_libdir}/mh/forwcomps |
---|
| 98 | %config %{_libdir}/mh/rcvdistcomps |
---|
| 99 | %config %{_libdir}/mh/replcomps |
---|
| 100 | %config %{_libdir}/mh/mhl.digest |
---|
| 101 | %config %{_libdir}/mh/mhl.format |
---|
| 102 | %config %{_libdir}/mh/mhl.forward |
---|
| 103 | %config %{_libdir}/mh/mhl.body |
---|
| 104 | %config %{_libdir}/mh/mhl.headers |
---|
| 105 | %config %{_libdir}/mh/scan.mailx |
---|
| 106 | %config %{_libdir}/mh/scan.default |
---|
| 107 | %config %{_libdir}/mh/scan.size |
---|
| 108 | %config %{_libdir}/mh/scan.time |
---|
| 109 | %config %{_libdir}/mh/scan.timely |
---|
| 110 | %{_libdir}/mh/packmbox |
---|
| 111 | %{_libdir}/mh/mhn_defaults |
---|
| 112 | %{_libdir}/mh/viamail |
---|
| 113 | #%{_libdir}/mh/popaka |
---|
| 114 | #%{_libdir}/mh/popwrd |
---|
| 115 | %{_libdir}/mh/ap |
---|
| 116 | %{_libdir}/mh/conflict |
---|
| 117 | %{_libdir}/mh/dp |
---|
| 118 | %{_libdir}/mh/install-mh |
---|
| 119 | %{_libdir}/mh/mhl |
---|
| 120 | %{_libdir}/mh/post |
---|
| 121 | %{_libdir}/mh/rcvdist |
---|
| 122 | %{_libdir}/mh/rcvpack |
---|
| 123 | %{_libdir}/mh/rcvstore |
---|
| 124 | %{_libdir}/mh/rcvtty |
---|
| 125 | %{_libdir}/mh/fmtdump |
---|
| 126 | %{_libdir}/mh/spost |
---|
| 127 | #%{_libdir}/mh/spop |
---|
| 128 | %{_libdir}/mh/slocal |
---|
| 129 | %{_libdir}/mh/tmac.h |
---|
| 130 | |
---|
| 131 | %{_mandir}/man?/* |
---|
| 132 | %{_mandir}/ja/man?/* |
---|
| 133 | |
---|
| 134 | |
---|
| 135 | %changelog |
---|
| 136 | * Tue Jul 11 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 6.8.4_jp-13vl6 |
---|
| 137 | - changed Group to Applications/Internet |
---|
| 138 | |
---|
| 139 | * Tue Nov 9 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 6.8.4_jp-13vl5 |
---|
| 140 | - used gcc-2.95.3 instead of Patch5, |
---|
| 141 | |
---|
| 142 | * Thu Nov 4 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 6.8.4_jp-13vl4 |
---|
| 143 | - fixed mh.csh, "EOF" was removed |
---|
| 144 | |
---|
| 145 | * Thu Nov 4 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 6.8.4_jp-13vl3 |
---|
| 146 | - split /etc/profile.d/*.[c]sh files to SOURCE1 and 2 |
---|
| 147 | |
---|
| 148 | * Sun Oct 31 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 6.8.4_jp-13vl2 |
---|
| 149 | - rebuilt with new toolchains |
---|
| 150 | - updated jp patch to version 3.05 |
---|
| 151 | - added Patch1--4 from upstream |
---|
| 152 | - added Patch5 to avoid using varargs.h |
---|
| 153 | - added BuildRequires: and BuildPrereq: |
---|
| 154 | - s/Copyright/License/ |
---|
| 155 | - used better macros |
---|
| 156 | - updated script at /etc/profile.d |
---|
| 157 | |
---|
| 158 | * Fri Sep 15 2000 Jun Nishii <jun@vinelinux.org> |
---|
| 159 | - 6.8.4_jp-13 |
---|
| 160 | - added %defattr |
---|
| 161 | |
---|
| 162 | * Fri Sep 08 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
| 163 | - 6.8.4_jp-12 |
---|
| 164 | - modified %files section to handle compressed man page(s) |
---|
| 165 | |
---|
| 166 | * Sun Oct 10 1999 Norihito Ohmori <ohmori@flatout.org> |
---|
| 167 | - update mh-6.8.4-JP-3.03 |
---|
| 168 | |
---|
| 169 | * Wed Sep 29 1999 Norihito Ohmori <ohmori@flatout.org> |
---|
| 170 | - fix alpha compilation bug (by Toru Hoshina) |
---|
| 171 | |
---|
| 172 | * Wed Aug 26 1999 Norihito Ohmori <ohmori@flatout.org> |
---|
| 173 | - apply glibc-2.1.x patch |
---|
| 174 | - fix pick -search bug (19990309) |
---|
| 175 | - fix (hencode(trim{subject})) core dump bug (19990611) |
---|
| 176 | - fix long From: core dump bug (19990806) |
---|
| 177 | - disable rpop |
---|
| 178 | |
---|
| 179 | * Thu May 13 1999 Jun Nishii <jun@flatout.org> |
---|
| 180 | - merged patch for rpop |
---|
| 181 | |
---|
| 182 | * Tue Mar 13 1999 Daisuke SUZUKI <daisuke@linux.or.jp> |
---|
| 183 | - updated to mh-6.8.4-JP3.02 |
---|
| 184 | |
---|
| 185 | * Tue Jan 19 1999 Daisuke SUZUKI <daisuke@linux.or.jp> |
---|
| 186 | - updated to mh-6.8.4-JP3.01 |
---|
| 187 | |
---|
| 188 | * Tue Aug 18 1998 Daisuke SUZUKI <daisuke@linux.or.jp> |
---|
| 189 | - added a patch to configure script for PentiumPRO/PentiumII |
---|
| 190 | |
---|
| 191 | * Mon Aug 17 1998 Daisuke SUZUKI <daisuke@linux.or.jp> |
---|
| 192 | - added MH-JP patch |
---|