commit 760ccbbbbb8a5ef26d2503af8eb16f6053090458c0390e7277fe8e5db65e4de0 Author: Robert Schweikert Date: Mon Mar 17 17:57:17 2014 +0000 - Initial build OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/growpart?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/cloud-utils-0.27.tar.gz b/cloud-utils-0.27.tar.gz new file mode 100644 index 0000000..71e0877 --- /dev/null +++ b/cloud-utils-0.27.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6da34d6cc93f34e338c9c31627008d8cf531b1f181d44982b92d52335ea5509b +size 38453 diff --git a/growpart.changes b/growpart.changes new file mode 100644 index 0000000..d80e6fe --- /dev/null +++ b/growpart.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Mar 17 17:54:09 UTC 2014 - rschweikert@suse.com + +- Initial build + diff --git a/growpart.spec b/growpart.spec new file mode 100644 index 0000000..add64c3 --- /dev/null +++ b/growpart.spec @@ -0,0 +1,59 @@ +# +# spec file for package growpart +# +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +Name: growpart +Version: 0.27 +Release: 0 +License: GPL-3.0 +Summary: Grow a partition +URL: http://launchpad.net/cloud-util +Group: SYSTEM/Management +Source0: cloud-utils-%{version}.tar.gz +Requires: util-linux +%if 0%{?suse_version} && 0%{?suse_version} >= 1220 +Requires: gptfdisk +%endif +BuildRoot: %{_tmppath}/cloud-utils-%{version}-%{release}-root +BuildArch: noarch + +%description +Grow a partition. This is predominantly useful in the cloud when an instance +is started with a larger root partition than the image size. The root +partition can be expanded to take up the additional size. + +%prep +%setup -q -n cloud-utils-%{version} + +%build + +%install +mkdir -p %{buildroot}/%{_sbindir} +mkdir -p %{buildroot}/%{_mandir}/man1 +cp bin/growpart %{buildroot}/%{_sbindir} +cp man/growpart.1 %{buildroot}/%{_mandir}/man1 + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%{_sbindir}/growpart +%{_mandir}/man1/* + + +%changelog