commit 29b27e6532981a0c4937e1b3a50a2c9171c9e3eb
Author: Petr Šabata <contyk(a)redhat.com>
Date: Mon Apr 30 11:50:55 2012 +0200
Initial import (#816844)
.gitignore | 1 +
perl-VMware-LabManager.spec | 56 +++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a3b36cc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/VMware-LabManager-0.01.tar.gz
diff --git a/perl-VMware-LabManager.spec b/perl-VMware-LabManager.spec
new file mode 100644
index 0000000..603ae09
--- /dev/null
+++ b/perl-VMware-LabManager.spec
@@ -0,0 +1,56 @@
+Name: perl-VMware-LabManager
+Version: 0.01
+Release: 1%{?dist}
+Summary: Perl module to provide basic VMware Lab Manager operations
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL:
http://search.cpan.org/dist/VMware-LabManager/
+Source0:
http://www.cpan.org/authors/id/A/AI/AIVATURI/VMware-LabManager-%{version}...
+BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker)
+# Runtime, SOAP::Lite is needed for the debug mode
+BuildRequires: perl(SOAP::Lite)
+BuildRequires: perl(Time::HiRes)
+# Tests only
+BuildRequires: perl(Test::More)
+# Optional tests
+BuildRequires: perl(Pod::Coverage) >= 0.18
+BuildRequires: perl(Test::CheckManifest) >= 0.9
+BuildRequires: perl(Test::Pod) >= 1.22
+BuildRequires: perl(Test::Pod::Coverage) >= 1.08
+# In evals, not autodetected
+Requires: perl(SOAP::Lite)
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo
$version))
+
+%description
+This module does not provide a one-to-one mapping of the Lab Manager SOAP
+API, but rather it provides an API wrapper, which combines certain SOAP
+calls as a meaningful single operation. Thus this module is heavily
+tailored for automation purposes. But, it should also cater to the
+broader audience as it still does provide overall functionality that
+might be required.
+
+%prep
+%setup -q -n VMware-LabManager-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Apr 27 2012 Petr Šabata <contyk(a)redhat.com> 0.01-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..b529d56 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2793d35b5719177d68b19eead118933a VMware-LabManager-0.01.tar.gz