]> git.pld-linux.org Git - packages/gdisk.git/blame - gdisk.spec
- release 2
[packages/gdisk.git] / gdisk.spec
CommitLineData
e057bdb6
ER
1Summary: An fdisk-like partitioning tool for GPT disks
2Name: gdisk
3Version: 0.7.2
4897cdfa 4Release: 2
e057bdb6
ER
5License: GPL v2
6Group: Base
7URL: http://www.rodsbooks.com/gdisk/
8Source0: http://downloads.sourceforge.net/gptfdisk/gptfdisk-%{version}.tar.gz
598dda22 9# Source0-md5: 31deeb7acb5104d56ba2ddeafd907513
e057bdb6 10BuildRequires: libicu-devel
8b98eefa 11BuildRequires: libstdc++-devel
e057bdb6
ER
12BuildRequires: libuuid-devel
13BuildRequires: popt-devel
e057bdb6
ER
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17An fdisk-like partitioning tool for GPT disks. GPT fdisk features a
18command-line interface, fairly direct manipulation of partition table
19structures, recovery tools to help you deal with corrupt partition
20tables, 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
31rm -rf $RPM_BUILD_ROOT
32install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
8b98eefa
ER
33install -p gdisk sgdisk fixparts $RPM_BUILD_ROOT%{_sbindir}
34cp -p gdisk.8 sgdisk.8 fixparts.8 $RPM_BUILD_ROOT%{_mandir}/man8
e057bdb6
ER
35
36%clean
37rm -rf $RPM_BUILD_ROOT
38
39%files
40%defattr(644,root,root,755)
8b98eefa
ER
41%doc README NEWS
42%attr(755,root,root) %{_sbindir}/fixparts
e057bdb6
ER
43%attr(755,root,root) %{_sbindir}/gdisk
44%attr(755,root,root) %{_sbindir}/sgdisk
8b98eefa 45%{_mandir}/man8/fixparts.8*
e057bdb6
ER
46%{_mandir}/man8/gdisk.8*
47%{_mandir}/man8/sgdisk.8*
This page took 0.072511 seconds and 4 git commands to generate.