1 Summary: An fdisk-like partitioning tool for GPT disks
2 Summary(pl.UTF-8): Podobne do fdiska narzędzie do partycjonowania dysków GPT
8 Source0: http://downloads.sourceforge.net/gptfdisk/gptfdisk-%{version}.tar.gz
9 # Source0-md5: 07b625a583b66c8c5840be5923f3e3fe
10 Patch0: %{name}-link.patch
11 URL: http://www.rodsbooks.com/gdisk/
12 #BuildRequires: libicu-devel
13 BuildRequires: libstdc++-devel
14 BuildRequires: libuuid-devel
15 BuildRequires: ncurses-devel
16 BuildRequires: popt-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 GPT fdisk (gdisk) is an fdisk-like partitioning tool for GPT disks.
21 It features a command-line interface, fairly direct manipulation of
22 partition table structures, recovery tools to help you deal with
23 corrupt partition tables, and the ability to convert MBR disks to GPT
26 %description -l pl.UTF-8
27 GPT fdisk (gdisk) to podobne do fdiska narzędzie do partycjonowania
28 dysków GPT. Ma interfejs linii poleceń, w miarę bezpośrednie operacje
29 na strukturach tablicy partycji, narzędzia pomagające przy naprawie
30 uszkodzonych tablic partycji oraz możliwość konwersji dysków MBR do
34 %setup -q -n gptfdisk-%{version}
35 # since 0.8.9 libicu for UTF-16 support is optional
41 CXXFLAGS="%{rpmcxxflags} %{rpmcppflags} -D_FILE_OFFSET_BITS=64"
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
47 install fixparts *gdisk $RPM_BUILD_ROOT%{_sbindir}
48 install -p *.8 $RPM_BUILD_ROOT%{_mandir}/man8
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
55 %doc NEWS README *.html
56 %attr(755,root,root) %{_sbindir}/fixparts
57 %attr(755,root,root) %{_sbindir}/*gdisk
58 %{_mandir}/man8/fixparts.8*
59 %{_mandir}/man8/*gdisk.8*