[perl-REST-Client] Initial import (#1079890).

David Dick ddick at fedoraproject.org
Wed Mar 26 08:02:11 UTC 2014


commit f059b6384e58336f8310f892603a89473245d409
Author: David Dick <ddick at cpan.org>
Date:   Wed Mar 26 19:02:01 2014 +1100

    Initial import (#1079890).

 .gitignore            |    1 +
 perl-REST-Client.spec |   59 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..33c9a33 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/REST-Client-271.tar.gz
diff --git a/perl-REST-Client.spec b/perl-REST-Client.spec
new file mode 100644
index 0000000..33ed72f
--- /dev/null
+++ b/perl-REST-Client.spec
@@ -0,0 +1,59 @@
+Name:           perl-REST-Client
+Version:        271
+Release:        1%{?dist}
+Summary:        Simple client for interacting with RESTful http/https resources
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/REST-Client/
+Source0:        http://www.cpan.org/modules/by-module/REST/REST-Client-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(CGI)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Crypt::SSLeay)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(HTTP::Server::Simple)
+BuildRequires:  perl(HTTP::Server::Simple::CGI)
+BuildRequires:  perl(Module::Install::Base)
+BuildRequires:  perl(LWP::UserAgent)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More) >= 0.8
+BuildRequires:  perl(URI)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+BuildRequires:  perl(XML::LibXML)
+Requires:       perl(XML::LibXML)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+REST::Client provides a simple way to interact with HTTP RESTful resources.
+
+%prep
+%setup -q -n REST-Client-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc CHANGES
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Mar 24 2014 David Dick <ddick at cpan.org> - 271-1
+- Initial release
diff --git a/sources b/sources
index e69de29..28fb48d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2f2132190161eaa87e818ac6af53acfa  REST-Client-271.tar.gz



More information about the perl-devel mailing list