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-postfix.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@-postfix 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@-postfix
  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 postfix.
  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: postfix
  34. %description
  35. @PACKAGE_NAME@-postfix integrates snf-server with postfix. snf-server
  36. is a plug-in for an MTA (Mail Transport Agent, such as sendmail or
  37. postfix) that does spam detection and IP address scanning.
  38. @PACKAGE_NAME@-postfix must be installed after @PACKAGE_NAME@.
  39. %group Applications/Communications
  40. %post
  41. # Integrate with postfix.
  42. /usr/sbin/SNFServerConfig -with=postfix
  43. %preun
  44. # Remove configuration with postfix.
  45. /usr/sbin/SNFServerConfig -with=none
  46. %files
  47. %defattr(-,root,root)
  48. %changelog
  49. %changelog
  50. * Sat Jan 05 2013 Alban Deniz - 3.0.14-1
  51. - Initial version, copied from snf-milter-postfix.spec.