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
|
|
|
#
|
2020-02-27 23:02:21 +01:00
|
|
|
# Copyright (c) 2020 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
|
|
|
|
2020-02-27 23:02:21 +01:00
|
|
|
%define base_version 0.31
|
2014-03-17 18:57:17 +01:00
|
|
|
Name: growpart
|
2018-01-24 18:16:59 +01:00
|
|
|
Version: %{base_version}
|
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
|
2020-02-27 23:02:21 +01:00
|
|
|
URL: http://launchpad.net/cloud-utils
|
2018-01-24 18:16:59 +01:00
|
|
|
Source0: cloud-utils-%{base_version}.tar.gz
|
2014-03-17 18:57:17 +01:00
|
|
|
Requires: gptfdisk
|
2020-02-27 23:02:21 +01:00
|
|
|
Requires: util-linux
|
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
|
2019-11-20 15:47:21 +01:00
|
|
|
%autosetup -p1 -n cloud-utils-%{base_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
|
2020-02-27 23:02:21 +01:00
|
|
|
install -Dm0644 -t %{buildroot}/%{_defaultlicensedir}/growpart LICENSE
|
2014-03-17 18:57:17 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
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
|