|
|
257f0a |
%global git0 https://github.com/projectatomic/%{name}
|
|
|
257f0a |
%global csslibdir %{_datadir}/%{name}
|
|
|
3282f3 |
%global commit0 1d27ecf705a964b4d96ec815120359eeec1fea50
|
|
|
257f0a |
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
|
|
257f0a |
|
|
|
257f0a |
Name: container-storage-setup
|
|
|
3282f3 |
Version: 0.8.0
|
|
|
3282f3 |
Release: 3.git%{shortcommit0}%{?dist}
|
|
|
257f0a |
Summary: A simple service to setup container storage devices
|
|
|
257f0a |
License: ASL 2.0
|
|
|
257f0a |
URL: http://github.com/projectatomic/%{name}/
|
|
|
257f0a |
Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
|
|
|
257f0a |
BuildArch: noarch
|
|
|
257f0a |
BuildRequires: git
|
|
|
257f0a |
Requires: lvm2
|
|
|
257f0a |
Requires: xfsprogs
|
|
|
3282f3 |
Requires: parted
|
|
|
257f0a |
|
|
|
257f0a |
%description
|
|
|
257f0a |
This is a simple service to configure Container Runtimes to use an LVM-managed
|
|
|
257f0a |
thin pool. It also supports auto-growing both the pool as well
|
|
|
257f0a |
as the root logical volume and partition table.
|
|
|
257f0a |
|
|
|
257f0a |
%prep
|
|
|
257f0a |
%autosetup -Sgit -n %{name}-%{commit0}
|
|
|
257f0a |
|
|
|
257f0a |
%build
|
|
|
257f0a |
|
|
|
257f0a |
%install
|
|
|
257f0a |
install -dp %{buildroot}%{_datadir}/%{name}
|
|
|
257f0a |
install -dp %{buildroot}%{_mandir}/man1
|
|
|
257f0a |
install -D -p -m 755 %{name}.sh %{buildroot}%{_bindir}/%{name}
|
|
|
257f0a |
install -p -m 644 %{name}.conf %{buildroot}%{csslibdir}/%{name}
|
|
|
257f0a |
install -p -m 755 libcss.sh %{buildroot}/%{csslibdir}
|
|
|
257f0a |
install -p -m 755 css-child-read-write.sh %{buildroot}/%{csslibdir}/css-child-read-write
|
|
|
257f0a |
install -p -m 644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
|
|
257f0a |
#%{__make} install-core DESTDIR=%{buildroot}
|
|
|
257f0a |
|
|
|
257f0a |
%files
|
|
|
257f0a |
%doc README.md
|
|
|
257f0a |
%license LICENSE
|
|
|
257f0a |
%{_bindir}/%{name}
|
|
|
257f0a |
%dir %{csslibdir}
|
|
|
257f0a |
%{_mandir}/man1/%{name}.1*
|
|
|
257f0a |
%{csslibdir}/%{name}
|
|
|
257f0a |
%{csslibdir}/css-child-read-write
|
|
|
257f0a |
%{csslibdir}/libcss.sh
|
|
|
257f0a |
|
|
|
257f0a |
%changelog
|
|
|
3282f3 |
* Tue Oct 31 2017 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.8.0-3.git1d27ecf
|
|
|
3282f3 |
- rebased to 1d27ecf705a964b4d96ec815120359eeec1fea50
|
|
|
3282f3 |
|
|
|
3282f3 |
* Thu Oct 26 2017 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.7.0-2.git4ca59c5
|
|
|
3282f3 |
- Requires: parted
|
|
|
3282f3 |
- Resolves: #1416928
|
|
|
3282f3 |
|
|
|
12bd52 |
* Wed Sep 20 2017 Lokesh Mandvekar <lsm5@redhat.com> - 0.7.0-1.git4ca59c5
|
|
|
12bd52 |
- bump to v0.7.0
|
|
|
12bd52 |
- built commit 4ca59c5
|
|
|
12bd52 |
|
|
|
13ec02 |
* Tue Aug 08 2017 Lokesh Mandvekar <lsm5@redhat.com> - 0.6.0-1.gite67c964
|
|
|
13ec02 |
- rebase to v0.6.0
|
|
|
13ec02 |
|
|
|
257f0a |
* Fri Jun 30 2017 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.3.0-3.git927974f
|
|
|
257f0a |
- rebase, #1466508
|
|
|
257f0a |
|
|
|
257f0a |
* Tue Jun 13 2017 Lokesh Mandvekar <lsm5@redhat.com> - 0.3.0-1.git9b77bcb
|
|
|
257f0a |
- built commit 9b77bcb
|
|
|
257f0a |
|
|
|
257f0a |
* Thu May 04 2017 Lokesh Mandvekar <lsm5@redhat.com> - 0.3.0-1.git8276a1e
|
|
|
257f0a |
- use correct version tag, no change in source
|
|
|
257f0a |
|
|
|
257f0a |
* Wed May 03 2017 Lokesh Mandvekar <lsm5@redhat.com> - 0.2.0-3.git8276a1e
|
|
|
257f0a |
- add shortcommit to release tag
|
|
|
257f0a |
|
|
|
257f0a |
* Wed May 03 2017 Lokesh Mandvekar <lsm5@redhat.com> - 0.2.0-2
|
|
|
257f0a |
- built commit 8276a1e
|
|
|
257f0a |
|
|
|
257f0a |
* Fri Mar 03 2017 Dan Walsh <dwalsh@redhat.com> - 0.2.0-1
|
|
|
257f0a |
- Add License
|
|
|
257f0a |
- Add compatibility mode flag to only do docker specific stuff if INPUTFILE
|
|
|
257f0a |
not specified.
|
|
|
257f0a |
- Minor Bug fixes for non docker use cases
|
|
|
257f0a |
|
|
|
257f0a |
* Thu Mar 02 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1.0-2
|
|
|
257f0a |
- Resolves: #1427295 - initial package on rawhide
|
|
|
257f0a |
- misc macro changes
|
|
|
257f0a |
- preserve timestamps
|
|
|
257f0a |
|
|
|
257f0a |
* Mon Feb 27 2017 Dan Walsh <dwalsh@redhat.com> - 0.1.0-1
|
|
|
257f0a |
- Initial version of container-storage-setup
|
|
|
257f0a |
- Building to push through the fedora release cycle
|
|
|
257f0a |
|
|
|
257f0a |
* Thu Oct 16 2014 Andy Grimm <agrimm@redhat.com> - 0.0.1-2
|
|
|
257f0a |
- Fix rpm deps and scripts
|
|
|
257f0a |
|
|
|
257f0a |
* Thu Oct 16 2014 Andy Grimm <agrimm@redhat.com> - 0.0.1-1
|
|
|
257f0a |
- Initial build
|
|
|
257f0a |
|