procmail-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. Summary: The procmail mail processing program.
  2. Summary(ja): procmail メール処理プログラム
  3. Name: procmail
  4. Version: 3.22
  5. Release: 3%{?_dist_release}
  6. License: GPL or artistic
  7. Group: System Environment/Daemons
  8. Source: ftp://ftp.procmail.org/pub/procmail/procmail-%{version}.tar.gz
  9. URL: http://www.procmail.org
  10. Patch0: procmail-3.22-rhconfig.patch
  11. Patch1: procmail-3.15.1-man.patch
  12. Patch2: procmail_3.22-8.debian.patch
  13. Patch3: procmail-3.22-large_files.patch
  14. Patch5: procmail-3.22-ipv6.patch
  15. Patch6: procmail-3.22-getline.patch
  16. # patches added by Vine
  17. Patch10: procmail-3.14-OLD_PREFIX.patch
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: daisuke, inagaki
  22. %description
  23. The procmail program is MDA (Mail Delivery Agent) for local mail
  24. delivery. In addition to just delivering mail, procmail can be used
  25. for automatic filtering, presorting and other mail handling jobs.
  26. %description -l ja
  27. procmail プログラムはローカルメール配送のためのメール配送エージェント
  28. (MDA) です。procmail は単にメールを配送するだけではなく
  29. 自動フィルタリングやソーティング等の処理も行う事が可能です.
  30. %prep
  31. %setup -q
  32. %patch0 -p1 -b .rhconfig
  33. %patch1 -p1
  34. %patch2 -p1
  35. %patch3 -p1
  36. %patch5 -p1 -b .ipv6
  37. %patch6 -p1 -b .getline
  38. %patch10 -p1 -b .OLD_PREFIX
  39. find . -type d -exec chmod 755 {} \;
  40. %build
  41. make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
  42. %install
  43. rm -rf ${RPM_BUILD_ROOT}
  44. mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
  45. mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{1,5}
  46. make \
  47. BASENAME=${RPM_BUILD_ROOT}%{_prefix} MANDIR=${RPM_BUILD_ROOT}%{_mandir} \
  48. install
  49. strip ${RPM_BUILD_ROOT}%{_bindir}/* || :
  50. %clean
  51. rm -rf ${RPM_BUILD_ROOT}
  52. %files
  53. %defattr(-,root,root)
  54. %doc Artistic COPYING FAQ FEATURES HISTORY README KNOWN_BUGS examples
  55. %{_bindir}/formail
  56. %attr(2755,root,mail) %{_bindir}/lockfile
  57. %{_bindir}/mailstat
  58. %attr(0755,root,mail) %{_bindir}/procmail
  59. %{_mandir}/man[15]/*
  60. %changelog
  61. * Sun Apr 3 2011 IWAI, Masaharu <iwai@alib.jp> 3.22-3
  62. - add two patches from Fedora 3.22-25
  63. - add IPv6 support to comsat notification (Patch5)
  64. - rename getline to avoid conflict with glibc 2.10,11 (Patch6)
  65. - update description
  66. * Wed Jun 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.22-2
  67. - spec in UTF-8
  68. * Fri May 2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.22-1
  69. - applied new versioning policy
  70. * Wed Sep 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 3.22-0vl4
  71. - rebuild to add gpg sign
  72. - add Patch2,3 from FC
  73. * Sun May 18 2003 IWAI Masaharu <iwai@alib.jp> 3.22-0vl3
  74. - rebuild with new toolchain
  75. - fix typo in %%changelog
  76. * Thu Oct 03 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 3.22-0vl2
  77. - lose setuid/setgid bits.
  78. postfix do not use procmail as local mailer now.
  79. * Tue Oct 2 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 3.22-0vl1
  80. - come back setuid/setgid bits to create lock file.
  81. * Wed Jul 18 2001 <sagami@vinelinux.org>
  82. - 3.20-0vl1
  83. - sync with RedHat 6.2 updates 3.20-0.62; major changes are...
  84. * lose setuid/setgid (root,mail) bits (bugzilla #23257).
  85. * Change to "License: GPL or artistic" from "Copyright: distributable"
  86. * Enable LMTP
  87. * Fix man page (bugzilla #35825)
  88. * Thu Feb 8 2001 Yasuhide OOMORI <dasen@icntv.ne.jp>
  89. - 3.14-5vl2
  90. - fixed formail to comply with RFC822 (OLD_PREFIX).
  91. * Wed Jan 10 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  92. - 3.14-5vl1
  93. - based on 3.14-5 from Rawhide
  94. - added Japanese summary and description
  95. * Fri Aug 11 2000 Jeff Johnson <jbj@redhat.com>
  96. - add space in delivery rules with '!' (#15947).
  97. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  98. - automatic rebuild
  99. * Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com>
  100. - FHS packaging.
  101. * Mon Feb 7 2000 Jeff Johnson <jbj@redhat.com>
  102. - compress man pages.
  103. * Fri Jan 14 2000 Jeff Johnson <jbj@redhat.com>
  104. - update to 3.14.
  105. * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
  106. - fix doc perms.
  107. * Wed Apr 21 1999 Cristian Gafton <gafton@redhat.com>
  108. - turn on GROUP_PER_USER
  109. - add some docs to the package
  110. * Mon Apr 05 1999 Cristian Gafton <gafton@redhat.com>
  111. - version 3.13
  112. * Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com>
  113. - fixed Group line
  114. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  115. - auto rebuild in the new build environment (release 16)
  116. * Sun Aug 16 1998 Jeff Johnson <jbj@redhat.com>
  117. - build root
  118. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  119. - translations modified for de, fr, tr
  120. * Thu Jun 19 1997 Erik Troan <ewt@redhat.com>
  121. - built against glibc