blob: 71a29d36e1142403b531e9a3e6f48c28f9263bb2 [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
- name: install auxiliary packages
yum: name={{item}} state=present update_cache=yes
with_items:
- '"@Development tools"'
- git
- wget
- which
# dependencies for make couch, except erlang
- name: install packages required to build CouchDB
yum: name={{item}} state=present
with_items:
- autoconf
- autoconf-archive
- automake
- curl-devel
- libicu-devel
- libtool
- name: install nodejs 4.x
yum:
name: "https://rpm.nodesource.com/pub_4.x/el/7/x86_64/nodejs-4.2.6-1nodesource.el7.centos.x86_64.rpm"
state: present
# download, compile and install Spidermonkey
- include: spidermonkey.yml
# download and install shunit2
- include: shunit.yml
# required for make docs
- name: install packages required to build CouchDB
yum: name={{item}} state=present
with_items:
- help2man
- texinfo
- python-pip
- perl-Digest-MD5 # for texlive installer
- name: install up to date version of sphinx via pip
shell: pip install sphinx==1.3.4
# download and install TeX Live
- include: latex.yml
- name: clean up yum cache
command: yum clean all