1 Summary: A distributed init system
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
11 BuildRequires: systemd-devel
12 ExclusiveArch: %{x8664}
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 fleet ties together systemd and etcd into a distributed init system.
18 Think of it as an extension of systemd that operates at the cluster
19 level instead of the machine level. This project is very low level and
20 is designed as a foundation for higher order orchestration.
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}/%{name}}
31 install -p bin/fleetctl $RPM_BUILD_ROOT%{_bindir}
32 install -p bin/fleetd $RPM_BUILD_ROOT%{_bindir}
33 cp -p %{name}.conf.sample $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/%{name}.conf
36 rm -rf $RPM_BUILD_ROOT
39 %defattr(644,root,root,755)
40 %doc Documentation/ examples/ CONTRIBUTING.md DCO LICENSE MAINTAINERS NOTICE README.md
41 %dir %attr(750,root,root) %{_sysconfdir}/%{name}
42 %attr(750,root,root) %{_sysconfdir}/%{name}/%{name}.conf
43 %attr(755,root,root) %{_bindir}/fleetctl
44 %attr(755,root,root) %{_bindir}/fleetd