rpms/perl-POE-Component-Client-HTTP/devel perl-POE-Component-Client-HTTP.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Fri Jul 28 03:52:07 UTC 2006


Author: cweyl

Update of /cvs/extras/rpms/perl-POE-Component-Client-HTTP/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31053/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-POE-Component-Client-HTTP.spec 
Log Message:
auto-import perl-POE-Component-Client-HTTP-0.77-1.fc5 on branch devel from perl-POE-Component-Client-HTTP-0.77-1.fc5.src.rpm


--- NEW FILE perl-POE-Component-Client-HTTP.spec ---
# Note:  The tests for this perl dist. are disabled by default, as they
# require network access and would thus fail in the buildsys' mock
# environments.  To build locally while enabling tests, either:
#
#   rpmbuild ... --define '_with_network_tests 1' ...
#   rpmbuild ... --with network_tests ...
#   define _with_network_tests 1 in your ~/.rpmmacros
#
# Note that right now, the only way to run tests locally from a cvs sandbox
# "make noarch" type scenario is the third one.

Name:           perl-POE-Component-Client-HTTP
Version:        0.77
Release:        1%{?dist}
Summary:        A non-blocking/parallel web requests engine for POE

Group:          Development/Libraries
License:        Artistic or GPL        
URL:            http://search.cpan.org/dist/POE-Component-Client-HTTP            
Source0: http://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/POE-Component-Client-HTTP-%{version}.tar.gz        
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  perl
BuildRequires:  perl(POE) >= 0.31, perl(HTTP::Request) >= 1.30
BuildRequires:  perl(HTTP::Response) >= 1.37, perl(URI) >= 1.24
BuildRequires:  perl(POE::Component::Client::Keepalive) >= 0.0704
BuildRequires:  dos2unix, sed
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
POE::Component::Client::HTTP is an HTTP user-agent for POE. It lets other
sessions run while HTTP transactions are being processed, and it lets several
HTTP transactions be processed in parallel.


%prep
%setup -q -n POE-Component-Client-HTTP-%{version}


%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 {} ';'
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*

cd examples
dos2unix pcchget.perl
sed -i -e '/#!perl/d' pcchget.perl


%check
# we don't have network access during the builds; fortunately these look to be
# the only tests requiring it.  Failing that, the entire suite can be
# disabled.
%{?!_with_network_tests:rm t/01* t/02* t/09* t/11* t/50* t/54*}

make test


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc CHANGES* README examples
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*


%changelog
* Thu Jul 27 2006 Chris Weyl <cweyl at alumni.drew.edu> 0.77-1
- switched to the same _with_network_tests test as perl-POE-Component-IRC
- updated to 0.77

* Thu Jul 20 2006 Chris Weyl <cweyl at alumni.drew.edu> 0.76-1
- bits snipped

* Thu Jul 13 2006 Chris Weyl <cweyl at alumni.drew.edu> 0.76-0
- Initial spec file for F-E


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-POE-Component-Client-HTTP/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	28 Jul 2006 03:51:53 -0000	1.1
+++ .cvsignore	28 Jul 2006 03:52:07 -0000	1.2
@@ -0,0 +1 @@
+POE-Component-Client-HTTP-0.77.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-POE-Component-Client-HTTP/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	28 Jul 2006 03:51:53 -0000	1.1
+++ sources	28 Jul 2006 03:52:07 -0000	1.2
@@ -0,0 +1 @@
+bca2c306d8c63535845b760883a13644  POE-Component-Client-HTTP-0.77.tar.gz




More information about the fedora-extras-commits mailing list