SPECS: perl-Mail-SPF.spec (NEW) - initial, version 2.0, rel 0.1, b...
agaran
agaran at pld-linux.org
Thu Jul 27 23:31:26 CEST 2006
Author: agaran Date: Thu Jul 27 21:31:26 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial, version 2.0, rel 0.1, builds here,
---- Files affected:
SPECS:
perl-Mail-SPF.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Mail-SPF.spec
diff -u /dev/null SPECS/perl-Mail-SPF.spec:1.1
--- /dev/null Thu Jul 27 23:31:26 2006
+++ SPECS/perl-Mail-SPF.spec Thu Jul 27 23:31:21 2006
@@ -0,0 +1,72 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without autodeps # don't BR packages needed only for resolving deps
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Mail
+%define pnam SPF
+Summary: perl(Mail::SPF) - Mail Sender Authentication
+Name: perl-Mail-SPF
+Version: 2.00
+Release: 0.1
+# "same as perl"
+License: GPL or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 7fb935f9f070d5df092dc46f34975b00
+#Patch0: %{name}
+URL: http://search.cpan.org/dist/%{pdir}-%{pnam}
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is an initial draft object oriented reimplementation of Mail::SPF::Query.
+It is not yet fully tested, and does not yet contain all of the additional
+features expected of a practical SPF implementation.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+%{__install} -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/
+%{__install} eg/dns.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{perl_vendorlib}/Mail/SPF.pm
+%dir %{perl_vendorlib}/Mail/SPF
+%dir %{perl_vendorlib}/Mail/SPF/Mech
+%{perl_vendorlib}/Mail/SPF/*.pm
+%{perl_vendorlib}/Mail/SPF/Mech/*.pm
+%{_mandir}/man3/*
+%dir %{_examplesdir}/%{name}-%{version}
+%{_examplesdir}/%{name}-%{version}/dns.pl
+
+%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/07/27 21:31:21 agaran
+- initial, version 2.0, rel 0.1, builds here,
+
================================================================
More information about the pld-cvs-commit
mailing list