Petr Šabata 6cd7b0e
Name:           perl-Net-GitHub
Petr Šabata 6cd7b0e
Summary:        Perl interface for github.com
Petr Šabata b0fa214
Version:        0.44
Petr Šabata 9614eb9
Release:        1%{?dist}
Petr Šabata 6cd7b0e
License:        GPL+ or Artistic
Chris Weyl ca0d877
Group:          Development/Libraries
8399295
Source0:        http://search.cpan.org/CPAN/authors/id/F/FA/FAYLAND/Net-GitHub-%{version}.tar.gz
Chris Weyl ca0d877
URL:            http://search.cpan.org/dist/Net-GitHub
Petr Šabata 0ba1329
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Chris Weyl ca0d877
BuildArch:      noarch
Chris Weyl ca0d877
BuildRequires:  perl(Any::Moose)
Petr Šabata 9614eb9
BuildRequires:  perl(Carp)
Chris Weyl ca0d877
BuildRequires:  perl(CPAN)
Chris Weyl ca0d877
BuildRequires:  perl(Crypt::SSLeay)
Chris Weyl ca0d877
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
Chris Weyl ca0d877
BuildRequires:  perl(File::Slurp)
Chris Weyl ca0d877
BuildRequires:  perl(HTML::TreeBuilder)
Petr Šabata 0ba1329
BuildRequires:  perl(HTTP::Request)
839a2f6
BuildRequires:  perl(HTTP::Request::Common)
Chris Weyl ca0d877
BuildRequires:  perl(JSON::Any)
839a2f6
BuildRequires:  perl(MIME::Base64)
Chris Weyl ca0d877
BuildRequires:  perl(Test::MockModule)
Chris Weyl ca0d877
BuildRequires:  perl(Test::More)
Petr Šabata b0fa214
BuildRequires:  perl(Test::Pod) >= 1.22
Petr Šabata 0ba1329
BuildRequires:  perl(URI)
Chris Weyl ca0d877
BuildRequires:  perl(URI::Escape)
Chris Weyl ca0d877
BuildRequires:  perl(WWW::Mechanize::GZip)
Chris Weyl ca0d877
Chris Weyl 7a2d35c
%{?perl_default_filter}
Chris Weyl ca0d877
%{?perl_default_subpackage_tests}
Chris Weyl 7a2d35c
Chris Weyl 7a2d35c
%description
Chris Weyl 7a2d35c
GitHub (http://github.com) is a popular git host; this package is a Perl API
Chris Weyl 7a2d35c
for working with GitHub users and repositories.
Chris Weyl 7a2d35c
Chris Weyl 7a2d35c
%prep
Chris Weyl 7a2d35c
%setup -q -n Net-GitHub-%{version}
Chris Weyl 7a2d35c
Chris Weyl 7a2d35c
%build
Petr Šabata 0ba1329
perl Makefile.PL INSTALLDIRS=vendor --skipdeps
Chris Weyl 7a2d35c
make %{?_smp_mflags}
Chris Weyl 7a2d35c
Chris Weyl 7a2d35c
%install
Chris Weyl ca0d877
make pure_install DESTDIR=%{buildroot}
Chris Weyl 7a2d35c
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
Chris Weyl 7a2d35c
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
Chris Weyl 7a2d35c
%{_fixperms} %{buildroot}/*
Chris Weyl 7a2d35c
Chris Weyl 7a2d35c
%check
Chris Weyl 7a2d35c
make test
Chris Weyl 7a2d35c
Chris Weyl 7a2d35c
%files
Petr Šabata 0ba1329
%doc Changes README
Chris Weyl 7a2d35c
%{perl_vendorlib}/*
Chris Weyl 7a2d35c
%{_mandir}/man3/*.3*
Chris Weyl 7a2d35c
Chris Weyl 7a2d35c
%changelog
Petr Šabata b0fa214
* Fri Apr 13 2012 Petr Šabata <contyk@redhat.com> - 0.44-1
Petr Šabata b0fa214
- 0.44 bump
Petr Šabata b0fa214
- Github is removing support of v1 and v2 API on May 1, 2012
Petr Šabata b0fa214
  This version makes v3 the default
Petr Šabata b0fa214
Petr Šabata 6cd7b0e
* Fri Mar 23 2012 Petr Šabata <contyk@redhat.com> - 0.42-1
Petr Šabata 6cd7b0e
- 0.42 bump
Petr Šabata 6cd7b0e
- Remove trailing newlines
Petr Šabata 6cd7b0e
Petr Šabata 0ba1329
* Thu Mar 22 2012 Petr Šabata <contyk@redhat.com> - 0.41-1
Petr Šabata 0ba1329
- 0.41 bump, switching to v3 API
Petr Šabata 0ba1329
- Remove command macros
Petr Šabata 0ba1329
- Upstream no longer ships examples
Petr Šabata 0ba1329
Petr Šabata 9614eb9
* Tue Jan 17 2012 Petr Šabata <contyk@redhat.com> - 0.30-1
Petr Šabata 9614eb9
- 0.30 bump
Petr Šabata 9614eb9
- Spec cleanup
Petr Šabata 9614eb9
cb6011d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-4
cb6011d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
cb6011d
Petr Sabata 4b3a5b1
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 0.28-3
Petr Sabata 4b3a5b1
- Perl mass rebuild
Petr Sabata 4b3a5b1
Petr Sabata 96b7f8e
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.28-2
Petr Sabata 96b7f8e
- Perl mass rebuild
Petr Sabata 96b7f8e
839a2f6
* Fri Mar 18 2011 Iain Arnell <iarnell@gmail.com> 0.28-1
839a2f6
- update to latest upstream version
839a2f6
- add examples as doc
839a2f6
8a9ff02
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-3
8a9ff02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8a9ff02
a20633b
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.23-2
a20633b
- 661697 rebuild for fixing problems with vendorach/lib
a20633b
8399295
* Sat Dec 18 2010 Iain Arnell <iarnell@gmail.com> 0.23-1
8399295
- update to latest upstream version
8399295
- clean up spec for modern rpmbuild
8399295
3d06b53
* Fri Jun  4 2010 Petr Pisar <ppisar@redhat.com> - 0.22-1
3d06b53
- 0.22 bump
3d06b53
- Update Source0 URL
3d06b53
5c340ab
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.20-2
5c340ab
- Mass rebuild with perl-5.12.0
5c340ab
Chris Weyl ca0d877
* Sun Mar 14 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.20-1
Chris Weyl ca0d877
- update by Fedora::App::MaintainerTools 0.006
Chris Weyl ca0d877
- PERL_INSTALL_ROOT => DESTDIR
Chris Weyl ca0d877
- updating to latest GA CPAN version (0.20)
Chris Weyl ca0d877
- dropped old BR on perl(Test::Pod)
Chris Weyl ca0d877
- added a new req on perl(Any::Moose) (version 0)
Chris Weyl ca0d877
- added a new req on perl(Crypt::SSLeay) (version 0)
Chris Weyl ca0d877
- added a new req on perl(HTML::TreeBuilder) (version 0)
Chris Weyl ca0d877
- added a new req on perl(JSON::Any) (version 0)
Chris Weyl ca0d877
- added a new req on perl(URI::Escape) (version 0)
Chris Weyl ca0d877
- added a new req on perl(WWW::Mechanize::GZip) (version 0)
Chris Weyl ca0d877
f4d461b
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.19-3
f4d461b
- rebuild against perl 5.10.1
f4d461b
Chris Weyl 7a2d35c
* Tue Oct 13 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.19-2
Chris Weyl 7a2d35c
- add br on CPAN (M::I)
Chris Weyl 7a2d35c
Chris Weyl 7a2d35c
* Sat Sep 26 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.19-1
Chris Weyl 7a2d35c
- update filtering
Chris Weyl 7a2d35c
- submission
Chris Weyl 7a2d35c
Chris Weyl 7a2d35c
* Sat Sep 26 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.19-0
Chris Weyl 7a2d35c
- initial RPM packaging
Chris Weyl 7a2d35c
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)