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