]>
Commit | Line | Data |
---|---|---|
5fcabc06 ER |
1 | Summary: A distributed init system |
2 | Name: fleet | |
3 | Version: 0.9.0 | |
4 | Release: 0.1 | |
5 | License: Apache v2.0 | |
6 | Group: Base | |
7 | Source0: https://github.com/coreos/fleet/archive/v%{version}/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: 7535590f5513d0da0048a0ba5da616ba | |
9 | URL: https://github.com/coreos/fleet/ | |
10 | BuildRequires: golang >= 1.2.1-3 | |
5fcabc06 ER |
11 | ExclusiveArch: %{x8664} |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | fleet ties together systemd and etcd into a distributed init system. | |
16 | ||
17 | Think of it as an extension of systemd that operates at the cluster | |
18 | level instead of the machine level. This project is very low level and | |
19 | is designed as a foundation for higher order orchestration. | |
20 | ||
21 | %prep | |
22 | %setup -q | |
23 | ||
24 | %build | |
25 | sh -x build | |
26 | ||
27 | %install | |
28 | rm -rf $RPM_BUILD_ROOT | |
29 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}/%{name}} | |
30 | install -p bin/fleetctl $RPM_BUILD_ROOT%{_bindir} | |
31 | install -p bin/fleetd $RPM_BUILD_ROOT%{_bindir} | |
32 | cp -p %{name}.conf.sample $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/%{name}.conf | |
33 | ||
34 | %clean | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %files | |
38 | %defattr(644,root,root,755) | |
39 | %doc Documentation/ examples/ CONTRIBUTING.md DCO LICENSE MAINTAINERS NOTICE README.md | |
40 | %dir %attr(750,root,root) %{_sysconfdir}/%{name} | |
41 | %attr(750,root,root) %{_sysconfdir}/%{name}/%{name}.conf | |
42 | %attr(755,root,root) %{_bindir}/fleetctl | |
43 | %attr(755,root,root) %{_bindir}/fleetd |