]> git.pld-linux.org Git - packages/fleet.git/blame - fleet.spec
cleanup BR
[packages/fleet.git] / fleet.spec
CommitLineData
5fcabc06
ER
1Summary: A distributed init system
2Name: fleet
3Version: 0.9.0
4Release: 0.1
5License: Apache v2.0
6Group: Base
7Source0: https://github.com/coreos/fleet/archive/v%{version}/%{name}-%{version}.tar.gz
8# Source0-md5: 7535590f5513d0da0048a0ba5da616ba
9URL: https://github.com/coreos/fleet/
10BuildRequires: golang >= 1.2.1-3
5fcabc06
ER
11ExclusiveArch: %{x8664}
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15fleet ties together systemd and etcd into a distributed init system.
16
17Think of it as an extension of systemd that operates at the cluster
18level instead of the machine level. This project is very low level and
19is designed as a foundation for higher order orchestration.
20
21%prep
22%setup -q
23
24%build
25sh -x build
26
27%install
28rm -rf $RPM_BUILD_ROOT
29install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}/%{name}}
30install -p bin/fleetctl $RPM_BUILD_ROOT%{_bindir}
31install -p bin/fleetd $RPM_BUILD_ROOT%{_bindir}
32cp -p %{name}.conf.sample $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/%{name}.conf
33
34%clean
35rm -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
This page took 0.086704 seconds and 4 git commands to generate.