[perl-WebService-Linode/el6] Initial SETUP.

Christopher Meng cicku at fedoraproject.org
Thu Feb 13 05:13:07 UTC 2014


commit 4194950420e102790209f19b23e65af1fef97d1f
Author: Christopher Meng <i at cicku.me>
Date:   Thu Feb 13 13:12:57 2014 +0800

    Initial SETUP.

 .gitignore                  |    1 +
 perl-WebService-Linode.spec |   55 +++++++++++++++++++++++++++++++++++++++++++
 sources                     |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..442f6e6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/WebService-Linode-0.19.tar.gz
diff --git a/perl-WebService-Linode.spec b/perl-WebService-Linode.spec
new file mode 100644
index 0000000..110be7e
--- /dev/null
+++ b/perl-WebService-Linode.spec
@@ -0,0 +1,55 @@
+Name:           perl-WebService-Linode
+Version:        0.19
+Release:        1%{?dist}
+Summary:        Perl Interface to the Linode.com API
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/WebService-Linode/
+Source0:        http://www.cpan.org/authors/id/M/MI/MIKEGRB/WebService-Linode-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(JSON)
+BuildRequires:  perl(List::Util)
+BuildRequires:  perl(LWP::Protocol::https)
+BuildRequires:  perl(Module::Build::Tiny)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module implements the Linode.com api methods. Linode methods have had 
+dots replaced with underscores to generate the perl method name. All keys 
+and parameters have been lower cased but returned data remains otherwise 
+the same. For additional information see http://www.linode.com/api/ .
+
+%prep
+%setup -qn WebService-Linode-%{version}
+
+%build
+%{__perl} Build.PL --installdirs=vendor
+./Build
+
+%install
+./Build install --destdir=%{buildroot} --create_packlist=0
+%{_fixperms} %{buildroot}/*
+
+%check
+./Build test
+
+%files
+%doc Changes LICENSE README examples/
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Feb 13 2014 Christopher Meng <rpm at cicku.me> - 0.19-1
+- Update to 0.19
+
+* Fri Feb 07 2014 Christopher Meng <rpm at cicku.me> - 0.18-1
+- Update to 0.18 with 2 factor authentication support!
+- Add missing BRs and examples.
+
+* Tue Jan 28 2014 Christopher Meng <rpm at cicku.me> - 0.17-1
+- Initial Package.
diff --git a/sources b/sources
index e69de29..d09bf6b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+440309fffb83f30c58f8eef852cece0a  WebService-Linode-0.19.tar.gz



More information about the perl-devel mailing list