[perl-Net-Twitter-Lite] Initial import (#1074482).

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

 



commit 3f04fa4f28a85a140df7c0ecd7726b0c70800790
Author: David Dick <ddick@xxxxxxxx>
Date:   Sat Mar 22 09:27:42 2014 +1100

    Initial import (#1074482).

 .gitignore                   |    1 +
 net_twitter_lite_build.patch |   31 +++++++++++++++
 net_twitter_lite_pod.patch   |    9 ++++
 perl-Net-Twitter-Lite.spec   |   86 ++++++++++++++++++++++++++++++++++++++++++
 sources                      |    1 +
 5 files changed, 128 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e66cdd4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Net-Twitter-Lite-0.12006.tar.gz
diff --git a/net_twitter_lite_build.patch b/net_twitter_lite_build.patch
new file mode 100644
index 0000000..e4a8180
--- /dev/null
+++ b/net_twitter_lite_build.patch
@@ -0,0 +1,31 @@
+diff -Naur old/Build.PL new/Build.PL
+--- Build.PL	2014-01-25 11:11:46.000000000 +1100
++++ Build.PL	2014-03-01 21:58:00.639431147 +1100
+@@ -3,15 +3,15 @@
+ use strict;
+ use warnings;
+ 
+-use Module::Build 0.3601;
++use Module::Build 0.35;
+ 
+ 
+ my %module_build_args = (
+   "build_requires" => {
+-    "Module::Build" => "0.3601"
++    "Module::Build" => "0.35"
+   },
+   "configure_requires" => {
+-    "Module::Build" => "0.3601"
++    "Module::Build" => "0.35"
+   },
+   "dist_abstract" => "A perl API library for the Twitter API",
+   "dist_author" => [
+@@ -59,7 +59,7 @@
+   "Data::Dumper" => 0,
+   "File::Find" => 0,
+   "File::Temp" => 0,
+-  "Module::Build" => "0.3601",
++  "Module::Build" => "0.35",
+   "Test::Fatal" => 0,
+   "Test::More" => 0,
+   "Test::Simple" => "0.98"
diff --git a/net_twitter_lite_pod.patch b/net_twitter_lite_pod.patch
new file mode 100644
index 0000000..6ce7dee
--- /dev/null
+++ b/net_twitter_lite_pod.patch
@@ -0,0 +1,9 @@
+diff -Naur old/lib/Net/Twitter/Lite/WithAPIv1_1.pod new/lib/Net/Twitter/Lite/WithAPIv1_1.pod
+--- lib/Net/Twitter/Lite/WithAPIv1_1.pod	2014-01-25 11:11:46.000000000 +1100
++++ lib/Net/Twitter/Lite/WithAPIv1_1.pod	2014-02-14 21:04:00.483437181 +1100
+@@ -1,5 +1,3 @@
+-#!/usr/bin/env perl
+-
+ =head1 NAME
+ 
+ Net::Twitter::Lite::WithAPIv1_1 - A perl interface to the Twitter API
diff --git a/perl-Net-Twitter-Lite.spec b/perl-Net-Twitter-Lite.spec
new file mode 100644
index 0000000..c9b8a22
--- /dev/null
+++ b/perl-Net-Twitter-Lite.spec
@@ -0,0 +1,86 @@
+Name:           perl-Net-Twitter-Lite
+Version:        0.12006
+Release:        1%{?dist}
+Summary:        Perl interface to the Twitter API
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Net-Twitter-Lite/
+Source0:        http://www.cpan.org/authors/id/M/MM/MMIMS/Net-Twitter-Lite-%{version}.tar.gz
+# https://rt.cpan.org/Ticket/Display.html?id=93027
+Patch1:         net_twitter_lite_pod.patch
+# https://rt.cpan.org/Ticket/Display.html?id=93638
+Patch2:         net_twitter_lite_build.patch
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Crypt::SSLeay) >= 0.5
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(Encode)
+BuildRequires:  perl(Encode::DoubleEncodedUTF8)
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(HTTP::Request::Common)
+BuildRequires:  perl(JSON) >= 2.02
+BuildRequires:  perl(LWP::UserAgent) >= 5.82
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Net::HTTP)
+BuildRequires:  perl(Net::Netrc)
+BuildRequires:  perl(Net::OAuth) >= 0.25
+BuildRequires:  perl(overload)
+BuildRequires:  perl(parent)
+BuildRequires:  perl(Pod::Coverage::TrustPod)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More) >= 0.82
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
+BuildRequires:  perl(Test::Script) >= 1.05
+BuildRequires:  perl(Test::Spelling) >= 0.11
+BuildRequires:  perl(URI) >= 1.40
+BuildRequires:  perl(URI::Escape)
+BuildRequires:  perl(warnings)
+Requires:       perl(Crypt::SSLeay) >= 0.5
+Requires:       perl(JSON) >= 2.02
+Requires:       perl(LWP::UserAgent) >= 5.82
+Requires:       perl(Net::Netrc)
+Requires:       perl(Net::OAuth) >= 0.25
+Requires:       perl(Scalar::Util)
+Requires:       perl(Storable)
+Requires:       perl(URI) >= 1.40
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Crypt::SSLeay\\)$
+%global __requires_exclude %__requires_exclude|^perl\\(JSON\\)$
+%global __requires_exclude %__requires_exclude|^perl\\(LWP::UserAgent\\)$
+%global __requires_exclude %__requires_exclude|^perl\\(Net::OAuth\\)$
+%global __requires_exclude %__requires_exclude|^perl\\(URI\\)$
+%description
+This module provides a perl interface to the Twitter API v1.
+
+%prep
+%setup -q -n Net-Twitter-Lite-%{version}
+
+%patch1
+
+%patch2
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%doc Changes examples LICENSE README
+%{perl_vendorlib}/Net/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Feb 14 2014 David Dick <ddick@xxxxxxxx> - 0.12006-1
+- Initial release
diff --git a/sources b/sources
index e69de29..f7277d4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+41a7d537a8efada2d9c855a70152c0d2  Net-Twitter-Lite-0.12006.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