|
|
bee442 |
Name: docker-storage-setup
|
|
|
bee442 |
Version: 0.0.3
|
|
|
bee442 |
Release: 1%{?dist}
|
|
|
bee442 |
Summary: A simple service to setup docker storage devices
|
|
|
bee442 |
|
|
|
bee442 |
License: ASL 2.0
|
|
|
bee442 |
URL: http://github.com/projectatomic/docker-storage-setup/
|
|
|
bee442 |
Source0: https://github.com/projectatomic/docker-storage-setup/archive/%{version}.tar.gz
|
|
|
bee442 |
|
|
|
bee442 |
BuildArch: noarch
|
|
|
bee442 |
BuildRequires: pkgconfig(systemd)
|
|
|
bee442 |
|
|
|
bee442 |
Requires: lvm2
|
|
|
bee442 |
Requires: cloud-utils-growpart
|
|
|
bee442 |
Requires: systemd-units
|
|
|
bee442 |
# systemd_requires macro doesn't work here because the srpm build fails?
|
|
|
bee442 |
Requires(post): systemd
|
|
|
bee442 |
Requires(preun): systemd
|
|
|
bee442 |
Requires(postun): systemd
|
|
|
bee442 |
|
|
|
bee442 |
%description
|
|
|
bee442 |
This is a simple service to divide available storage between
|
|
|
bee442 |
the OS and docker using LVM devices.
|
|
|
bee442 |
|
|
|
bee442 |
%prep
|
|
|
bee442 |
%setup
|
|
|
bee442 |
|
|
|
bee442 |
%build
|
|
|
bee442 |
|
|
|
bee442 |
%install
|
|
|
bee442 |
install -d %{buildroot}%{_bindir}
|
|
|
bee442 |
install -p -m 755 docker-storage-setup.sh %{buildroot}%{_bindir}/docker-storage-setup
|
|
|
bee442 |
install -d %{buildroot}%{_unitdir}
|
|
|
bee442 |
install -p -m 644 docker-storage-setup.service %{buildroot}%{_unitdir}
|
|
|
bee442 |
# install -d %{buildroot}%{_sysconfdir}/sysconfig/
|
|
|
bee442 |
# install -p -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/docker-storage-setup
|
|
|
bee442 |
|
|
|
bee442 |
%post
|
|
|
bee442 |
%systemd_post %{name}.service
|
|
|
bee442 |
|
|
|
bee442 |
%preun
|
|
|
bee442 |
%systemd_preun %{name}.service
|
|
|
bee442 |
|
|
|
bee442 |
%postun
|
|
|
bee442 |
%systemd_postun %{name}.service
|
|
|
bee442 |
|
|
|
bee442 |
%files
|
|
|
bee442 |
%{_unitdir}/docker-storage-setup.service
|
|
|
bee442 |
%{_bindir}/docker-storage-setup
|
|
|
bee442 |
# %{_sysconfdir}/sysconfig/docker-storage-setup
|
|
|
bee442 |
|
|
|
bee442 |
%changelog
|
|
|
bee442 |
* Tue Oct 28 2014 Andy Grimm <agrimm@redhat.com> - 0.0.3-1
|
|
|
bee442 |
- Resolves: rhbz#1156656
|
|
|
bee442 |
|
|
|
bee442 |
* Thu Oct 23 2014 Andy Grimm <agrimm@redhat.com> - 0.0.2-1
|
|
|
bee442 |
- version bump, fix default use case
|
|
|
bee442 |
|
|
|
bee442 |
* Wed Oct 22 2014 Colin Walters <walters@redhat.com> - 0.0.1-4
|
|
|
bee442 |
- Strip trailing whitespace
|
|
|
bee442 |
|
|
|
bee442 |
* Wed Oct 22 2014 Colin Walters <walters@redhat.com> - 0.0.1-3
|
|
|
bee442 |
- Fix service ordering
|
|
|
bee442 |
|
|
|
bee442 |
* Thu Oct 16 2014 Andy Grimm <agrimm@redhat.com> - 0.0.1-1
|
|
|
bee442 |
- Fix rpm scripts
|
|
|
bee442 |
|
|
|
bee442 |
* Thu Oct 16 2014 Andy Grimm <agrimm@redhat.com> - 0.0.1-1
|
|
|
bee442 |
- Initial build
|
|
|
bee442 |
|