Blame SPECS/gdisk.spec

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