]> git.pld-linux.org Git - packages/gdisk.git/blob - gdisk.spec
- release 2
[packages/gdisk.git] / gdisk.spec
1 Summary:        An fdisk-like partitioning tool for GPT disks
2 Name:           gdisk
3 Version:        0.7.2
4 Release:        2
5 License:        GPL v2
6 Group:          Base
7 URL:            http://www.rodsbooks.com/gdisk/
8 Source0:        http://downloads.sourceforge.net/gptfdisk/gptfdisk-%{version}.tar.gz
9 # Source0-md5:  31deeb7acb5104d56ba2ddeafd907513
10 BuildRequires:  libicu-devel
11 BuildRequires:  libstdc++-devel
12 BuildRequires:  libuuid-devel
13 BuildRequires:  popt-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 An fdisk-like partitioning tool for GPT disks. GPT fdisk features a
18 command-line interface, fairly direct manipulation of partition table
19 structures, recovery tools to help you deal with corrupt partition
20 tables, and the ability to convert MBR disks to GPT format.
21
22 %prep
23 %setup -q -n gptfdisk-%{version}
24
25 %build
26 %{__make} \
27         CXX="%{__cxx}" \
28         CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64"
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
33 install -p gdisk sgdisk fixparts $RPM_BUILD_ROOT%{_sbindir}
34 cp -p gdisk.8 sgdisk.8 fixparts.8 $RPM_BUILD_ROOT%{_mandir}/man8
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %files
40 %defattr(644,root,root,755)
41 %doc README NEWS
42 %attr(755,root,root) %{_sbindir}/fixparts
43 %attr(755,root,root) %{_sbindir}/gdisk
44 %attr(755,root,root) %{_sbindir}/sgdisk
45 %{_mandir}/man8/fixparts.8*
46 %{_mandir}/man8/gdisk.8*
47 %{_mandir}/man8/sgdisk.8*
This page took 0.035531 seconds and 3 git commands to generate.