[perl-AnyEvent-HTTP] import perl-AnyEvent-HTTP - new package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit e0de291f5050a183b32e9e3fb673ffc0c556130a
Author: remi <fedora@xxxxxxxxxxxxxxxxx>
Date:   Mon Jan 3 07:04:53 2011 +0100

    import perl-AnyEvent-HTTP - new package

 .gitignore              |    1 +
 perl-AnyEvent-HTTP.spec |   79 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 3 files changed, 81 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..fed99be 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/AnyEvent-HTTP-1.46.tar.gz
diff --git a/perl-AnyEvent-HTTP.spec b/perl-AnyEvent-HTTP.spec
new file mode 100644
index 0000000..3bc934f
--- /dev/null
+++ b/perl-AnyEvent-HTTP.spec
@@ -0,0 +1,79 @@
+%global perlname AnyEvent-HTTP
+
+Name:      perl-AnyEvent-HTTP
+Version:   1.46
+Release:   1%{?dist}
+Summary:   Simple but non-blocking HTTP/HTTPS client  
+
+Group:     Development/Libraries
+License:   GPL+ or Artistic
+URL:       http://search.cpan.org/dist/AnyEvent-HTTP/
+Source:    http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/%{perlname}-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(AnyEvent) >= 5.0
+
+Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+
+%description
+This module is an AnyEvent user, you need to make sure that you use and
+run a supported event loop.
+
+This module implements a simple, stateless and non-blocking HTTP client.
+It supports GET, POST and other request methods, cookies and more, all
+on a very low level. It can follow redirects supports proxies and
+automatically limits the number of connections to the values specified
+in the RFC.
+
+It should generally be a "good client" that is enough for most HTTP
+tasks. Simple tasks should be simple, but complex tasks should still be
+possible as the user retains control over request and response headers.
+
+The caller is responsible for authentication management, cookies (if the
+simplistic implementation in this module doesn't suffice), referrer and
+other high-level protocol details for which this module offers only
+limited support.
+
+
+%prep
+%setup -q -n %{perlname}-%{version}
+
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -print
+find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' -print
+%{_fixperms} %{buildroot}%{_prefix}
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%check
+make test
+
+
+%files
+%defattr(-, root, root, -)
+%doc Changes COPYING README
+%{_mandir}/man3/Any*
+%{perl_vendorlib}/AnyEvent
+
+
+%changelog
+* Sun Dec 26 2010 Remi Collet <Fedora@xxxxxxxxxxxxxxxxx> 1.46-1
+- initial spec for Extras
+
diff --git a/sources b/sources
index e69de29..53345e6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+336b85da8b7999072dc94b755b2b84e7  AnyEvent-HTTP-1.46.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux