current.spec revision 55d926192adc984462509b2966e23bc0d1129bbd
1Summary: An fdisk-like partitioning tool for GPT disks 2Name: gdisk 3Version: 0.6.5 4Release: 1%{?dist} 5License: GPLv2 6URL: http://www.rodsbooks.com/gdisk 7Group: Applications/System 8Source: http://www.rodsbooks.com/gdisk/gdisk-0.6.5.tgz 9BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) 10 11%description 12An fdisk-like partitioning tool for GPT disks. GPT 13fdisk features a command-line interface, fairly direct 14manipulation of partition table structures, recovery 15tools to help you deal with corrupt partition tables, 16and the ability to convert MBR disks to GPT format. 17 18%prep 19%setup -q 20 21%build 22make CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_CXX_FLAGS" 23 24%install 25rm -rf $RPM_BUILD_ROOT 26mkdir -p $RPM_BUILD_ROOT/sbin 27install -Dp -m0755 gdisk $RPM_BUILD_ROOT/sbin 28install -Dp -m0755 sgdisk $RPM_BUILD_ROOT/sbin 29install -Dp -m0644 gdisk.8 $RPM_BUILD_ROOT/%{_mandir}/man8/gdisk.8 30install -Dp -m0644 sgdisk.8 $RPM_BUILD_ROOT/%{_mandir}/man8/sgdisk.8 31 32%clean 33rm -rf $RPM_BUILD_ROOT 34 35%files 36%defattr(-,root,root -) 37%doc CHANGELOG COPYING README 38/sbin/gdisk 39/sbin/sgdisk 40%doc %{_mandir}/man8* 41 42%changelog 43* Sun Mar 7 2010 R Smith <rodsmith@rodsbooks.com> - 0.6.5 44- Created spec file for 0.6.5 release 45