From 6554371d6a4b4dd540a20cc6df7c1cf23c98b1d0 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:23:26 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.0.0-1mamba;Sun Sep 13 2015] --- README.md | 2 ++ gptfdisk.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 gptfdisk.spec diff --git a/README.md b/README.md index eb257b0..7a192bf 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # gptfdisk +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. + diff --git a/gptfdisk.spec b/gptfdisk.spec new file mode 100644 index 0000000..c041063 --- /dev/null +++ b/gptfdisk.spec @@ -0,0 +1,57 @@ +Name: gptfdisk +Version: 1.0.0 +Release: 1mamba +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 +URL: http://www.rodsbooks.com/gdisk/ +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 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +for f in cgdisk fixparts gdisk sgdisk; do + install -D -m0755 $f %{buildroot}%{_sbindir}$f + install -D -m0644 $f.8 %{buildroot}%{_mandir}/man8/$f.8 +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_sbindir}cgdisk +%{_sbindir}fixparts +%{_sbindir}gdisk +%{_sbindir}sgdisk +%{_mandir}/man8/cgdisk.8* +%{_mandir}/man8/fixparts.8* +%{_mandir}/man8/gdisk.8* +%{_mandir}/man8/sgdisk.8* +%doc COPYING + +%changelog +* Sun Sep 13 2015 Silvan Calarco 1.0.0-1mamba +- package created using the webbuild interface