[521] | 1 | Summary: An X Window System utility which notifies you of new mail. |
---|
| 2 | Name: xmailbox |
---|
| 3 | Version: 2.5 |
---|
| 4 | Release: 9%{?_dist_release} |
---|
| 5 | License: MIT |
---|
| 6 | Group: Applications/Internet |
---|
| 7 | Source: ftp://ftp.x.org/contrib/applications/xmailbox-2.5.tar.gz |
---|
| 8 | Patch1: xmailbox-2.2-xpm.patch |
---|
| 9 | Patch2: xmailbox-2.4-glibc.patch |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | |
---|
| 12 | %description |
---|
| 13 | The xmailbox program is an X Window System program which notifies you |
---|
| 14 | when mail arrives. Xmailbox is similar to the xbiff program, but it |
---|
| 15 | offers more features and notification options. |
---|
| 16 | |
---|
| 17 | Install the xmailbox package if you'd like a graphical program for X |
---|
| 18 | which will notify you when new mail arrives. |
---|
| 19 | |
---|
| 20 | %prep |
---|
| 21 | %setup -q |
---|
| 22 | %patch1 -p1 |
---|
| 23 | %patch2 -p1 |
---|
| 24 | |
---|
| 25 | %build |
---|
| 26 | xmkmf |
---|
| 27 | make |
---|
| 28 | |
---|
| 29 | %install |
---|
| 30 | rm -rf $RPM_BUILD_ROOT |
---|
| 31 | mkdir -p $RPM_BUILD_ROOT/etc/X11/wmconfig |
---|
| 32 | |
---|
| 33 | strip xmailbox |
---|
| 34 | make DESTDIR=$RPM_BUILD_ROOT MANPATH=%{_mandir} install install.man |
---|
| 35 | |
---|
| 36 | cat > $RPM_BUILD_ROOT/etc/X11/wmconfig/xmailbox <<EOF |
---|
| 37 | xmailbox name "xmailbox" |
---|
| 38 | xmailbox description "xmailbox" |
---|
| 39 | xmailbox group Utilities/Mail |
---|
| 40 | xmailbox exec "xmailbox &" |
---|
| 41 | EOF |
---|
| 42 | |
---|
| 43 | %clean |
---|
| 44 | rm -rf $RPM_BUILD_ROOT |
---|
| 45 | |
---|
| 46 | %files |
---|
| 47 | %defattr(-,root,root) |
---|
| 48 | %doc README |
---|
| 49 | %{_bindir}/xmailbox |
---|
| 50 | %{_mandir}/man1/xmailbox.1x* |
---|
| 51 | %config %{_sysconfdir}/X11/app-defaults/XMailbox |
---|
| 52 | %config /etc/X11/wmconfig/xmailbox |
---|
| 53 | |
---|
| 54 | %changelog |
---|
| 55 | * Sun Nov 09 2008 Shu KONNO <owa@bg.wakwak.com> 2.5-9vl5 |
---|
| 56 | - rebuild with libXaw.so.7 (libXaw-1.0.5) |
---|
| 57 | |
---|
| 58 | * Wed Oct 15 2008 Shu KONNO <owa@bg.wakwak.com> 2.5-8vl5 |
---|
| 59 | - applied new versioning policy |
---|
| 60 | |
---|
| 61 | * Fri Aug 24 2007 Shu KONNO <owa@bg.wakwak.com> 2.5-7vl3 |
---|
| 62 | - s/Copyright/License/ |
---|
| 63 | |
---|
| 64 | * Thu Nov 9 2000 Masato Bito <masato@nets.ce.hiroshima-cu.ac.jp> |
---|
| 65 | - 2.5-7vl2 |
---|
| 66 | - modified %files section to handle compressed man pages |
---|
| 67 | |
---|
| 68 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 69 | - auto rebuild in the new build environment (release 7) |
---|
| 70 | |
---|
| 71 | * Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> |
---|
| 72 | - build for 6.0 |
---|
| 73 | |
---|
| 74 | * Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com> |
---|
| 75 | - build root |
---|
| 76 | |
---|
| 77 | * Wed May 06 1998 Prospector System <bugs@redhat.com> |
---|
| 78 | - translations modified for de, fr, tr |
---|
| 79 | |
---|
| 80 | * Wed May 06 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 81 | - updated wmconfig Group line |
---|
| 82 | |
---|
| 83 | * Wed Oct 29 1997 Marc Ewing <marc@redhat.com> |
---|
| 84 | - wmconfig |
---|
| 85 | |
---|
| 86 | * Mon Jul 21 1997 Erik Troan <ewt@redhat.com> |
---|
| 87 | - built against glibc |
---|