commit 859fea80f64fd67926d6123e872054a99f0ac5b2 Author: Emmanuel Seyman <emmanuel@xxxxxxxxx> Date: Tue Nov 12 15:34:40 2013 +0100 Initial import. .gitignore | 1 + perl-Elasticsearch.spec | 99 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 101 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..31009cb 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Elasticsearch-0.75.tar.gz diff --git a/perl-Elasticsearch.spec b/perl-Elasticsearch.spec new file mode 100644 index 0000000..d61838a --- /dev/null +++ b/perl-Elasticsearch.spec @@ -0,0 +1,99 @@ +Name: perl-Elasticsearch +Version: 0.75 +Release: 4%{?dist} +Summary: Official client for Elasticsearch +License: ASL 2.0 + +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(lib) +BuildRequires: perl(overload) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +BuildRequires: perl(Any::URI::Escape) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Encode) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(File::Temp) +BuildRequires: perl(HTTP::Headers) +BuildRequires: perl(HTTP::Request) +BuildRequires: perl(HTTP::Tiny) >= 0.036 +BuildRequires: perl(IO::Select) +BuildRequires: perl(JSON) +BuildRequires: perl(List::Util) +BuildRequires: perl(Log::Any) +BuildRequires: perl(Log::Any::Adapter) +BuildRequires: perl(Log::Any::Adapter::Callback) +BuildRequires: perl(LWP::UserAgent) +BuildRequires: perl(MIME::Base64) +BuildRequires: perl(Module::Runtime) +BuildRequires: perl(Moo) >= 1.003 +BuildRequires: perl(Moo::Role) +BuildRequires: perl(namespace::clean) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Sub::Exporter) +BuildRequires: perl(Test::Deep) +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::More) >= 0.98 +BuildRequires: perl(Time::HiRes) +BuildRequires: perl(Try::Tiny) +BuildRequires: perl(URI) +BuildRequires: perl(YAML) + +Requires: perl(IO::Socket::SSL) +Requires: perl(IO::Uncompress::Inflate) +Requires: perl(MIME::Base64) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((HTTP::Tiny|Moo)\\)$ + +%description +Elasticsearch is the official Perl client for Elasticsearch. Elasticsearch +itself is a flexible and powerful open source, distributed real-time search +and analytics engine for the cloud. You can read more about it on +http://elasticsearch.org/. + +%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 {} \; +find $RPM_BUILD_ROOT -type f -name bench_cxn.pl -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes CONTRIBUTING.asciidoc LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Nov 11 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.75-4 +- Correct use of the __requires_exclude filter + +* Mon Nov 11 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.75-3 +- Take more comments from the review into account (#1026743) + +* Fri Nov 08 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.75-2 +- Take package review into account (#1026743) + +* Sat Oct 26 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.75-1 +- Update to 0.75 + +* Tue Oct 08 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.74-1 +- Update to 0.74 + +* Sun Sep 29 2013 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 0.72-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..95e61e4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b9b7c08d162055cffa49f16830a7227a Elasticsearch-0.75.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