]> git.pld-linux.org Git - packages/gdisk.git/blob - gdisk.spec
rel 2; uuid and segv fixees from gentoo
[packages/gdisk.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:        0.8.7
5 Release:        9
6 License:        GPL v2
7 Group:          Base
8 Source0:        http://downloads.sourceforge.net/gptfdisk/gptfdisk-%{version}.tar.gz
9 # Source0-md5:  005b45c0b37c37a99024704fdb2ee610
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)
18
19 %description
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
24 format.
25
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
31 formatu GPT.
32
33 %prep
34 %setup -q -n gptfdisk-%{version}
35 %patch0 -p1
36
37 %build
38 %{__make} \
39         CXX="%{__cxx}" \
40         CXXFLAGS="%{rpmcxxflags} %{rpmcppflags} -D_FILE_OFFSET_BITS=64 -DUSE_UTF16 -I/usr/include/ncurses"
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
45 install -p gdisk sgdisk fixparts $RPM_BUILD_ROOT%{_sbindir}
46 cp -p gdisk.8 sgdisk.8 fixparts.8 $RPM_BUILD_ROOT%{_mandir}/man8
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc README NEWS
54 %attr(755,root,root) %{_sbindir}/fixparts
55 %attr(755,root,root) %{_sbindir}/gdisk
56 %attr(755,root,root) %{_sbindir}/sgdisk
57 %{_mandir}/man8/fixparts.8*
58 %{_mandir}/man8/gdisk.8*
59 %{_mandir}/man8/sgdisk.8*
This page took 0.065485 seconds and 3 git commands to generate.