[docker-storage-setup/f21] Initial build
Andy Grimm
arg at fedoraproject.org
Thu Oct 30 12:47:14 UTC 2014
commit 52990c9c4533682b6b69f987b8546d32100adaec
Author: Andy Grimm <agrimm at redhat.com>
Date: Thu Oct 30 08:46:53 2014 -0400
Initial build
.gitignore | 1 +
docker-storage-setup.spec | 52 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2bdd339 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/0.0.3.tar.gz
diff --git a/docker-storage-setup.spec b/docker-storage-setup.spec
new file mode 100644
index 0000000..1160683
--- /dev/null
+++ b/docker-storage-setup.spec
@@ -0,0 +1,52 @@
+Name: docker-storage-setup
+Version: 0.0.3
+Release: 1%{?dist}
+Summary: A simple service to setup docker storage devices
+
+License: ASL 2.0
+URL: http://github.com/projectatomic/docker-storage-setup/
+Source0: https://github.com/projectatomic/docker-storage-setup/archive/%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: pkgconfig(systemd)
+
+Requires: lvm2
+Requires: cloud-utils-growpart
+Requires: systemd-units
+# systemd_requires macro doesn't work here because the srpm build fails?
+Requires(post): systemd
+Requires(preun): systemd
+Requires(postun): systemd
+
+%description
+This is a simple service to divide available storage between
+the OS and docker using LVM devices.
+
+%prep
+%setup -q
+
+%build
+
+%install
+install -d %{buildroot}%{_bindir}
+install -p -m 755 docker-storage-setup.sh %{buildroot}%{_bindir}/docker-storage-setup
+install -d %{buildroot}%{_unitdir}
+install -p -m 644 docker-storage-setup.service %{buildroot}%{_unitdir}
+
+%post
+%systemd_post %{name}.service
+
+%preun
+%systemd_preun %{name}.service
+
+%postun
+%systemd_postun %{name}.service
+
+%files
+%{_unitdir}/docker-storage-setup.service
+%{_bindir}/docker-storage-setup
+
+%changelog
+* Wed Oct 29 2014 Andy Grimm <agrimm at redhat.com> - 0.0.3-1
+- Initial build
+
diff --git a/sources b/sources
index e69de29..5ef55bb 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+21533cf53d9518ea26ac031fa4ce94f2 0.0.3.tar.gz
More information about the scm-commits
mailing list