commit 0977b01856585378ac6a2a1eb9ea94ce516ec9f0 Author: Emmanuel Seyman <emmanuel@xxxxxxxxx> Date: Thu Apr 18 20:39:11 2013 +0200 Initial import. .gitignore | 1 + perl-ElasticSearch.spec | 101 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 103 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..d20aa0e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/ElasticSearch-0.64.tar.gz diff --git a/perl-ElasticSearch.spec b/perl-ElasticSearch.spec new file mode 100644 index 0000000..21014e4 --- /dev/null +++ b/perl-ElasticSearch.spec @@ -0,0 +1,101 @@ +Name: perl-ElasticSearch +Version: 0.64 +Release: 2%{?dist} +Summary: API for communicating with ElasticSearch +License: GPL+ or Artistic + +URL: http://search.cpan.org/dist/ElasticSearch/ +Source0: http://www.cpan.org/authors/id/D/DR/DRTECH/ElasticSearch-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: perl(Any::URI::Escape) +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(ElasticSearch::SearchBuilder) +BuildRequires: perl(Encode) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(File::Temp) +BuildRequires: perl(HTTP::Lite) +BuildRequires: perl(HTTP::Request) +BuildRequires: perl(HTTP::Tiny) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IO::Socket) +BuildRequires: perl(IO::Uncompress::Inflate) +BuildRequires: perl(JSON) +BuildRequires: perl(lib) +BuildRequires: perl(List::Util) +BuildRequires: perl(LWP::ConnCache) +BuildRequires: perl(LWP::UserAgent) +BuildRequires: perl(parent) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Test::Differences) +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::More) +BuildRequires: perl(URI) +BuildRequires: perl(YAML) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + + +# ElasticSearch::RequestParser is used as a poor man's Role, ie those methods +# are being applied to the ElasticSearch class, rather than being in their own +# class. (https://github.com/clintongormley/ElasticSearch.pm/issues/35) +Provides: perl(ElasticSearch::RequestParser) = %{version} + +%{?perl_default_filter} + +%description +ElasticSearch is an Open Source (Apache 2 license), distributed, RESTful +Search Engine based on Lucene, and built for the cloud, with a JSON API. +This perl module is a thin API which makes it easy to communicate with +an ElasticSearch cluster. + +%prep +%setup -q -n ElasticSearch-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc AUTHORS Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sun Apr 14 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.64-2 +- Take into account review comments (#916679) + +* Thu Feb 28 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.64-1 +- Update to 0.64 + +* Thu Feb 14 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.63-1 +- Update to 0.63 + +* Sun Jan 27 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.62-1 +- Update to 0.62 + +* Sat Nov 17 2012 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.61-1 +- Update to 0.61 + +* Thu Nov 01 2012 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.59-1 +- Update to 0.59 + +* Mon Aug 13 2012 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 0.58-1 +- Update to 0.58 + +* Mon Jul 30 2012 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 0.55-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..d82d078 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +18d171a6e9eb2bf69897a21c453ff8ef ElasticSearch-0.64.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