2014-03-17 18:57:17 +01:00
|
|
|
#
|
2016-09-13 22:58:48 +02:00
|
|
|
# spec file for package growpart
|
2014-03-17 18:57:17 +01:00
|
|
|
#
|
2017-03-14 20:05:20 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-03-17 18:57:17 +01:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2016-09-13 22:58:48 +02:00
|
|
|
|
2014-03-17 18:57:17 +01:00
|
|
|
Name: growpart
|
2016-09-13 22:58:48 +02:00
|
|
|
Version: 0.29
|
2014-03-17 18:57:17 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Grow a partition
|
2016-09-13 22:58:48 +02:00
|
|
|
License: GPL-3.0
|
2014-03-18 21:38:17 +01:00
|
|
|
Group: System/Management
|
2016-09-13 22:58:48 +02:00
|
|
|
Url: http://launchpad.net/cloud-utils
|
2014-03-17 18:57:17 +01:00
|
|
|
Source0: cloud-utils-%{version}.tar.gz
|
2014-03-18 21:38:17 +01:00
|
|
|
Patch: licenseGPLv3.patch
|
2014-03-17 18:57:17 +01:00
|
|
|
Requires: util-linux
|
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} >= 1220
|
|
|
|
Requires: gptfdisk
|
|
|
|
%endif
|
2016-09-13 22:58:48 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2014-03-17 18:57:17 +01:00
|
|
|
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}
|
2014-03-18 21:38:17 +01:00
|
|
|
%patch -p1
|
2014-03-17 18:57:17 +01:00
|
|
|
|
|
|
|
%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,-)
|
2014-03-18 21:38:17 +01:00
|
|
|
%doc LICENSE-GPLv3
|
2014-03-17 18:57:17 +01:00
|
|
|
%{_sbindir}/growpart
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
|
|
%changelog
|