From 257f0ad3e989a0560dfe20ee3a403b3f49c60e6d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 01 2017 13:04:35 +0000 Subject: import container-storage-setup-0.3.0-3.git927974f.el7 --- diff --git a/.container-storage-setup.metadata b/.container-storage-setup.metadata new file mode 100644 index 0000000..537413d --- /dev/null +++ b/.container-storage-setup.metadata @@ -0,0 +1 @@ +94e1ee5fe9342273234037aef8773ebc33a2c140 SOURCES/container-storage-setup-927974f.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6c045fd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/container-storage-setup-927974f.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/container-storage-setup.spec b/SPECS/container-storage-setup.spec new file mode 100644 index 0000000..c5546e9 --- /dev/null +++ b/SPECS/container-storage-setup.spec @@ -0,0 +1,84 @@ +%global git0 https://github.com/projectatomic/%{name} +%global csslibdir %{_datadir}/%{name} +%global commit0 927974f13ac6eea0e67fce37344a70e3124b1a21 +%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) + +Name: container-storage-setup +Version: 0.3.0 +Release: 3.git%{shortcommit0}%{?dist} +Summary: A simple service to setup container storage devices +License: ASL 2.0 +URL: http://github.com/projectatomic/%{name}/ +Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz +BuildArch: noarch +BuildRequires: git +Requires: lvm2 +Requires: xfsprogs + +%description +This is a simple service to configure Container Runtimes to use an LVM-managed +thin pool. It also supports auto-growing both the pool as well +as the root logical volume and partition table. + +%prep +%autosetup -Sgit -n %{name}-%{commit0} + +%build + +%install +install -dp %{buildroot}%{_datadir}/%{name} +install -dp %{buildroot}%{_mandir}/man1 +install -D -p -m 755 %{name}.sh %{buildroot}%{_bindir}/%{name} +install -p -m 644 %{name}.conf %{buildroot}%{csslibdir}/%{name} +install -p -m 755 libcss.sh %{buildroot}/%{csslibdir} +install -p -m 755 css-child-read-write.sh %{buildroot}/%{csslibdir}/css-child-read-write +install -p -m 644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 +#%{__make} install-core DESTDIR=%{buildroot} + +%files +%doc README.md +%license LICENSE +%{_bindir}/%{name} +%dir %{csslibdir} +%{_mandir}/man1/%{name}.1* +%{csslibdir}/%{name} +%{csslibdir}/css-child-read-write +%{csslibdir}/libcss.sh + +%changelog +* Fri Jun 30 2017 Frantisek Kluknavsky - 0.3.0-3.git927974f +- rebase, #1466508 + +* Tue Jun 13 2017 Lokesh Mandvekar - 0.3.0-1.git9b77bcb +- built commit 9b77bcb + +* Thu May 04 2017 Lokesh Mandvekar - 0.3.0-1.git8276a1e +- use correct version tag, no change in source + +* Wed May 03 2017 Lokesh Mandvekar - 0.2.0-3.git8276a1e +- add shortcommit to release tag + +* Wed May 03 2017 Lokesh Mandvekar - 0.2.0-2 +- built commit 8276a1e + +* Fri Mar 03 2017 Dan Walsh - 0.2.0-1 +- Add License +- Add compatibility mode flag to only do docker specific stuff if INPUTFILE +not specified. +- Minor Bug fixes for non docker use cases + +* Thu Mar 02 2017 Lokesh Mandvekar - 0.1.0-2 +- Resolves: #1427295 - initial package on rawhide +- misc macro changes +- preserve timestamps + +* Mon Feb 27 2017 Dan Walsh - 0.1.0-1 +- Initial version of container-storage-setup +- Building to push through the fedora release cycle + +* Thu Oct 16 2014 Andy Grimm - 0.0.1-2 +- Fix rpm deps and scripts + +* Thu Oct 16 2014 Andy Grimm - 0.0.1-1 +- Initial build +