SPECS: perl-Sendmail-Milter.spec (NEW) - new, NFY (build needs hac...

glen glen at pld-linux.org
Wed May 24 10:09:02 CEST 2006


Author: glen                         Date: Wed May 24 08:09:02 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, NFY (build needs hacking)
- needed for amavis-ng-0.1.6.9-2: req perl(Sendmail::Milter) not found

---- Files affected:
SPECS:
   perl-Sendmail-Milter.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Sendmail-Milter.spec
diff -u /dev/null SPECS/perl-Sendmail-Milter.spec:1.1
--- /dev/null	Wed May 24 10:09:02 2006
+++ SPECS/perl-Sendmail-Milter.spec	Wed May 24 10:08:57 2006
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Sendmail
+%define	pnam	Milter
+Summary:	Sendmail::Milter - Interface to sendmail's Mail Filter API
+Name:		perl-Sendmail-Milter
+Version:	0.18
+Release:	0.1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-authors/id/C/CY/CYING/Sendmail-Milter-%{version}.tar.gz
+# Source0-md5:	e7ec468d51f699601e0fb1c0bd544c9d
+URL:		http://sendmail-milter.sourceforge.net/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Sendmail::Milter is a Perl extension to sendmail's Mail Filter API
+(Milter).
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+# needs some hacking to build without source:
+#Usage: perl Makefile.PL <path-to-sendmail-source> <path-to-sendmail-obj.dir>
+#(e.g. 'perl Makefile.PL ../sendmail ../sendmail/obj.FreeBSD.4.0-RELEASE.i386')
+
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make} \
+	OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README TODO
+%{perl_vendorarch}/Sendmail/*.pm
+%dir %{perl_vendorarch}/auto/Sendmail/Milter
+%{perl_vendorarch}/auto/Sendmail/Milter/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Sendmail/Milter/*.so
+%{_mandir}/man3/*
+
+%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  2006/05/24 08:08:57  glen
+- new, NFY (build needs hacking)
+- needed for amavis-ng-0.1.6.9-2: req perl(Sendmail::Milter) not found
+
================================================================


More information about the pld-cvs-commit mailing list