89 lines
2.6 KiB
RPMSpec
89 lines
2.6 KiB
RPMSpec
Summary: An fdisk-like partitioning tool for GPT disks
|
|
Name: gdisk
|
|
Version: 0.7.2
|
|
Release: 2%{?dist}
|
|
License: GPLv2
|
|
URL: http://www.rodsbooks.com/gdisk/
|
|
Group: System Environment/Base
|
|
Source0: http://downloads.sourceforge.net/gptfdisk/gptfdisk-%{version}.tar.gz
|
|
BuildRequires: popt-devel
|
|
BuildRequires: libicu-devel
|
|
BuildRequires: libuuid-devel
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
%description
|
|
An fdisk-like partitioning tool for GPT disks. GPT fdisk features a
|
|
command-line interface, fairly direct manipulation of partition table
|
|
structures, recovery tools to help you deal with corrupt partition
|
|
tables, and the ability to convert MBR disks to GPT format.
|
|
|
|
%prep
|
|
%setup -q -n gptfdisk-%{version}
|
|
|
|
%build
|
|
%{__make} CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64"
|
|
|
|
%install
|
|
%{__rm} -rf %{buildroot}
|
|
%{__install} -D -p -m 0755 gdisk %{buildroot}%{_sbindir}/gdisk
|
|
%{__install} -p -m 0755 sgdisk %{buildroot}%{_sbindir}/sgdisk
|
|
%{__install} -D -p -m 0644 gdisk.8 %{buildroot}%{_mandir}/man8/gdisk.8
|
|
%{__install} -p -m 0644 sgdisk.8 %{buildroot}/%{_mandir}/man8/sgdisk.8
|
|
|
|
%clean
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-, root, root, -)
|
|
%doc COPYING README
|
|
%{_sbindir}/gdisk
|
|
%{_sbindir}/sgdisk
|
|
%{_mandir}/man8/gdisk.8*
|
|
%{_mandir}/man8/sgdisk.8*
|
|
|
|
%changelog
|
|
* Thu Sep 08 2011 Orion Poplawski <orion@cora.nwra.com> - 0.7.2-2
|
|
- Rebuild for libicu 4.8.1
|
|
|
|
* Sun Jul 10 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.7.2-1
|
|
- 0.7.2
|
|
|
|
* Mon Apr 12 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.7.1-1
|
|
- 0.7.1
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.14-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Sat Jan 29 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.6.14-1
|
|
- 0.6.14
|
|
|
|
* Thu Nov 11 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.13-1
|
|
- 0.6.13
|
|
|
|
* Fri Jun 18 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.8-1
|
|
- 0.6.8
|
|
|
|
* Thu Mar 25 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.6-1
|
|
- 0.6.6
|
|
- Compile with -D_FILE_OFFSET_BITS=64, recommended upstream
|
|
|
|
* Sat Mar 20 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.5-1
|
|
- 0.6.5
|
|
- Add alignment patch (bz #575297)
|
|
|
|
* Thu Mar 11 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.3-2
|
|
- Fix source url
|
|
|
|
* Sun Feb 14 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.3-1
|
|
- 0.6.3
|
|
|
|
* Sun Jan 31 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.2-1
|
|
- 0.6.2
|
|
|
|
* Mon Jan 25 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.1-1
|
|
- 0.6.1
|
|
- add popt-devel to buildreq
|
|
- random clean up
|
|
|
|
* Fri Jan 15 2010 R Smith <rodsmith@rodsbooks.com> - 0.6.0
|
|
- created spec file for 0.6.0 release
|