78c65c1
%global git0 https://github.com/projectatomic/%{name}
78c65c1
%global csslibdir %{_datadir}/%{name}
Lokesh Mandvekar (Bot) d37f84e
%global commit0 413b4080c0b9346a242d88137bb3e9e0a6aa25f9
f7e7bee
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
78c65c1
f7e7bee
Name: container-storage-setup
Lokesh Mandvekar (Bot) 26d4144
Version: 0.11.0
0ea8cd4
Release: 9.dev.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
aa9ce88
BuildRequires: make
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
0ea8cd4
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-9.dev.git413b408
0ea8cd4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
0ea8cd4
7fbff30
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-8.dev.git413b408
7fbff30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
7fbff30
79bfc04
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-7.dev.git413b408
79bfc04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
79bfc04
d2adfd8
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-6.dev.git413b408
d2adfd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d2adfd8
a84e9ef
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-5.dev.git413b408
a84e9ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a84e9ef
Lokesh Mandvekar (Bot) d37f84e
* Sat Jul 14 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 0.11.0-4.dev.git413b408
Lokesh Mandvekar (Bot) d37f84e
- autobuilt 413b408
Lokesh Mandvekar (Bot) d37f84e
5c5eb6e
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-3.dev.git5eaf76c
5c5eb6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5c5eb6e
Lokesh Mandvekar (Bot) 9f5a191
* Wed Jun 13 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 0.11.0-2.git5eaf76c
Lokesh Mandvekar (Bot) 9f5a191
- autobuilt 5eaf76c
Lokesh Mandvekar (Bot) 9f5a191
Lokesh Mandvekar (Bot) 26d4144
* Fri Jun 08 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 0.11.0-1.git42c9d9c
Lokesh Mandvekar (Bot) 26d4144
- bump to 0.11.0
Lokesh Mandvekar (Bot) 26d4144
- autobuilt 42c9d9c
Lokesh Mandvekar (Bot) 26d4144
Lokesh Mandvekar (Bot) d5e8d5f
* Thu Jun 07 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 0.10.0-1.gitdf0dcd5
Lokesh Mandvekar (Bot) d5e8d5f
- bump to 0.10.0
Lokesh Mandvekar (Bot) d5e8d5f
- autobuilt df0dcd5
Lokesh Mandvekar (Bot) d5e8d5f
Lokesh Mandvekar (Bot) 26d4144
* Fri May 25 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 0.11.0-1.git42c9d9c.git42c9d9c
Lokesh Mandvekar (Bot) fa451e8
- bump to 0.11.0
Lokesh Mandvekar (Bot) fa451e8
- autobuilt 42c9d9c
Lokesh Mandvekar (Bot) fa451e8
Lokesh Mandvekar (Bot) d5e8d5f
* Wed May 02 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 0.10.0-1.gitdf0dcd5.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