Author: arekm Date: Thu Jan 8 12:31:22 2009 GMT Module: SPECS Tag: HEAD ---- Log message: - initial
---- Files affected: SPECS: perl-Test-Email.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Test-Email.spec diff -u /dev/null SPECS/perl-Test-Email.spec:1.1 --- /dev/null Thu Jan 8 13:31:22 2009 +++ SPECS/perl-Test-Email.spec Thu Jan 8 13:31:17 2009 @@ -0,0 +1,64 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Test +%define pnam Email +Summary: Test::Email Perl module - Test Email Contents +Name: perl-Test-Email +Version: 0.07 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://search.cpan.org/CPAN/authors/id/J/JA/JAMES/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: be2f80d2dbdd2f9c3329237402ebcf14 +URL: http://search.cpan.org/dist/Test-Email/ +BuildRequires: perl-devel >= 1:5.8.7 +%if %{with tests} +%endif +BuildRequires: rpm-perlprov >= 4.1-13 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Test::Email Perl - Test Email Contents. + +%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} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes +%{perl_vendorlib}/Test/*.pm +%{perl_vendorlib}/Test/Email.pm +%{perl_vendorlib}/Test/POP3.pm +%{_mandir}/man3/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2009/01/08 12:31:17 arekm +- initial + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
