Name: gdisk Version: 1.0.5 Release: 2 Summary: GPT fdisk(consisting of the gdisk,sgdisk,cgdisk) is a set of text-mode partitioning tools License: GPLv2 URL: http://www.rodsbooks.com/gdisk Source0: http://downloads.sourceforge.net/gptfdisk/gptfdisk-%{version}.tar.gz BuildRequires:ncurses-devel util-linux-devel gcc-c++ popt-devel git gdb %description GPT fdisk(consisting of the gdisk,sgdisk,cgdisk) is a set of text-mode partitioning tools. rather than on the older MBR partition tables. %package help Summary: Include man page for gdisk,sgdisk,cgdisk utility Requires: man %description help This package contains the man page for GPT fdisk(consisting of the gdisk,sgdisk,cgdisk) %prep %autosetup -n gptfdisk-%{version} -p1 -Sgit chmod 0644 gdisk_test.sh %build make CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" LDFLAGS="%{build_ldflags}" %install install -Dp -m 0755 cgdisk %{buildroot}%{_sbindir}/cgdisk install -Dp -m 0644 cgdisk.8 %{buildroot}%{_mandir}/man8/cgdisk.8 install -Dp -m 0755 gdisk %{buildroot}%{_sbindir}/gdisk install -Dp -m 0644 gdisk.8 %{buildroot}%{_mandir}/man8/gdisk.8 install -Dp -m 0755 sgdisk %{buildroot}%{_sbindir}/sgdisk install -Dp -m 0644 sgdisk.8 %{buildroot}%{_mandir}/man8/sgdisk.8 install -Dp -m 0755 fixparts %{buildroot}%{_sbindir}/fixparts install -Dp -m 0644 fixparts.8 %{buildroot}%{_mandir}/man8/fixparts.8 %files %doc gdisk_test.sh README NEWS %license COPYING %{_sbindir}/* %files help %{_mandir}/man8/* %changelog * Mon Aug 10 2020 volcanodragon - 1.0.5-2 - upgrade yaml * Thu Jul 16 2020 Wangjun - 1.0.5-1 - upgrade package to 1.0.5 * Wed Jan 22 2020 sunshihao - 1.0.4.5 - Type:enhancement - ID:NA - SUG:NA - DESC:update buildrequire * Tue Aug 27 2019 openEuler Buildteam - 1.0.4.4 - Created spec file for 1.0.4.4 release