Author: rrati Update of /cvs/pkgs/rpms/perl-Net-Amazon-S3/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2309/devel Modified Files: .cvsignore sources Added Files: Net-Amazon-S3-0.43-conditional_include.patch perl-Net-Amazon-S3.spec Log Message: Initial packaging Net-Amazon-S3-0.43-conditional_include.patch: --- NEW FILE Net-Amazon-S3-0.43-conditional_include.patch --- --- Net-Amazon-S3-0.43/t/01api.t 2008-02-28 07:51:44.000000000 +0000 +++ Net-Amazon-S3-0.43/t/01api.t.cond_include 2008-03-07 00:37:11.013945981 +0000 @@ -3,7 +3,8 @@ use warnings; use strict; use lib 'lib'; -use Digest::MD5::File qw(file_md5_hex); +eval "use Digest::MD5::File qw(file_md5_hex)"; +die "couldn't load module : Digest::MD5::File" if ( $@ && $ENV{'AMAZON_S3_EXPENSIVE_TESTS'} ); use Test::More; unless ( $ENV{'AMAZON_S3_EXPENSIVE_TESTS'} ) { --- NEW FILE perl-Net-Amazon-S3.spec --- Summary: Use the Amazon Simple Storage Service (S3) Name: perl-Net-Amazon-S3 Version: 0.43 Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Net-Amazon-S3/ Source0: http://search.cpan.org/CPAN/authors/id/L/LB/LBROCARD/Net-Amazon-S3-%{version}.tar.gz Patch0: Net-Amazon-S3-0.43-conditional_include.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch BuildRequires: perl BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) #BuildRequires: perl(Digest::MD5::File) Requires: perl-URI Requires: perl Requires: perl(LWP::UserAgent::Determined) Requires: perl(XML::LibXML) Requires: perl(XML::LibXML::XPathContext) %description This module provides a Perlish interface to Amazon S3. From the developer blurb: "Amazon S3 is storage for the Internet. It is designed to make web-scale computing easier for developers. Amazon S3 provides a simple web services interface that can be used to store and retrieve any amount of data, at any time, from anywhere on the web. It gives any developer access to the same highly scalable, reliable, fast, inexpensive data storage infrastructure that Amazon uses to run its own global network of web sites. The service aims to maximize benefits of scale and to pass those benefits on to developers". To find out more about S3, please visit: http://s3.amazonaws.com/ %prep %setup -q -n Net-Amazon-S3-%{version} %patch0 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' chmod -R u+w %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc CHANGES README %{perl_vendorlib}/Net/Amazon/S3.pm %{perl_vendorlib}/Net/Amazon/S3/Bucket.pm %{_mandir}/man3/Net::Amazon::S3.3pm.gz %{_mandir}/man3/Net::Amazon::S3::Bucket.3pm.gz %changelog * Thu Mar 6 2008 Robert Rati <rrati@redhat> - 0.43-1 - Initial release Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/perl-Net-Amazon-S3/devel/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 10 Mar 2008 16:44:05 -0000 1.1 +++ .cvsignore 10 Mar 2008 17:43:06 -0000 1.2 @@ -0,0 +1 @@ +Net-Amazon-S3-0.43.tar.gz Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/perl-Net-Amazon-S3/devel/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 10 Mar 2008 16:44:05 -0000 1.1 +++ sources 10 Mar 2008 17:43:06 -0000 1.2 @@ -0,0 +1 @@ +43c2b21e4908d5ffa5093b40ff764691 Net-Amazon-S3-0.43.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list