]>
Commit | Line | Data |
---|---|---|
e057bdb6 | 1 | Summary: An fdisk-like partitioning tool for GPT disks |
cae4a82d | 2 | Summary(pl.UTF-8): Podobne do fdiska narzędzie do partycjonowania dysków GPT |
e057bdb6 | 3 | Name: gdisk |
ddc4ec72 | 4 | Version: 1.0.5 |
a8485950 | 5 | Release: 1 |
e057bdb6 ER |
6 | License: GPL v2 |
7 | Group: Base | |
e057bdb6 | 8 | Source0: http://downloads.sourceforge.net/gptfdisk/gptfdisk-%{version}.tar.gz |
ddc4ec72 | 9 | # Source0-md5: 58dac67c85e46ca87b587231549aefe6 |
f2927066 | 10 | URL: http://www.rodsbooks.com/gdisk/ |
8b98eefa | 11 | BuildRequires: libstdc++-devel |
e057bdb6 | 12 | BuildRequires: libuuid-devel |
f2927066 | 13 | BuildRequires: ncurses-devel |
e057bdb6 | 14 | BuildRequires: popt-devel |
e057bdb6 ER |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
cae4a82d JB |
18 | GPT fdisk (gdisk) is an fdisk-like partitioning tool for GPT disks. |
19 | It features a command-line interface, fairly direct manipulation of | |
20 | partition table structures, recovery tools to help you deal with | |
21 | corrupt partition tables, and the ability to convert MBR disks to GPT | |
22 | format. | |
23 | ||
24 | %description -l pl.UTF-8 | |
25 | GPT fdisk (gdisk) to podobne do fdiska narzędzie do partycjonowania | |
26 | dysków GPT. Ma interfejs linii poleceń, w miarę bezpośrednie operacje | |
27 | na strukturach tablicy partycji, narzędzia pomagające przy naprawie | |
28 | uszkodzonych tablic partycji oraz możliwość konwersji dysków MBR do | |
29 | formatu GPT. | |
e057bdb6 ER |
30 | |
31 | %prep | |
32 | %setup -q -n gptfdisk-%{version} | |
33 | ||
34 | %build | |
35 | %{__make} \ | |
36 | CXX="%{__cxx}" \ | |
a8485950 | 37 | CXXFLAGS="%{rpmcxxflags} %{rpmcppflags} -D_FILE_OFFSET_BITS=64" |
e057bdb6 ER |
38 | |
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} | |
a8485950 TP |
42 | |
43 | install fixparts *gdisk $RPM_BUILD_ROOT%{_sbindir} | |
44 | install -p *.8 $RPM_BUILD_ROOT%{_mandir}/man8 | |
e057bdb6 ER |
45 | |
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
a8485950 | 51 | %doc NEWS README *.html |
9c73dbf8 | 52 | %attr(755,root,root) %{_sbindir}/cgdisk |
8b98eefa | 53 | %attr(755,root,root) %{_sbindir}/fixparts |
9c73dbf8 JB |
54 | %attr(755,root,root) %{_sbindir}/gdisk |
55 | %attr(755,root,root) %{_sbindir}/sgdisk | |
56 | %{_mandir}/man8/cgdisk.8* | |
8b98eefa | 57 | %{_mandir}/man8/fixparts.8* |
9c73dbf8 JB |
58 | %{_mandir}/man8/gdisk.8* |
59 | %{_mandir}/man8/sgdisk.8* |