Blame SPECS/cloud-utils-growpart.spec

38bbb0
Name:		cloud-utils-growpart
38bbb0
Version:	0.27
38bbb0
Release:	13%{?dist}
38bbb0
License:	GPLv3
38bbb0
Group:		System Environment/Base
38bbb0
Source0:	https://launchpad.net/cloud-utils/trunk/%{version}/+download/cloud-utils-%{version}.tar.gz
38bbb0
URL:		https://launchpad.net/cloud-utils
38bbb0
Source1:	LICENSE
38bbb0
38bbb0
BuildArch:	noarch
38bbb0
38bbb0
Summary:	Script for growing a partition
38bbb0
Group:		System Environment/Base
38bbb0
38bbb0
Requires:	gawk
38bbb0
Requires:	util-linux
38bbb0
# gdisk is only required for resizing GPT partitions and depends on libicu
38bbb0
# (25MB). We don't make this a hard requirement to save some space in non-GPT
38bbb0
# systems.
38bbb0
#Requires:	gdisk
38bbb0
38bbb0
# patches_base=0.27
38bbb0
Patch0001: 0001-suppress-partx-usage-error.patch
38bbb0
38bbb0
%description
38bbb0
This package provides the growpart script for growing a partition. It is
38bbb0
primarily used in cloud images in conjunction with the dracut-modules-growroot
38bbb0
package to grow the root partition on first boot.
38bbb0
38bbb0
%prep
38bbb0
%setup -q -n cloud-utils-%{version}
38bbb0
%patch0001 -p1
38bbb0
38bbb0
%build
38bbb0
38bbb0
%install
38bbb0
cp %{SOURCE1} LICENSE
38bbb0
38bbb0
# Create the target directories
38bbb0
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
38bbb0
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
38bbb0
38bbb0
# Install the growpart binary and man page
38bbb0
cp bin/growpart $RPM_BUILD_ROOT/%{_bindir}/
38bbb0
cp man/growpart.* $RPM_BUILD_ROOT/%{_mandir}/man1/
38bbb0
38bbb0
%files
38bbb0
%doc ChangeLog LICENSE
38bbb0
%{_bindir}/growpart
38bbb0
%doc %{_mandir}/man1/growpart.*
38bbb0
38bbb0
%changelog
38bbb0
* Tue Mar 18 2014 Lars Kellogg-Stedman <lars@redhat.com> - 0.27-13
38bbb0
- suppress partx usage error
38bbb0
38bbb0
* Tue Jan 14 2014 Lars Kellogg-Stedman <lars@redhat.com> - 0.27-11
38bbb0
- import into RHEL
38bbb0