forked from mantl/mesos-packaging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspec.yml
41 lines (35 loc) · 1.05 KB
/
spec.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
name: mesos
version: 0.27.2
license: ASL 2.0
iteration: 2
vendor: Mesos
architecture: x86_64
url: http://mesos.apache.org/
description: Apache Mesos abstracts CPU, memory, storage, and other compute resources away from machines (physical or virtual), enabling fault-tolerant and elastic distributed systems to easily be built and run effectively.
type: rpm
depends:
- cyrus-sasl
- cyrus-sasl-md5
- subversion-devel
- protobuf-devel
resources:
- url: http://archive.apache.org/dist/mesos/{{.Version}}/mesos-{{.Version}}.tar.gz
hash-type: sha1
hash: cf39d6ac4a4cb372d21d2d675d7e57adb2ef1ee9
targets:
- src: '{{.BuildRoot}}/out/'
dest: /
scripts:
build: |
{{includeTemplate (specFile "build.sh")}}
before-install: |
{{include (specFile "before-install.sh")}}
after-install: |
ldconfig
extra-args: |
--rpm-os linux
--rpm-auto-add-directories
--rpm-auto-add-exclude-directories /usr/share/java
--rpm-auto-add-exclude-directories /usr/lib/python2.7
--rpm-auto-add-exclude-directories /usr/lib/python2.7/site-packages