2024-01-05 23:23:26 +01:00
|
|
|
Name: gptfdisk
|
2024-01-05 23:23:26 +01:00
|
|
|
Version: 1.0.8
|
2024-01-05 23:23:26 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 23:23:26 +01:00
|
|
|
Summary: A disk partitioning tool loosely modeled on Linux fdisk, but used for modifying GUID Partition Table (GPT) disks
|
|
|
|
Group: System/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 23:23:26 +01:00
|
|
|
URL: https://www.rodsbooks.com/gdisk/
|
2024-01-05 23:23:26 +01:00
|
|
|
Source: http://downloads.sourceforge.net/project/gptfdisk/gptfdisk/%{version}/gptfdisk-%{version}.tar.gz
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libncurses-devel
|
|
|
|
BuildRequires: libpopt-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
GPT fdisk is a disk partitioning tool loosely modeled on Linux fdisk, but used for modifying GUID Partition Table (GPT) disks. The related FixParts utility fixes some common problems on Master Boot Record (MBR) disks.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
2024-01-05 23:23:26 +01:00
|
|
|
# https://sourceforge.net/p/gptfdisk/discussion/939590/thread/bc29ca06f8/
|
|
|
|
sed -i '/^#include /s|ncursesw/||' gptcurses.cc
|
|
|
|
|
2024-01-05 23:23:26 +01:00
|
|
|
%build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
for f in cgdisk fixparts gdisk sgdisk; do
|
2024-01-05 23:23:26 +01:00
|
|
|
install -D -m0755 $f %{buildroot}%{_sbindir}/$f
|
2024-01-05 23:23:26 +01:00
|
|
|
install -D -m0644 $f.8 %{buildroot}%{_mandir}/man8/$f.8
|
|
|
|
done
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 23:23:26 +01:00
|
|
|
%{_sbindir}/cgdisk
|
|
|
|
%{_sbindir}/fixparts
|
|
|
|
%{_sbindir}/gdisk
|
|
|
|
%{_sbindir}/sgdisk
|
2024-01-05 23:23:26 +01:00
|
|
|
%{_mandir}/man8/cgdisk.8*
|
|
|
|
%{_mandir}/man8/fixparts.8*
|
|
|
|
%{_mandir}/man8/gdisk.8*
|
|
|
|
%{_mandir}/man8/sgdisk.8*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:23:26 +01:00
|
|
|
* Thu Jun 10 2021 Automatic Build System <autodist@mambasoft.it> 1.0.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:23:26 +01:00
|
|
|
* Sat Mar 13 2021 Automatic Build System <autodist@mambasoft.it> 1.0.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:23:26 +01:00
|
|
|
* Thu Jan 14 2021 Automatic Build System <autodist@mambasoft.it> 1.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:23:26 +01:00
|
|
|
* Fri Feb 28 2020 Automatic Build System <autodist@mambasoft.it> 1.0.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:23:26 +01:00
|
|
|
* Tue Jul 10 2018 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:23:26 +01:00
|
|
|
* Fri Jul 28 2017 Automatic Build System <autodist@mambasoft.it> 1.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:23:26 +01:00
|
|
|
* Thu Oct 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-2mamba
|
|
|
|
- fix sbin prefix path
|
|
|
|
|
2024-01-05 23:23:26 +01:00
|
|
|
* Mon Oct 19 2015 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:23:26 +01:00
|
|
|
* Sun Sep 13 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
|
|
|
|
- package created using the webbuild interface
|