SPECS: perl-Mail-SPF-Test.spec (NEW) - new
radek
radek at pld-linux.org
Mon Dec 1 00:37:57 CET 2008
Author: radek Date: Sun Nov 30 23:37:57 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
perl-Mail-SPF-Test.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Mail-SPF-Test.spec
diff -u /dev/null SPECS/perl-Mail-SPF-Test.spec:1.1
--- /dev/null Mon Dec 1 00:37:57 2008
+++ SPECS/perl-Mail-SPF-Test.spec Mon Dec 1 00:37:51 2008
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Mail
+%define pnam SPF-Test
+Summary: Mail::SPF::Test - SPF test-suite class
+#Summary(pl.UTF-8):
+Name: perl-Mail-SPF-Test
+Version: 1.001
+Release: 1
+License: BSD
+group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/Mail/%{pdir}-%{pnam}-v%{version}.tar.gz
+# Source0-md5: bfa7bc09260cc135fbe3955adf0168f9
+URL: http://search.cpan.org/dist/Mail-SPF-Test/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Mail::SPF::Test is a class for reading and manipulating SPF test-suite
+data.
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-v%{version}
+
+%build
+%{__perl} Build.PL \
+ destdir=$RPM_BUILD_ROOT \
+ installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+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 INSTALL README TODO
+%{perl_vendorlib}/Mail/SPF/*.pm
+%{perl_vendorlib}/Mail/SPF/Test
+%{_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 2008/11/30 23:37:51 radek
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list