perl-Net-GitHub/perl-Net-GitHub.spec

Name: perl-Net-GitHub
Summary: Perl Interface for github.com
Version: 0.83
Release: 1
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Net-GitHub/
Description: http://github.com is a popular git host.

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

Name:           perl-Net-GitHub
Version:        0.83
Release:        1%{?dist}
Summary:        Perl Interface for github.com
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Net-GitHub/
Source0:        http://www.cpan.org/modules/by-module/Net/Net-GitHub-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(Any::Moose)
BuildRequires:  perl(Crypt::SSLeay)
BuildRequires:  perl(File::Slurp)
BuildRequires:  perl(HTML::TreeBuilder)
BuildRequires:  perl(HTTP::Request::Common)
BuildRequires:  perl(JSON::Any)
BuildRequires:  perl(JSON::XS)
BuildRequires:  perl(Test::MockModule)
BuildRequires:  perl(Test::Pod)
BuildRequires:  perl(URI::Escape)
BuildRequires:  perl(WWW::Mechanize::GZip)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl-libwww-perl
Requires:       perl(Any::Moose)
Requires:       perl(Crypt::SSLeay)
Requires:       perl(HTML::TreeBuilder)
Requires:       perl(HTTP::Request::Common)
Requires:       perl(JSON::Any)
Requires:       perl(JSON::XS)
Requires:       perl(URI::Escape)
Requires:       perl(WWW::Mechanize::GZip)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
http://github.com is a popular git host.

%prep
%setup -q -n Net-GitHub-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps
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 README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Fri Jul 08 2016 Dries Verachtert <dries.verachtert@dries.eu> - 0.83-1
- Updated to release 0.83.

* Mon Dec 05 2011 David Hrbáč <david@hrbac.cz> - 0.30-1
- initial build