]> git.pld-linux.org Git - packages/flocker.git/commitdiff
new, version 0.4.0
authorElan Ruusamäe <glen@delfi.ee>
Sat, 23 May 2015 13:16:28 +0000 (16:16 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 23 May 2015 13:16:28 +0000 (16:16 +0300)
deps.patch [new file with mode: 0644]
flocker.spec [new file with mode: 0644]

diff --git a/deps.patch b/deps.patch
new file mode 100644 (file)
index 0000000..920cee2
--- /dev/null
@@ -0,0 +1,13 @@
+loosen the deps a bit
+
+--- flocker-0.4.0/setup.py~    2015-04-07 19:54:24.000000000 +0300
++++ flocker-0.4.0/setup.py     2015-05-23 16:07:20.826553094 +0300
+@@ -153,7 +153,7 @@
+         "treq == 0.2.1",
+-        "psutil == 2.1.2",
++        "psutil >= 2.1.2",
+         "netifaces >= 0.8",
+         "ipaddr == 2.1.11",
+         "docker-py == 0.7.1",
diff --git a/flocker.spec b/flocker.spec
new file mode 100644 (file)
index 0000000..99b2241
--- /dev/null
@@ -0,0 +1,72 @@
+Summary:       Easily manage Docker containers & their data
+Name:          flocker
+Version:       0.4.0
+Release:       0.1
+License:       Apache v2.0
+Group:         Libraries/Python
+Source0:       https://github.com/ClusterHQ/flocker/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 76aa991d8ea4cbf7ae6b3b81b9073a06
+Patch0:                deps.patch
+URL:           https://github.com/ClusterHQ/flocker
+BuildRequires: python-PyYAML >= 3.10
+#BuildRequires:        python-Twisted >= 15.0.0
+#BuildRequires:        python-characteristic >= 14.1.0
+BuildRequires: python-docker >= 0.7.1
+#BuildRequires:        python-eliot >= 0.6.0
+BuildRequires: python-ipaddr >= 2.1.11
+BuildRequires: python-jsonschema >= 2.4.0
+BuildRequires: python-klein >= 0.2.3
+#BuildRequires:        python-machinist >= 0.2.0
+BuildRequires: python-netifaces >= 0.8
+BuildRequires: python-psutil >= 2.1.2
+BuildRequires: python-pyrsistent >= 0.9.1
+BuildRequires: python-pytz
+BuildRequires: python-setuptools
+BuildRequires: python-setuptools >= 7.0
+#BuildRequires:        python-treq >= 0.2.1
+#BuildRequires:        python-zope.interface >= 4.0.5
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Flocker is a data volume manager and multi-host Docker cluster
+management tool. With it you can control your data using the same
+tools you use for your stateless applications by harnessing the power
+of ZFS on Linux. This means that you can run your databases, queues
+and key-value stores in Docker and move them around as easily as the
+rest of your app.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install --skip-build \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
+
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/flocker/volume/test
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/flocker
+%attr(755,root,root) %{_bindir}/flocker-changestate
+%attr(755,root,root) %{_bindir}/flocker-control
+%attr(755,root,root) %{_bindir}/flocker-dataset-agent
+%attr(755,root,root) %{_bindir}/flocker-deploy
+%attr(755,root,root) %{_bindir}/flocker-reportstate
+%attr(755,root,root) %{_bindir}/flocker-volume
+%attr(755,root,root) %{_bindir}/flocker-zfs-agent
+%{py_sitescriptdir}/Flocker-%{version}-py*.egg-info
+%{py_sitescriptdir}/flocker
This page took 0.066911 seconds and 4 git commands to generate.