Mercurial > logstash
comparison logstash.spec @ 16:aa606d801e02
work on building from source, revert jruby and elastic search to versions bundled into logstash-monolith
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 11 Apr 2013 13:48:24 -0700 |
parents | c158cae7cd26 |
children | 729f36e68da8 |
comparison
equal
deleted
inserted
replaced
15:c158cae7cd26 | 16:aa606d801e02 |
---|---|
15 #Source0: curl https://nodeload.github.com/logstash/logstash/tar.gz/v%{version} >logstash-%{version}.tar.gz | 15 #Source0: curl https://nodeload.github.com/logstash/logstash/tar.gz/v%{version} >logstash-%{version}.tar.gz |
16 Source0: %{name}-%{version}.tar.gz | 16 Source0: %{name}-%{version}.tar.gz |
17 Source1: https://logstash.jira.com/secure/attachment/12610/logstash_index_cleaner.py | 17 Source1: https://logstash.jira.com/secure/attachment/12610/logstash_index_cleaner.py |
18 Source2: http://logstash.objects.dreamhost.com/maxmind/GeoLite-City-2013-01-18.dat.gz | 18 Source2: http://logstash.objects.dreamhost.com/maxmind/GeoLite-City-2013-01-18.dat.gz |
19 Source4: %{name}.Makefile | 19 Source4: %{name}.Makefile |
20 Source5: %{name}.manifest | |
20 Source10: %{name}.rc | 21 Source10: %{name}.rc |
21 Source11: %{name}.cron | 22 Source11: %{name}.cron |
22 Source12: %{name}.conf | 23 Source12: %{name}.conf |
23 Source13: %{name}.sysconfig | 24 Source13: %{name}.sysconfig |
24 Source20: apache.pattern | 25 Source20: apache.pattern |
25 Source21: sendmail.pattern | 26 Source21: sendmail.pattern |
26 Source22: dnsbl.pattern | 27 Source22: dnsbl.pattern |
27 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) | 28 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) |
28 Requires: logrotate httpd java-1.7.0-openjdk python-pip python-argparse python-ordereddict jruby | 29 Requires: logrotate httpd java-1.7.0-openjdk python-pip python-argparse python-ordereddict |
30 Requires: jruby elasticsearch GraphTastic-client | |
29 Requires(pre): /usr/sbin/useradd | 31 Requires(pre): /usr/sbin/useradd |
30 Requires(pre): /usr/bin/getent | 32 Requires(pre): /usr/bin/getent |
31 Requires(postun): /usr/sbin/userdel | 33 Requires(postun): /usr/sbin/userdel |
32 Requires(post,preun): /sbin/chkconfig | 34 Requires(post,preun): /sbin/chkconfig |
33 Requires(post,preun): /sbin/service | 35 Requires(post,preun): /sbin/service |
44 %prep | 46 %prep |
45 %setup -q | 47 %setup -q |
46 | 48 |
47 | 49 |
48 %build | 50 %build |
51 cp %SOURCE5 . | |
49 gunzip -c %SOURCE2 >GeoLiteCity.dat | 52 gunzip -c %SOURCE2 >GeoLiteCity.dat |
50 make -f %SOURCE4 | 53 make -f %SOURCE4 |
51 | 54 |
52 | 55 |
53 %install | 56 %install |