Name: linode-cli
Version: 1.4.5
Release: 1%{?dist}
Summary: Official command-line interface to the Linode platform
License: Artistic or GPLv2
URL: https://github.com/linode/cli/
Source0: https://github.com/linode/cli/archive/v%{version}.tar.gz#/cli-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(Carp)
BuildRequires: perl(Crypt::SSLeay)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(FindBin)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(JSON)
BuildRequires: perl(lib)
BuildRequires: perl(parent)
BuildRequires: perl(Pod::Usage)
BuildRequires: perl(strict)
BuildRequires: perl(Sys::Hostname)
BuildRequires: perl(Term::ANSIColor)
BuildRequires: perl(Try::Tiny)
BuildRequires: perl(warnings)
BuildRequires: perl(WebService::Linode)
Requires: perl(WebService::Linode)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Linode CLI is a simple command-line interface to the Linode platform.
%prep
%setup -qn cli-%{version}
rm -frv lib/WebService*
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%install
%make_install
chmod -v 755 %{buildroot}%{_bindir}/linode*
%files
%doc Changes LICENSE README.md
%{_bindir}/linode*
%{perl_vendorlib}/*
%{_mandir}/man1/*
%changelog
* Sun Jan 25 2015 Christopher Meng <rpm@cicku.me> - 1.4.5-1
- Update to 1.4.5
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.3.2-3
- Perl 5.20 rebuild
* Thu Jul 31 2014 Christopher Meng <rpm@cicku.me> - 1.3.2-2
- Fix binaries perms to 755
- Add missing BRs.
* Wed May 21 2014 Christopher Meng <rpm@cicku.me> - 1.3.2-1
- Update to 1.3.2
* Tue Jan 28 2014 Christopher Meng <rpm@cicku.me> - 1.0.0-1
- Initial Package.