2019-09-30 10:39:34 -04:00
|
|
|
Name: gdisk
|
2022-12-08 17:30:45 +08:00
|
|
|
Version: 1.0.9
|
2024-09-24 08:58:29 +00:00
|
|
|
Release: 2
|
2019-09-30 10:39:34 -04:00
|
|
|
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
|
|
|
|
|
|
2021-07-30 22:38:36 +08:00
|
|
|
BuildRequires:ncurses-devel util-linux-devel gcc-c++ popt-devel
|
2019-09-30 10:39:34 -04:00
|
|
|
|
2024-09-24 08:58:29 +00:00
|
|
|
Patch0001: 0001-Fix-failure-crash-of-sgdisk-when-compiled-with-lates.patch
|
|
|
|
|
Patch0002: 0002-Fix-NULL-dereference-when-duplicating-string-argumen.patch
|
|
|
|
|
|
2019-09-30 10:39:34 -04:00
|
|
|
%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
|
2021-07-30 22:38:36 +08:00
|
|
|
%autosetup -n gptfdisk-%{version} -p1
|
2019-09-30 10:39:34 -04:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
make CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" LDFLAGS="%{build_ldflags}"
|
|
|
|
|
|
2020-11-04 18:12:51 +08:00
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
chmod 0644 gdisk_test.sh
|
|
|
|
|
|
2019-09-30 10:39:34 -04:00
|
|
|
%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
|
2024-09-24 08:58:29 +00:00
|
|
|
* Tue Sep 24 2024 lvyy <lyunmail@163.com> - 1.0.9-2
|
|
|
|
|
- DESC: fix problem that caused sgdisk to crash when using the latest popt
|
|
|
|
|
|
2022-12-08 17:30:45 +08:00
|
|
|
* Thu Dec 8 2022 tangyuchen <tangyuchen5@huawei.com> - 1.0.9-1
|
|
|
|
|
- update to gptfdisk-1.0.9
|
|
|
|
|
|
2022-10-29 11:02:07 +08:00
|
|
|
* Sat Oct 29 2022 wangzhiqiang <wangzhiqiang95@huawei.com> - 1.0.8-3
|
|
|
|
|
- remove stray debugging code
|
|
|
|
|
|
2022-03-08 08:44:28 +08:00
|
|
|
* Tue Mar 8 02:11:35 UTC 2022 - Qiang Wei <qiang.wei@suse.com> - 1.0.8-2
|
|
|
|
|
- Fix compiler error for option -Werror=format-security
|
|
|
|
|
|
2021-11-17 22:14:35 +08:00
|
|
|
* Wed Nov 17 2021 Wenchao Hao <haowenchao@huawei.com> - 1.0.8-1
|
|
|
|
|
- update to gptfdisk-1.0.8
|
|
|
|
|
|
2021-07-30 22:38:36 +08:00
|
|
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.0.5-6
|
|
|
|
|
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
|
|
|
|
|
|
2021-07-23 15:52:05 +08:00
|
|
|
* Fri Jul 23 2021 zhouwenpei <zhouwenpei1@huawei.com> - 1.0.5-5
|
|
|
|
|
- remove unnecessary build require.
|
|
|
|
|
|
2020-11-04 18:12:51 +08:00
|
|
|
* Wed Nov 4 2020 lixiaokeng <lixiaokeng@huawei.com> - 1.0.5-4
|
|
|
|
|
- add make test
|
|
|
|
|
|
2020-10-29 18:00:24 +08:00
|
|
|
* Thu Oct 29 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 1.0.5-3
|
|
|
|
|
- backport one patch for solving potential segfault problem.
|
|
|
|
|
|
2020-08-10 15:18:28 +08:00
|
|
|
* Mon Aug 10 2020 volcanodragon <linfeilong@huawei.com> - 1.0.5-2
|
|
|
|
|
- upgrade yaml
|
|
|
|
|
|
2020-07-16 16:42:21 +08:00
|
|
|
* Thu Jul 16 2020 Wangjun <wangjun196@huawei.com> - 1.0.5-1
|
|
|
|
|
- upgrade package to 1.0.5
|
|
|
|
|
|
2020-01-22 11:31:34 +08:00
|
|
|
* Wed Jan 22 2020 sunshihao <sunshihao@huawei.com> - 1.0.4.5
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update buildrequire
|
2020-01-22 11:47:17 +08:00
|
|
|
|
2019-12-25 15:46:17 +08:00
|
|
|
* Tue Aug 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.4.4
|
2019-09-30 10:39:34 -04:00
|
|
|
- Created spec file for 1.0.4.4 release
|