forked from pool/growpart
- Initial build
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/growpart?expand=0&rev=1
This commit is contained in:
commit
760ccbbbbb
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
cloud-utils-0.27.tar.gz
Normal file
3
cloud-utils-0.27.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6da34d6cc93f34e338c9c31627008d8cf531b1f181d44982b92d52335ea5509b
|
||||
size 38453
|
5
growpart.changes
Normal file
5
growpart.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 17 17:54:09 UTC 2014 - rschweikert@suse.com
|
||||
|
||||
- Initial build
|
||||
|
59
growpart.spec
Normal file
59
growpart.spec
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user