Package init
This commit is contained in:
commit
bbc8216744
49
gdisk.spec
Normal file
49
gdisk.spec
Normal file
@ -0,0 +1,49 @@
|
||||
Name: gdisk
|
||||
Version: 1.0.4
|
||||
Release: 4
|
||||
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 libuuid-devel gcc-c++ popt-devel git
|
||||
|
||||
%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
|
||||
* Tue Aug 27 2019 openEuler wubo<wubo40@openeuler.org> - 1.0.4.4
|
||||
- Created spec file for 1.0.4.4 release
|
||||
BIN
gptfdisk-1.0.4.tar.gz
Normal file
BIN
gptfdisk-1.0.4.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user