]>
Commit | Line | Data |
---|---|---|
72785165 | 1 | Summary: Easily manage Docker containers & their data |
195eb144 | 2 | Summary(pl.UTF-8): Łatwe zarządzanie kontenerami Dockera i ich danymi |
72785165 ER |
3 | Name: flocker |
4 | Version: 0.4.0 | |
5 | Release: 0.1 | |
6 | License: Apache v2.0 | |
7 | Group: Libraries/Python | |
8 | Source0: https://github.com/ClusterHQ/flocker/archive/%{version}/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 76aa991d8ea4cbf7ae6b3b81b9073a06 | |
10 | Patch0: deps.patch | |
11 | URL: https://github.com/ClusterHQ/flocker | |
12 | BuildRequires: python-PyYAML >= 3.10 | |
13 | #BuildRequires: python-Twisted >= 15.0.0 | |
14 | #BuildRequires: python-characteristic >= 14.1.0 | |
15 | BuildRequires: python-docker >= 0.7.1 | |
16 | #BuildRequires: python-eliot >= 0.6.0 | |
17 | BuildRequires: python-ipaddr >= 2.1.11 | |
18 | BuildRequires: python-jsonschema >= 2.4.0 | |
19 | BuildRequires: python-klein >= 0.2.3 | |
20 | #BuildRequires: python-machinist >= 0.2.0 | |
21 | BuildRequires: python-netifaces >= 0.8 | |
22 | BuildRequires: python-psutil >= 2.1.2 | |
23 | BuildRequires: python-pyrsistent >= 0.9.1 | |
24 | BuildRequires: python-pytz | |
7cfafb84 | 25 | BuildRequires: python-setuptools >= 1:7.0 |
72785165 ER |
26 | #BuildRequires: python-treq >= 0.2.1 |
27 | #BuildRequires: python-zope.interface >= 4.0.5 | |
28 | BuildRequires: rpm-pythonprov | |
7cfafb84 | 29 | BuildRequires: rpmbuild(macros) >= 1.714 |
72785165 ER |
30 | BuildArch: noarch |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
34 | Flocker is a data volume manager and multi-host Docker cluster | |
35 | management tool. With it you can control your data using the same | |
36 | tools you use for your stateless applications by harnessing the power | |
37 | of ZFS on Linux. This means that you can run your databases, queues | |
38 | and key-value stores in Docker and move them around as easily as the | |
39 | rest of your app. | |
40 | ||
195eb144 JB |
41 | %description -l pl.UTF-8 |
42 | Flocker to zarządca wolumenów danych oraz narzędzie do zarządzania | |
43 | klastrami Dockera na wielu hostach. Przy jego użyciu można mieć | |
44 | kontrolę nad danymi przy użyciu takich samych narzędzi, jakich używa | |
45 | się dla aplikacji bezstanowych wykorzystujących potencjał ZFS-a na | |
46 | Linuksie. Oznacza to, że można uruchamiać na Dockerze bazy danych, | |
47 | kolejki czy przechowalnie danych klucz-wartość i przenosić je tak | |
48 | łatwo, jak resztę aplikacji. | |
49 | ||
72785165 ER |
50 | %prep |
51 | %setup -q | |
52 | %patch0 -p1 | |
53 | ||
54 | %build | |
2c243de3 | 55 | %py_build |
72785165 ER |
56 | |
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
195eb144 | 59 | |
2c243de3 | 60 | %py_install |
72785165 ER |
61 | |
62 | %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/flocker/volume/test | |
63 | ||
64 | %py_postclean | |
65 | ||
66 | %clean | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %files | |
70 | %defattr(644,root,root,755) | |
71 | %attr(755,root,root) %{_bindir}/flocker | |
72 | %attr(755,root,root) %{_bindir}/flocker-changestate | |
73 | %attr(755,root,root) %{_bindir}/flocker-control | |
74 | %attr(755,root,root) %{_bindir}/flocker-dataset-agent | |
75 | %attr(755,root,root) %{_bindir}/flocker-deploy | |
76 | %attr(755,root,root) %{_bindir}/flocker-reportstate | |
77 | %attr(755,root,root) %{_bindir}/flocker-volume | |
78 | %attr(755,root,root) %{_bindir}/flocker-zfs-agent | |
79 | %{py_sitescriptdir}/Flocker-%{version}-py*.egg-info | |
80 | %{py_sitescriptdir}/flocker |