Blame SPECS/cloud-utils-growpart.spec

f84e8b
Name:		cloud-utils-growpart
f84e8b
Version:	0.29
f84e8b
Release:	2%{?dist}
f84e8b
License:	GPLv3
f84e8b
Group:		System Environment/Base
f84e8b
Source0:	https://launchpad.net/cloud-utils/trunk/%{version}/+download/cloud-utils-%{version}.tar.gz
f84e8b
URL:		https://launchpad.net/cloud-utils
f84e8b
Source1:	LICENSE
f84e8b
f84e8b
BuildArch:	noarch
f84e8b
f84e8b
Summary:	Script for growing a partition
f84e8b
f84e8b
Requires:	gawk
f84e8b
Requires:	util-linux
f84e8b
# gdisk is only required for resizing GPT partitions and depends on libicu
f84e8b
# (25MB). We don't make this a hard requirement to save some space in non-GPT
f84e8b
# systems.
f84e8b
#Requires:	gdisk
f84e8b
f84e8b
%description
f84e8b
This package provides the growpart script for growing a partition. It is
f84e8b
primarily used in cloud images in conjunction with the dracut-modules-growroot
f84e8b
package to grow the root partition on first boot.
f84e8b
f84e8b
%prep
f84e8b
%setup -q -n cloud-utils-%{version}
f84e8b
f84e8b
%build
f84e8b
f84e8b
%install
f84e8b
cp %{SOURCE1} LICENSE
f84e8b
f84e8b
# Create the target directories
f84e8b
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
f84e8b
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
f84e8b
f84e8b
# Install the growpart binary and man page
f84e8b
cp bin/growpart $RPM_BUILD_ROOT/%{_bindir}/
f84e8b
cp man/growpart.* $RPM_BUILD_ROOT/%{_mandir}/man1/
f84e8b
f84e8b
%files
f84e8b
%doc ChangeLog LICENSE
f84e8b
%{_bindir}/growpart
f84e8b
%doc %{_mandir}/man1/growpart.*
f84e8b
f84e8b
%changelog
f84e8b
* Wed Apr 19 2017 Charalampos Stratakis <cstratak@redhat.com> - 0.29-2
f84e8b
- Import to RHEL 7
f84e8b
Resolves: rhbz#1308711
f84e8b
f84e8b
* Mon Dec 05 2016 Lars Kellogg-Stedman <lars@redhat.com> - 0.29-1
f84e8b
- update to 0.29
f84e8b
- resolves rhbz#1321373
f84e8b
f84e8b
* Tue May 10 2016 Lars Kellogg-Stedman <lars@redhat.com> - 0.28-1
f84e8b
- fix locale related problems in growpart script (rhbz#1327620)
f84e8b
  w/ rebase to 0.28
f84e8b
f84e8b
* Tue May 10 2016 Lars Kellogg-Stedman <lars@redhat.com> - 0.27-14
f84e8b
f84e8b
* Tue Mar 18 2014 Lars Kellogg-Stedman <lars@redhat.com> - 0.27-13
f84e8b
- suppress partx usage error
f84e8b
f84e8b
* Tue Jan 14 2014 Lars Kellogg-Stedman <lars@redhat.com> - 0.27-11
f84e8b
- import into RHEL
f84e8b