Advertisement
Guest User

Untitled

a guest
Apr 4th, 2018
339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.84 KB | None | 0 0
  1. Name: nmh
  2. Version: 1.7.1
  3. Release: 3%{?dist}
  4. Summary: A capable MIME-email-handling system with a command-line interface
  5. License: BSD
  6. URL: http://savannah.nongnu.org/projects/nmh
  7. Source0: http://download.savannah.gnu.org/releases/nmh/nmh-%{version}.tar.gz
  8. Patch0: nmh-use-smtp-port.patch
  9. Requires: %{_bindir}/vi
  10. Requires: /usr/sbin/sendmail
  11. Requires: libcurl
  12. Requires: w3m
  13. BuildRequires: cyrus-sasl-devel
  14. BuildRequires: gcc
  15. BuildRequires: libcurl-devel
  16. BuildRequires: libdb
  17. BuildRequires: libdb-devel
  18. BuildRequires: ncurses-devel
  19. BuildRequires: openssl-devel
  20. BuildRequires: readline
  21. BuildRequires: readline-devel
  22. BuildRequires: w3m
  23.  
  24. %description
  25. nmh is a collection of single-purpose programs that send, receive,
  26. show, search, and otherwise manipulate emails, including MIME.
  27. They combine well with other Unix programs, easing the development
  28. of custom shorthand commands as shell scripts.
  29. Optional GUI interfaces are provided by the external xmh and exmh
  30. projects. nmh is a descendant of the RAND MH, Mail Handler, project.
  31.  
  32. %prep
  33. %setup -q -n nmh-%{version}
  34. %patch0 -p1
  35.  
  36. %build
  37. CFLAGS="$RPM_OPT_FLAGS"
  38. %configure --docdir=%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
  39. make
  40.  
  41.  
  42. %install
  43. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  44.  
  45.  
  46. %files
  47. %{_bindir}/*
  48. %dir %{_sysconfdir}/nmh
  49. %config(noreplace) %{_sysconfdir}/nmh/*
  50. %dir %{_libexecdir}/nmh
  51. %{_libexecdir}/nmh/*
  52. %{_mandir}/man[8751]/*
  53. %doc %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
  54.  
  55. %changelog
  56. * Wed Apr 4 2018 Bryan Wright <bkw1a@virginia.edu>
  57. - Changed default send port from 587 back to original 25.
  58.  
  59. * Sat Mar 10 2018 David Levine <par.packager@gmail.com> 1.7.1-3
  60. - Fixed files %%doc to match configure --docdir.
  61. - Replaced /usr/bin/vi with %%{_bindir}/vi.
  62.  
  63. * Thu Mar 8 2018 David Levine <par.packager@gmail.com> 1.7.1-2
  64. - Restored --docdir, and set %%doc to match.
  65.  
  66. * Wed Mar 7 2018 David Levine <par.packager@gmail.com> 1.7.1-1
  67. - Updated nmh to 1.7.1.
  68.  
  69. * Thu Mar 1 2018 David Levine <par.packager@gmail.com> 1.7-6
  70. - Changed /bin/vi to /usr/bin/vi, hoping that will fix the F28 build.
  71.  
  72. * Mon Feb 19 2018 David Levine <par.packager@gmail.com> 1.7-5
  73. - Added libcurl and libcurl-devel BuildRequires to enable OAuth support.
  74. - Added BuildRequires: gcc.
  75.  
  76. * Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.7-4
  77. - Escape macros in %%changelog
  78.  
  79. * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-3
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  81.  
  82. * Sun Nov 26 2017 David Levine <par.packager@gmail.com> 1.7-2
  83. - Removed configure --sysconfdir to fix /etc/nmh/ install dir.
  84. - Removed autoconf dependencies because autoreconf is no longer used.
  85.  
  86. * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-14
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  88.  
  89. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-13
  90. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  91.  
  92. * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-12
  93. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  94.  
  95. * Mon Jan 30 2017 David Levine <par.packager@gmail.com> 1.6-11
  96. - Added automake dependency.
  97.  
  98. * Sun Jan 29 2017 David Levine <par.packager@gmail.com> 1.6-10
  99. - Added autoreconf because nmh uses unsupported automake version.
  100.  
  101. * Thu Jan 12 2017 David Levine <levinedl@acm.org> 1.6-9
  102. - Patched configure.ac to look for SSL_new() instead of SSL_library_init().
  103.  
  104. * Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.6-8
  105. - Rebuild for readline 7.x
  106.  
  107. * Tue Sep 27 2016 David Levine <levinedl@acm.org> 1.6-7
  108. - Try libdb instead of db4.
  109.  
  110. * Tue Sep 27 2016 David Levine <levinedl@acm.org> 1.6-7
  111. - Removed autoreconf its dependencies.
  112.  
  113. * Tue Sep 27 2016 David Levine <levinedl@acm.org> 1.6-6
  114. - Need autoconf268.
  115.  
  116. * Tue Sep 27 2016 David Levine <levinedl@acm.org> 1.6-6
  117. - That should have been db4{,-devel} instead of libdb4{,-devel}.
  118.  
  119. * Tue Sep 27 2016 David Levine <levinedl@acm.org> 1.6-6
  120. - Use libdb4{,-devel} on EPEL6.
  121.  
  122. * Mon Feb 22 2016 David Levine <levinedl@acm.org> 1.6-6
  123. - Added build dependency on w3m, and changed Requires to be on that package.
  124.  
  125. * Sun Feb 21 2016 David Levine <levinedl@acm.org> 1.6-5
  126. - Added dependency on /bin/w3m.
  127.  
  128. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-4
  129. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  130.  
  131. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-3
  132. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  133.  
  134. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2
  135. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  136.  
  137. * Sun Jun 29 2014 David Levine <levinedl@acm.org> 1.6-1
  138. - Update nmh to 1.6
  139. - Configure with SASL and TLS support
  140. - Replaced patch of autoconf files with autoreconf --force
  141. - Updated run-time and build dependencies
  142.  
  143. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-9
  144. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  145.  
  146. * Fri Aug 09 2013 Josh Bressers <bressers@redhat.com> 0:1.5-8
  147. - Switch to unversioned docdir
  148.  
  149. * Fri Aug 09 2013 Josh Bressers <bressers@redhat.com> 0:1.5-7
  150. - Re-run autoconf to pick 2.69 changes
  151. - Properly package the doc directory
  152.  
  153. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-6
  154. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  155.  
  156. * Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.5-5
  157. - Perl 5.18 rebuild
  158.  
  159. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-4
  160. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  161.  
  162. * Sat Aug 04 2012 Parag Nemade <paragn AT fedoraproject DOT org> - 1.5-3
  163. - Change BR: db4-devel to libdb-devel
  164.  
  165. * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
  166. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  167.  
  168. * Fri Jun 22 2012 David Levine <levinedl@acm.org> 0:1.5-1
  169. - Update nmh to 1.5
  170.  
  171. * Sun Jan 15 2012 Josh Bressers <bressers@redhat.com> 0:1.4-1
  172. - Update nmh to 1.4
  173.  
  174. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-5
  175. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  176.  
  177. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-4
  178. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  179.  
  180. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-3
  181. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  182.  
  183. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
  184. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  185.  
  186. * Thu Jun 19 2008 Josh Bressers <bressers@redhat.com> 0:1.3-1
  187. - Update nmh to 1.3
  188.  
  189. * Wed Apr 30 2008 Josh Bressers <bressers@redhat.com> 0:1.3-RC1.1
  190. - Update nmh to 1.3-RC1
  191.  
  192. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2-20070116cvs.4
  193. - Autorebuild for GCC 4.3
  194.  
  195. * Tue Aug 21 2007 Josh Bressers <bressers@redhat.com> 0:1.2_20070115cvs.4
  196. - Fix inc when the -silent flag is used
  197.  
  198. * Sun Feb 04 2007 Josh Bressers <bressers@redhat.com> 0:1.2_20070115cvs.3
  199. - Use double quotes not single quotes for CFLAGS
  200.  
  201. * Sun Feb 04 2007 Josh Bressers <bressers@redhat.com> 0:1.2_20070115cvs.2
  202. - Use $RPM_OPT_FLAGS when building the source bz#227243
  203.  
  204. * Mon Jan 15 2007 Josh Bressers <bressers@redhat.com> 0:1.2_CVS_20070115
  205. - Update to nmh 1.2 post CVS (thanks to Horst H. von Brand for assistance
  206. in this task)
  207.  
  208. * Wed Jan 10 2007 Josh Bressers <bressers@redhat.com> 0:1.1-20
  209. - Replace the libtermcap-devel buildrequires with ncurses-devel
  210.  
  211. * Mon Sep 11 2006 Josh Bressers <bressers@redhat.com> 0:1.1-19.fc6
  212. - Use %%\dist tag
  213. - Place helper programs in /usr/libexec
  214. - Rebuild for FC6
  215.  
  216. * Sun Feb 19 2006 Josh Bressers <bressers@redhat.com> 0:1.1-18.fc5
  217. - Fix a broken spec file.
  218.  
  219. * Sun Feb 19 2006 Josh Bressers <bressers@redhat.com> 0:1.1-17.fc5
  220. - Stop trying to install inc sgid.
  221.  
  222. * Mon Feb 13 2006 Josh Bressers <bressers@redhat.com> 0:1.1-16.fc5
  223. - Rebuild for Fedora Extras 5.
  224.  
  225. * Fri Dec 16 2005 Josh Bressers <bressers@redhat.com> 0:1.1-15.fc5
  226. - Add the -fno-builtin-strcasecmp cflag.
  227.  
  228. * Tue Dec 13 2005 Josh Bressers <bressers@redhat.com> 0:1.1-14.fc5
  229. - Add a patch to prevent multiple calls to context_read from squashing
  230. settings.
  231.  
  232. * Mon Dec 12 2005 Josh Bressers <bressers@redhat.com> 0:1.1-13.fc5
  233. - Add a patch to allow repl to properly annotate messages.
  234.  
  235. * Mon Dec 05 2005 Josh Bressers <bressers@redhat.com> 0:1.1-12.fc5
  236. - Add a buildrequires on /bin/vi
  237. - Modify the sendmail buildrequires to use /usr/sbin/sendmail
  238.  
  239. * Thu Nov 10 2005 Josh Bressers <bressers@redhat.com> 0:1.1-11.fc5
  240. - Add a sendmail buildrequires to make spost work properly
  241.  
  242. * Thu Nov 03 2005 Josh Bressers <bressers@redhat.com> 0:1.1-10.fc5
  243. - Prevent mhshow from trying to close a file stream twice
  244.  
  245. * Thu Aug 25 2005 Josh Bressers <bressers@redhat.com> 0:1.1-9.fc5
  246. - Fix the specfile to honor the $RPM_OPT_FLAGS
  247.  
  248. * Tue May 10 2005 Josh Bressers <bressers@redhat.com> 0:1.1-8.fc4
  249. - Use fcntl for filelocking instead of the default dotlocks.
  250.  
  251. * Sun Apr 24 2005 Josh Bressers <bressers@redhat.com> 0:1.1-7.fc4
  252. - Add patch from Jason Venner to avoid trying to lock files in /dev
  253.  
  254. * Sun Apr 17 2005 Josh Bressers <bressers@redhat.com> 0:1.1-6.fc4
  255. - Remove what should have been commented out redinitions of the _sysconfdir
  256. and _libdir macros.
  257.  
  258. * Thu Apr 14 2005 Josh Bressers <bressers@redhat.com> 0:1.1-5
  259. - Make the spec file much more sane.
  260.  
  261. * Wed Apr 13 2005 Josh Bressers <bressers@redhat.com> 0:1.1-3
  262. - Initial build
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement