packages: perl-Sendmail-PMilter/perl-Sendmail-PMilter.spec (NEW)=?UTF-8?Q?=20?=- initial, ...

adwol adwol at pld-linux.org
Mon Mar 5 11:34:27 CET 2012


Author: adwol                        Date: Mon Mar  5 10:34:27 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial, version 1.00

---- Files affected:
packages/perl-Sendmail-PMilter:
   perl-Sendmail-PMilter.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-Sendmail-PMilter/perl-Sendmail-PMilter.spec
diff -u /dev/null packages/perl-Sendmail-PMilter/perl-Sendmail-PMilter.spec:1.1
--- /dev/null	Mon Mar  5 11:34:27 2012
+++ packages/perl-Sendmail-PMilter/perl-Sendmail-PMilter.spec	Mon Mar  5 11:34:21 2012
@@ -0,0 +1,73 @@
+# $Revision$, $Date$
+#
+%bcond_without	tests		# do not perform "make test"
+
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Sendmail
+%define	pnam	PMilter
+Summary:	Sendmail::PMilter - Perl binding of Sendmail Milter protocol
+Summary(pl):	Sendmail::PMilter - moduł Perla do obsługi protokołu Milter
+Name:		perl-Sendmail-PMilter
+Version:	1.00
+Release:	1
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-authors/id/A/AV/AVAR/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	18f8fd3b69ef98014a1a5d55fbefd3d9
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	sendmail-devel >= 8.13.6-3.1
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Sendmail::PMilter is a mail filtering API implementing the Sendmail
+milter protocol in pure Perl. This allows Sendmail servers (and
+perhaps other MTAs implementing milter) to filter and modify mail in
+transit during the SMTP connection, all in Perl.
+
+It should be noted that PMilter 0.90 and later is NOT compatible with
+scripts written for PMilter 0.5 and earlier. The API has been reworked
+significantly, and the enhanced APIs and rule logic provided by
+PMilter 0.5 and earlier has been factored out for inclusion in a
+separate package to be called Mail::Milter.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+PERL_MM_USE_DEFAULT=1 %{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes doc README
+%{perl_vendorlib}/Sendmail/*.pm
+%{perl_vendorlib}/Sendmail/PMilter
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2012/03/05 10:34:21  adwol
+- initial, version 1.00
+
================================================================


More information about the pld-cvs-commit mailing list