[perl-WWW-Google-Contacts] Initial import (#800102).

aviram aviram at fedoraproject.org
Mon Mar 26 16:54:28 UTC 2012


commit ce8d6b3b5f30c82c3915feb1d5145a0e2ea5c8dd
Author: Avi Alkalay <avibrazil at gmail.com>
Date:   Mon Mar 26 13:53:27 2012 -0300

    Initial import (#800102).

 .gitignore                    |    1 +
 perl-WWW-Google-Contacts.spec |   85 +++++++++++++++++++++++++++++++++++++++++
 sources                       |    1 +
 3 files changed, 87 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..68545cc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/WWW-Google-Contacts-0.33.tar.gz
diff --git a/perl-WWW-Google-Contacts.spec b/perl-WWW-Google-Contacts.spec
new file mode 100644
index 0000000..f522044
--- /dev/null
+++ b/perl-WWW-Google-Contacts.spec
@@ -0,0 +1,85 @@
+Name:           perl-WWW-Google-Contacts
+Version:        0.33
+Release:        3%{?dist}
+Summary:        Use Perl to access, list and edit Google Contacts
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/WWW-Google-Contacts/
+Source0:        http://www.cpan.org/authors/id/M/ME/MERIXZON/WWW-Google-Contacts-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+BuildRequires:  perl(Class::MOP) >= 1.09
+BuildRequires:  perl(Crypt::SSLeay)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Slurp)
+BuildRequires:  perl(LWP::UserAgent)
+BuildRequires:  perl(Moose)
+BuildRequires:  perl(MooseX::Role::Parameterized)
+BuildRequires:  perl(MooseX::Singleton) >= 0.25
+BuildRequires:  perl(MooseX::Types)
+BuildRequires:  perl(Net::Google::AuthSub)
+BuildRequires:  perl(Perl6::Junction)
+BuildRequires:  perl(Try::Tiny)
+BuildRequires:  perl(XML::Simple)
+BuildRequires:  perl(Test::More)
+
+# The Requires that are commented are duplicates between cpanspec and
+# automatic rpmbuild detection.
+Requires:       perl(Class::MOP) >= 1.09
+Requires:       perl(Crypt::SSLeay)
+#Requires:       perl(File::Slurp)
+#Requires:       perl(LWP::UserAgent)
+#Requires:       perl(Moose)
+#Requires:       perl(MooseX::Role::Parameterized)
+Requires:       perl(MooseX::Singleton) >= 0.25
+#Requires:       perl(MooseX::Types)
+#Requires:       perl(Net::Google::AuthSub)
+#Requires:       perl(Perl6::Junction)
+#Requires:       perl(Try::Tiny)
+#Requires:       perl(XML::Simple)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module implements 'Google Contacts Data API' according to
+http://code.google.com/apis/contacts/docs/3.0/developers_guide_protocol.html
+
+%prep
+%setup -q -n WWW-Google-Contacts-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc Changes dist.ini LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Mar 21 2012 Avi Alkalay <avi at unix.sh> 0.33-3
+- Removed duplicate Requires
+- Refined for Fedora and EPEL sponsorship
+
+* Mon Mar 05 2012 Avi Alkalay <avi at unix.sh> 0.33-2
+- Edited cpanspec default description to something more readable
+- Added the perl(Test::More) BuildRequires
+
+* Fri Mar 02 2012 Avi Alkalay <avi at unix.sh> 0.33-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..aae3bc9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3e33a1d0dc9f50fdd45652783b461383  WWW-Google-Contacts-0.33.tar.gz



More information about the perl-devel mailing list