]> git.pld-linux.org Git - SPECS.git/blob - gdisk.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / gdisk.spec
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
3 Name:           gdisk
4 Version:        1.0.7
5 Release:        1
6 License:        GPL v2
7 Group:          Base
8 Source0:        https://downloads.sourceforge.net/gptfdisk/gptfdisk-%{version}.tar.gz
9 # Source0-md5:  9ce09147b75866ac1877d417092d21e4
10 URL:            http://www.rodsbooks.com/gdisk/
11 BuildRequires:  libstdc++-devel
12 BuildRequires:  libuuid-devel
13 BuildRequires:  ncurses-devel
14 BuildRequires:  popt-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
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.
30
31 %prep
32 %setup -q -n gptfdisk-%{version}
33
34 %build
35 %{__make} \
36         CXX="%{__cxx}" \
37         CXXFLAGS="%{rpmcxxflags} %{rpmcppflags} -D_FILE_OFFSET_BITS=64"
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
42
43 install fixparts *gdisk $RPM_BUILD_ROOT%{_sbindir}
44 install -p *.8 $RPM_BUILD_ROOT%{_mandir}/man8
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc NEWS README *.html
52 %attr(755,root,root) %{_sbindir}/cgdisk
53 %attr(755,root,root) %{_sbindir}/fixparts
54 %attr(755,root,root) %{_sbindir}/gdisk
55 %attr(755,root,root) %{_sbindir}/sgdisk
56 %{_mandir}/man8/cgdisk.8*
57 %{_mandir}/man8/fixparts.8*
58 %{_mandir}/man8/gdisk.8*
59 %{_mandir}/man8/sgdisk.8*
This page took 0.231182 seconds and 3 git commands to generate.