xmailbox-vl.spec 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. %description
  12. The xmailbox program is an X Window System program which notifies you
  13. when mail arrives. Xmailbox is similar to the xbiff program, but it
  14. offers more features and notification options.
  15. Install the xmailbox package if you'd like a graphical program for X
  16. which will notify you when new mail arrives.
  17. %prep
  18. %setup -q
  19. %patch1 -p1
  20. %patch2 -p1
  21. %build
  22. xmkmf
  23. make
  24. %install
  25. rm -rf $RPM_BUILD_ROOT
  26. mkdir -p $RPM_BUILD_ROOT/etc/X11/wmconfig
  27. strip xmailbox
  28. make DESTDIR=$RPM_BUILD_ROOT MANPATH=%{_mandir} install install.man
  29. cat > $RPM_BUILD_ROOT/etc/X11/wmconfig/xmailbox <<EOF
  30. xmailbox name "xmailbox"
  31. xmailbox description "xmailbox"
  32. xmailbox group Utilities/Mail
  33. xmailbox exec "xmailbox &"
  34. EOF
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %files
  38. %defattr(-,root,root)
  39. %doc README
  40. %{_bindir}/xmailbox
  41. %{_mandir}/man1/xmailbox.1x*
  42. %config %{_sysconfdir}/X11/app-defaults/XMailbox
  43. %config /etc/X11/wmconfig/xmailbox
  44. %changelog
  45. * Sun Nov 09 2008 Shu KONNO <owa@bg.wakwak.com> 2.5-9vl5
  46. - rebuild with libXaw.so.7 (libXaw-1.0.5)
  47. * Wed Oct 15 2008 Shu KONNO <owa@bg.wakwak.com> 2.5-8vl5
  48. - applied new versioning policy
  49. * Fri Aug 24 2007 Shu KONNO <owa@bg.wakwak.com> 2.5-7vl3
  50. - s/Copyright/License/
  51. * Thu Nov 9 2000 Masato Bito <masato@nets.ce.hiroshima-cu.ac.jp>
  52. - 2.5-7vl2
  53. - modified %files section to handle compressed man pages
  54. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  55. - auto rebuild in the new build environment (release 7)
  56. * Fri Dec 18 1998 Bill Nottingham <notting@redhat.com>
  57. - build for 6.0
  58. * Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com>
  59. - build root
  60. * Wed May 06 1998 Prospector System <bugs@redhat.com>
  61. - translations modified for de, fr, tr
  62. * Wed May 06 1998 Cristian Gafton <gafton@redhat.com>
  63. - updated wmconfig Group line
  64. * Wed Oct 29 1997 Marc Ewing <marc@redhat.com>
  65. - wmconfig
  66. * Mon Jul 21 1997 Erik Troan <ewt@redhat.com>
  67. - built against glibc