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
|
|
|
#
|
2023-08-02 14:17:34 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
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.
|
|
|
|
|
2019-11-20 15:47:21 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-03-17 18:57:17 +01:00
|
|
|
#
|
|
|
|
|
2016-09-13 22:58:48 +02:00
|
|
|
|
2014-03-17 18:57:17 +01:00
|
|
|
Name: growpart
|
2023-11-25 23:31:24 +01:00
|
|
|
Version: 0.33
|
2014-03-17 18:57:17 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Grow a partition
|
2018-04-04 13:56:23 +02:00
|
|
|
License: GPL-3.0-only
|
2014-03-18 21:38:17 +01:00
|
|
|
Group: System/Management
|
2023-11-25 23:31:24 +01:00
|
|
|
URL: https://github.com/canonical/cloud-utils
|
|
|
|
Source0: https://github.com/canonical/cloud-utils/archive/refs/tags/%{version}.tar.gz
|
2014-03-17 18:57:17 +01:00
|
|
|
Requires: gptfdisk
|
2020-02-27 23:02:21 +01:00
|
|
|
Requires: util-linux
|
2014-03-17 18:57:17 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
2023-11-25 23:31:24 +01:00
|
|
|
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.
|
2014-03-17 18:57:17 +01:00
|
|
|
|
|
|
|
%prep
|
2023-11-25 23:31:24 +01:00
|
|
|
%autosetup -p1 -n cloud-utils-%{version}
|
2014-03-17 18:57:17 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2019-11-20 15:47:21 +01:00
|
|
|
install -Dm0755 -t %{buildroot}%{_sbindir} bin/growpart
|
|
|
|
install -Dm0644 -t %{buildroot}%{_mandir}/man1 man/growpart.1
|
2023-08-02 14:17:34 +02:00
|
|
|
install -Dm0644 -t %{buildroot}/%{_defaultlicensedir}/growpart LICENSE
|
2014-03-17 18:57:17 +01:00
|
|
|
|
|
|
|
%files
|
2020-02-27 23:02:21 +01:00
|
|
|
%license LICENSE
|
2014-03-17 18:57:17 +01:00
|
|
|
%{_sbindir}/growpart
|
|
|
|
%{_mandir}/man1/*
|
2018-01-24 18:16:59 +01:00
|
|
|
|
2014-03-17 18:57:17 +01:00
|
|
|
%changelog
|