You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

snf-server-sendmail.spec.in 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #
  2. # $Id$
  3. #
  4. # $Id: configure.in,v 1.33 2008/02/08 15:10:17 adeniz Exp $
  5. #
  6. # autoconf input for the MicroNeil @PACKAGE_NAME@-sendmail RPM spec file.
  7. #
  8. # Author: Alban Deniz
  9. #
  10. # Copyright (C) 2013 ARM Research Labs, LLC.
  11. # See www.armresearch.com for the copyright terms.
  12. #
  13. #############################################################################
  14. # Create the source RPM in this directory.
  15. %define _srcrpmdir @abs_srcdir@/
  16. # Create the binary RPM in this directory.
  17. %define _rpmdir @abs_srcdir@/
  18. # Test install in this directory.
  19. BuildRoot: @abs_srcdir@/scratch/
  20. # Required items.
  21. Name: @PACKAGE_NAME@-sendmail
  22. Version: @VERSION@
  23. Release: 1
  24. License: Artistic
  25. Group: System Environment/Daemons
  26. BuildArch: noarch
  27. Summary: ARM Research Labs Sniffer integration with sendmail.
  28. #%define manifest %{_builddir}/%{name}-%{version}-%{release}.manifest
  29. # Optional items.
  30. Vendor: ARM Research Labs, Inc.
  31. URL: http://www.armresearch.com/
  32. Requires: snf-server
  33. Requires: sendmail
  34. @SNF_RPM_SENDMAIL_OTHER_REQUIRES@
  35. %description
  36. @PACKAGE_NAME@-sendmail integrates snf-server with sendmail. snf-server
  37. is a plug-in for an MTA (Mail Transport Agent, such as sendmail or
  38. postfix) that does spam detection and IP address scanning.
  39. @PACKAGE_NAME@-sendmail must be installed after @PACKAGE_NAME@.
  40. %group Applications/Communications
  41. %post
  42. # Integrate with sendmail.
  43. /usr/sbin/SNFServerConfig -with=sendmail
  44. %preun
  45. # Remove configuration with sendmail.
  46. /usr/sbin/SNFServerConfig -with=none
  47. %files
  48. %defattr(-,root,root)
  49. %changelog
  50. * Sat Sep 22 2012 Alban Deniz - 1.0.4-1
  51. - Initial version