commit 3c2e5d5cee03f667c90e2ef78dcc6410299bf437 Author: Julian C. Dunn <jdunn@xxxxxxxxxxxx> Date: Tue Mar 27 14:42:59 2012 -0400 Initial import (#611372). .gitignore | 1 + perl-Net-Twitter.spec | 82 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 84 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..a10652d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Net-Twitter-3.18001.tar.gz diff --git a/perl-Net-Twitter.spec b/perl-Net-Twitter.spec new file mode 100644 index 0000000..461e4ef --- /dev/null +++ b/perl-Net-Twitter.spec @@ -0,0 +1,82 @@ +Name: perl-Net-Twitter +Version: 3.18001 +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/ +Source0: http://www.cpan.org/authors/id/M/MM/MMIMS/Net-Twitter-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(base) +BuildRequires: perl(lib) +BuildRequires: perl(Carp) +BuildRequires: perl(Crypt::SSLeay) >= 0.5 +BuildRequires: perl(Data::Visitor::Callback) +BuildRequires: perl(DateTime) >= 0.51 +BuildRequires: perl(DateTime::Format::Strptime) >= 1.09 +BuildRequires: perl(Devel::StackTrace) >= 1.21 +BuildRequires: perl(Digest::HMAC_SHA1) +BuildRequires: perl(Digest::SHA) +BuildRequires: perl(Encode) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +BuildRequires: perl(HTML::Entities) +BuildRequires: perl(HTTP::Request::Common) +BuildRequires: perl(HTTP::Response) +BuildRequires: perl(JSON) +BuildRequires: perl(List::Util) +BuildRequires: perl(LWP::UserAgent) >= 5.819 +BuildRequires: perl(Moose) >= 0.9 +BuildRequires: perl(Moose::Exporter) +BuildRequires: perl(Moose::Role) +BuildRequires: perl(MooseX::Aliases) +BuildRequires: perl(MooseX::Role::Parameterized) +BuildRequires: perl(namespace::autoclean) >= 0.09 +BuildRequires: perl(Net::Netrc) +BuildRequires: perl(Net::OAuth) >= 0.25 +BuildRequires: perl(Pod::Coverage) >= 0.19 +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Test::Deep) +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 +BuildRequires: perl(Test::Spelling) >= 0.11 +BuildRequires: perl(Time::HiRes) +BuildRequires: perl(Try::Tiny) >= 0.03 +BuildRequires: perl(URI) >= 1.4 +BuildRequires: perl(URI::Escape) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Net::Netrc) + +%description +This module provides a perl interface to the Twitter APIs. See +http://dev.twitter.com/doc for a full description of the Twitter APIs. + +%prep +%setup -q -n Net-Twitter-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install + +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 +env TEST_POD=1 make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Mar 27 2012 Julian C. Dunn <jdunn@xxxxxxxxxxxx> 3.18001-1 +- Initial release. diff --git a/sources b/sources index e69de29..7158f51 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +88665d245f72b48ee87817edb5906d00 Net-Twitter-3.18001.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