78c65c1
%global git0 https://github.com/projectatomic/%{name}
78c65c1
%global csslibdir %{_datadir}/%{name}
Lokesh Mandvekar (Bot) fa451e8
%global commit0 42c9d9c7c5e0d09a664e1fd9712b7d1d3cef6dd4
f7e7bee
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
78c65c1
f7e7bee
Name: container-storage-setup
Lokesh Mandvekar (Bot) fa451e8
Version: 0.11.0
Lokesh Mandvekar (Bot) cb405e7
Release: 1.git%{shortcommit0}%{?dist}
f7e7bee
Summary: A simple service to setup container storage devices
f7e7bee
License: ASL 2.0
f7e7bee
URL: %{git0}
8748fd9
Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
78c65c1
BuildArch: noarch
f7e7bee
BuildRequires: git
f7e7bee
Requires: lvm2
f7e7bee
Requires: xfsprogs
f7e7bee
Requires: parted
78c65c1
78c65c1
%description
78c65c1
This is a simple service to configure Container Runtimes to use an LVM-managed
78c65c1
thin pool.  It also supports auto-growing both the pool as well
78c65c1
as the root logical volume and partition table.
78c65c1
78c65c1
%prep
f7e7bee
%autosetup -Sgit -n %{name}-%{commit0}
78c65c1
78c65c1
%build
78c65c1
78c65c1
%install
78c65c1
install -dp %{buildroot}%{_datadir}/%{name}
78c65c1
install -dp %{buildroot}%{_mandir}/man1
78c65c1
install -D -p -m 755 %{name}.sh %{buildroot}%{_bindir}/%{name}
78c65c1
install -p -m 644 %{name}.conf %{buildroot}%{csslibdir}/%{name}
78c65c1
install -p -m 755 libcss.sh %{buildroot}/%{csslibdir}
78c65c1
install -p -m 755 css-child-read-write.sh %{buildroot}/%{csslibdir}/css-child-read-write
78c65c1
install -p -m 644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
78c65c1
#%{__make} install-core DESTDIR=%{buildroot}
78c65c1
78c65c1
%files
78c65c1
%doc README.md
ce7a30a
%license LICENSE
78c65c1
%{_bindir}/%{name}
78c65c1
%dir %{csslibdir}
78c65c1
%{_mandir}/man1/%{name}.1*
78c65c1
%{csslibdir}/%{name}
78c65c1
%{csslibdir}/css-child-read-write
78c65c1
%{csslibdir}/libcss.sh
78c65c1
78c65c1
%changelog
Lokesh Mandvekar (Bot) fa451e8
* Fri May 25 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 0.11.0-1.git42c9d9c
Lokesh Mandvekar (Bot) fa451e8
- bump to 0.11.0
Lokesh Mandvekar (Bot) fa451e8
- autobuilt 42c9d9c
Lokesh Mandvekar (Bot) fa451e8
Lokesh Mandvekar (Bot) cb405e7
* Wed May 02 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 0.10.0-1.gitdf0dcd5
Lokesh Mandvekar (Bot) cb405e7
- bump to 0.10.0
Lokesh Mandvekar (Bot) cb405e7
- autobuilt commit df0dcd5
Lokesh Mandvekar (Bot) cb405e7
c800327
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-3.git1d27ecf
c800327
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c800327
Frantisek Kluknavsky 75ba692
* Thu Oct 26 2017 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.8.0-2.git1d27ecf
Frantisek Kluknavsky 75ba692
- Requires: parted, https://bugzilla.redhat.com/show_bug.cgi?id=1416928
Frantisek Kluknavsky 75ba692
c8b4589
* Fri Sep 29 2017 Dan Walsh <dwalsh@redhat.com> - 0.8.0-1.git1d27ecf
c8b4589
- Bump to 0.8.0
c8b4589
- Allow for extents based size for ROOT_SIZE
c8b4589
0a81786
* Fri Sep 8 2017 Dan Walsh <dwalsh@redhat.com> - 0.7.0-1.git4ca59c5
0a81786
- Mount xfs filesystem with pquota option
0a81786
- Add a knob POOL_META_SIZE
0a81786
c563532
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2.giteb688d4
c563532
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c563532
d4e1672
* Thu Jul 6 2017 Dan Walsh <dwalsh@redhat.com> - 0.6.0-1.giteb688d4
d4e1672
- Fix sfdisk failure on older sfdisk
d4e1672
Frantisek Kluknavsky ad95d3d
* Wed Jun 07 2017 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.5.0-1.git9b77bcb
Frantisek Kluknavsky ad95d3d
- rebase
Frantisek Kluknavsky ad95d3d
ce7a30a
* Wed Apr 12 2017 Dan Walsh <dwalsh@redhat.com> - 0.3.0-1
ce7a30a
- Rewrite to handle new CLI
ce7a30a
7ef04c3
* Tue Apr 04 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.2.0-2
7ef04c3
- Resolves: #1437604
7ef04c3
- built commit aa1a54f
7ef04c3
ce7a30a
* Fri Mar 03 2017 Dan Walsh <dwalsh@redhat.com> - 0.2.0-1
ce7a30a
- Add License
ce7a30a
- Add compatibility mode flag to only do docker specific stuff if INPUTFILE
ce7a30a
not specified.
ce7a30a
- Minor Bug fixes for non docker use cases
ce7a30a
78c65c1
* Thu Mar 02 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1.0-2
78c65c1
- Resolves: #1427295 - initial package on rawhide
78c65c1
- misc macro changes
78c65c1
- preserve timestamps
78c65c1
78c65c1
* Mon Feb 27 2017 Dan Walsh <dwalsh@redhat.com> - 0.1.0-1
78c65c1
- Initial version of container-storage-setup
78c65c1
- Building to push through the fedora release cycle
78c65c1
78c65c1
* Thu Oct 16 2014 Andy Grimm <agrimm@redhat.com> - 0.0.1-2
78c65c1
- Fix rpm deps and scripts
78c65c1
78c65c1
* Thu Oct 16 2014 Andy Grimm <agrimm@redhat.com> - 0.0.1-1
78c65c1
- Initial build
78c65c1