5bf875
Summary:       An fdisk-like partitioning tool for GPT disks
5bf875
Name:          gdisk
5bf875
Version:       0.8.10
5bf875
Release:       2%{?dist}
5bf875
License:       GPLv2
5bf875
URL:           http://www.rodsbooks.com/gdisk/
5bf875
Group:         System Environment/Base
5bf875
Source0:       http://downloads.sourceforge.net/gptfdisk/gptfdisk-%{version}.tar.gz
5bf875
5bf875
BuildRequires: popt-devel
5bf875
BuildRequires: libuuid-devel
5bf875
BuildRequires: ncurses-devel
5bf875
BuildRoot:     %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
5bf875
%description
5bf875
An fdisk-like partitioning tool for GPT disks. GPT fdisk features a
5bf875
command-line interface, fairly direct manipulation of partition table
5bf875
structures, recovery tools to help you deal with corrupt partition
5bf875
tables, and the ability to convert MBR disks to GPT format.
5bf875
5bf875
%prep
5bf875
%setup -q -n gptfdisk-%{version}
5bf875
chmod 0644 gdisk_test.sh
5bf875
5bf875
%build
5bf875
%{__make} CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64"
5bf875
5bf875
%install
5bf875
%{__rm} -rf %{buildroot}
5bf875
for f in gdisk sgdisk cgdisk fixparts ; do 
5bf875
    %{__install} -D -p -m 0755 $f %{buildroot}%{_sbindir}/$f
5bf875
    %{__install} -D -p -m 0644 $f.8 %{buildroot}%{_mandir}/man8/$f.8
5bf875
done
5bf875
5bf875
%clean
5bf875
%{__rm} -rf %{buildroot}
5bf875
5bf875
%files
5bf875
%defattr(-, root, root, -)
5bf875
%doc COPYING README gdisk_test.sh
5bf875
%{_sbindir}/gdisk
5bf875
%{_sbindir}/cgdisk
5bf875
%{_sbindir}/sgdisk
5bf875
%{_sbindir}/fixparts
5bf875
%{_mandir}/man8/gdisk.8*
5bf875
%{_mandir}/man8/cgdisk.8*
5bf875
%{_mandir}/man8/sgdisk.8*
5bf875
%{_mandir}/man8/fixparts.8*
5bf875
5bf875
%changelog
5bf875
* Mon May 28 2018 Nikola Forró <nforro@redhat.com> - 0.8.10-2
5bf875
- Remove libicu build dependency
5bf875
5bf875
* Tue Jan 30 2018 Nikola Forró <nforro@redhat.com> - 0.8.10-1
5bf875
- Update to 0.8.10 (#1540008)
5bf875
5bf875
* Fri Oct 03 2014 Tomas Bzatek <tbzatek@redhat.com> - 0.8.6-5
5bf875
- Fix sgdisk alignment code (#1087353)
5bf875
5bf875
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.8.6-4
5bf875
- Mass rebuild 2014-01-24
5bf875
5bf875
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.8.6-3
5bf875
- Mass rebuild 2013-12-27
5bf875
5bf875
* Thu Sep 26 2013 Tomas Bzatek <tbzatek@redhat.com> - 0.8.6-2
5bf875
- Range check -i option (#1007761)
5bf875
5bf875
* Fri Jan 25 2013 Orion Poplawski <orion@cora.nwra.com> - 0.8.6-1
5bf875
- Update to 0.8.6
5bf875
5bf875
* Sat Nov 17 2012 Terje Rosten <terje.rosten@ntnu.no> - 0.8.5-1
5bf875
- 0.8.5
5bf875
5bf875
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.4-2
5bf875
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5bf875
5bf875
* Mon Apr 23 2012 Terje Rosten <terje.rosten@ntnu.no> - 0.8.4-1
5bf875
- 0.8.4
5bf875
5bf875
* Sat Apr 21 2012 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.8.2-3
5bf875
- Rebuild for libicu 49.1.1
5bf875
5bf875
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-2
5bf875
- Rebuilt for c++ ABI breakage
5bf875
5bf875
* Sun Jan 29 2012 Terje Rosten <terje.rosten@ntnu.no> - 0.8.2-1
5bf875
- 0.8.2
5bf875
5bf875
* Thu Jan 05 2012 Terje Rosten <terje.rosten@ntnu.no> - 0.8.1-3
5bf875
- Add patch to build with gcc 4.7
5bf875
5bf875
* Mon Oct 17 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.8.1-2
5bf875
- Add cgdisk and fixparts
5bf875
5bf875
* Mon Oct 17 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.8.1-1
5bf875
- 0.8.1
5bf875
- Add ncurses-devel to buildreq
5bf875
5bf875
* Thu Sep 08 2011 Orion Poplawski <orion@cora.nwra.com> - 0.7.2-2
5bf875
- Rebuild for libicu 4.8.1
5bf875
5bf875
* Sun Jul 10 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.7.2-1
5bf875
- 0.7.2
5bf875
5bf875
* Mon Apr 12 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.7.1-1
5bf875
- 0.7.1
5bf875
5bf875
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.14-2
5bf875
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5bf875
5bf875
* Sat Jan 29 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.6.14-1
5bf875
- 0.6.14
5bf875
5bf875
* Thu Nov 11 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.13-1
5bf875
- 0.6.13
5bf875
5bf875
* Fri Jun 18 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.8-1
5bf875
- 0.6.8
5bf875
5bf875
* Thu Mar 25 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.6-1
5bf875
- 0.6.6
5bf875
- Compile with -D_FILE_OFFSET_BITS=64, recommended upstream
5bf875
5bf875
* Sat Mar 20 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.5-1
5bf875
- 0.6.5
5bf875
- Add alignment patch (bz #575297)
5bf875
5bf875
* Thu Mar 11 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.3-2
5bf875
- Fix source url
5bf875
5bf875
* Sun Feb 14 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.3-1
5bf875
- 0.6.3
5bf875
5bf875
* Sun Jan 31 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.2-1
5bf875
- 0.6.2
5bf875
5bf875
* Mon Jan 25 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.1-1
5bf875
- 0.6.1
5bf875
- add popt-devel to buildreq
5bf875
- random clean up
5bf875
5bf875
* Fri Jan 15 2010 R Smith <rodsmith@rodsbooks.com> - 0.6.0
5bf875
- created spec file for 0.6.0 release