From e8f643da43e1ea9b7c0fd2629c4049b89e5a8401 Mon Sep 17 00:00:00 2001 From: Christopher Meng Date: Aug 02 2014 01:47:14 +0000 Subject: Initial SETUP. --- diff --git a/.gitignore b/.gitignore index e69de29..4e702bd 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/cli-1.3.2.tar.gz diff --git a/linode-cli.spec b/linode-cli.spec new file mode 100644 index 0000000..824f9a0 --- /dev/null +++ b/linode-cli.spec @@ -0,0 +1,56 @@ +Name: linode-cli +Version: 1.3.2 +Release: 2%{?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(: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 +* Thu Jul 31 2014 Christopher Meng - 1.3.2-2 +- Fix binaries perms to 755 +- Add missing BRs. + +* Wed May 21 2014 Christopher Meng - 1.3.2-1 +- Update to 1.3.2 + +* Tue Jan 28 2014 Christopher Meng - 1.0.0-1 +- Initial Package. diff --git a/sources b/sources index e69de29..bd24f6f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +52a0fbf0e239871efac10dc932913c80 cli-1.3.2.tar.gz