]> 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:        1.0.3
5 Release:        1
6 License:        GPL v2
7 Group:          Base
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)
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 # since 0.8.9 libicu for UTF-16 support is optional
36 #%patch0 -p1
37
38 %build
39 %{__make} \
40         CXX="%{__cxx}" \
41         CXXFLAGS="%{rpmcxxflags} %{rpmcppflags} -D_FILE_OFFSET_BITS=64"
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
46
47 install fixparts *gdisk $RPM_BUILD_ROOT%{_sbindir}
48 install -p *.8 $RPM_BUILD_ROOT%{_mandir}/man8
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
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*
This page took 0.08135 seconds and 3 git commands to generate.