comparison elasticsearch.spec @ 30:f2691b83bafa

update to ES 0.90.0 and logstash 1.1.12
author Carl Byington <carl@five-ten-sg.com>
date Fri, 10 May 2013 15:01:48 -0700
parents bb48b2672ff2
children 0faebb0b0fa4
comparison
equal deleted inserted replaced
29:b37cde5bac95 30:f2691b83bafa
2 %define __os_install_post %{nil} 2 %define __os_install_post %{nil}
3 3
4 4
5 Summary: elasticsearch is a scalable full text search engine 5 Summary: elasticsearch is a scalable full text search engine
6 Name: elasticsearch 6 Name: elasticsearch
7 Version: 0.20.6 7 Version: 0.90.0
8 Release: 0%{?dist} 8 Release: 0%{?dist}
9 Group: System Environment/Daemons 9 Group: System Environment/Daemons
10 License: Apache 2.0 10 License: Apache 2.0
11 URL: http://www.elasticsearch.org/ 11 URL: http://www.elasticsearch.org/
12 BuildArch: noarch 12 BuildArch: noarch
34 34
35 %install 35 %install
36 rm -rf $RPM_BUILD_ROOT 36 rm -rf $RPM_BUILD_ROOT
37 mkdir xx 37 mkdir xx
38 cd xx 38 cd xx
39 tar xfz ../target/releases/%{name}-%{version}.tar.gz 39 tar xvfz ../target/releases/%{name}-%{version}.tar.gz
40 for f in %{name}-%{version}/lib/*.jar; do 40 for f in %{name}-%{version}/lib/*.jar; do
41 b=$(basename $f) 41 b=$(basename $f)
42 install -D -p -m 644 $f $RPM_BUILD_ROOT%{_javadir}/%{name}/$b 42 install -D -p -m 644 $f $RPM_BUILD_ROOT%{_javadir}/%{name}/$b
43 done 43 done
44 cd $RPM_BUILD_ROOT%{_javadir}/%{name} 44 cd $RPM_BUILD_ROOT%{_javadir}/%{name}
45 for f in elasticsearch jna jts log4j lucene-core lucene-analyzers lucene-highlighter lucene-memory lucene-queries snappy-java spatial4j; do 45 for f in lucene-{core,analyzers-common,codecs,queries,memory,highlighter,queryparser,sandbox,suggest,join,grouping,spatial} spatial4j jts log4j jna elasticsearch; do
46 v=$(echo $f*.jar) 46 v=$(echo $f*.jar)
47 ln --symbolic $v $f.jar 47 ln --symbolic $v $f.jar
48 done 48 done
49 49
50 50
57 %attr(0755,root,root) %{_javadir}/%{name} 57 %attr(0755,root,root) %{_javadir}/%{name}
58 58
59 59
60 60
61 %changelog 61 %changelog
62 * Fri May 10 2013 <carl@five-ten-sg.com> - 0.90.0-0
63 - update to 0.90.0
64
62 * Wed Apr 10 2013 <carl@five-ten-sg.com> - 0.20.6-0 65 * Wed Apr 10 2013 <carl@five-ten-sg.com> - 0.20.6-0
63 - Initial build. 66 - Initial build.