]>
Commit | Line | Data |
---|---|---|
b877f7b7 ER |
1 | # TODO: |
2 | # - handle network downloads: | |
3 | # - github.com/gorilla/mux (download) | |
4 | # - github.com/gorilla/context (download) | |
5 | # - github.com/kr/pty (download) | |
6 | Summary: Docker: the Linux container engine | |
7 | Name: lxc-docker | |
8 | Version: 0.5.3 | |
9 | Release: 0.1 | |
10 | License: Apache v2.0 | |
11 | Group: Applications/System | |
12 | Source0: https://github.com/dotcloud/docker/archive/v%{version}.tar.gz | |
13 | # Source0-md5: ff7b814574bbaf9e55dfe1c266ae991e | |
14 | URL: http://github.com/dotcloud/docker | |
15 | BuildRequires: golang | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | Docker complements LXC with a high-level API which operates at the | |
20 | process level. It runs unix processes with strong guarantees of | |
21 | isolation and repeatability across servers. | |
22 | ||
23 | Docker is a great building block for automating distributed systems: | |
24 | large-scale web deployments, database clusters, continuous deployment | |
25 | systems, private PaaS, service-oriented architectures, etc. | |
26 | ||
27 | %prep | |
28 | %setup -q -n docker-%{version} | |
29 | ||
30 | %build | |
31 | %{__make} VERBOSE=1 | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
36 | install -p bin/docker $RPM_BUILD_ROOT%{_bindir}/lxc-docker | |
37 | cp -p packaging/debian/lxc-docker.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc README.md CHANGELOG.md CONTRIBUTING.md FIXME LICENSE AUTHORS NOTICE MAINTAINERS | |
45 | %attr(755,root,root) %{_bindir}/lxc-docker | |
46 | %{_mandir}/man1/lxc-docker.1* |