gdisk/gdisk.spec

110 lines
3.1 KiB
RPMSpec
Raw Normal View History

2010-03-11 20:01:08 +00:00
Summary: An fdisk-like partitioning tool for GPT disks
Name: gdisk
2012-01-29 14:16:50 +00:00
Version: 0.8.2
Release: 1%{?dist}
2010-03-11 20:01:08 +00:00
License: GPLv2
URL: http://www.rodsbooks.com/gdisk/
Group: System Environment/Base
2011-07-10 10:19:31 +00:00
Source0: http://downloads.sourceforge.net/gptfdisk/gptfdisk-%{version}.tar.gz
2012-01-05 19:48:20 +00:00
Patch0: gptfdisk-0.8.1-gcc47.patch
2011-04-11 09:12:12 +00:00
BuildRequires: popt-devel
BuildRequires: libicu-devel
BuildRequires: libuuid-devel
2011-10-17 09:44:08 +00:00
BuildRequires: ncurses-devel
2010-03-11 20:01:08 +00:00
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
2011-04-11 09:12:12 +00:00
%setup -q -n gptfdisk-%{version}
2012-01-05 19:48:20 +00:00
%patch0 -p1
2011-10-17 10:02:39 +00:00
chmod 0644 gdisk_test.sh
2010-03-11 20:01:08 +00:00
%build
%{__make} CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64"
2010-03-11 20:01:08 +00:00
%install
%{__rm} -rf %{buildroot}
2011-10-17 10:02:39 +00:00
for f in gdisk sgdisk cgdisk fixparts ; do
%{__install} -D -p -m 0755 $f %{buildroot}%{_sbindir}/$f
%{__install} -D -p -m 0644 $f.8 %{buildroot}%{_mandir}/man8/$f.8
done
2010-03-11 20:01:08 +00:00
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, -)
2011-10-17 10:02:39 +00:00
%doc COPYING README gdisk_test.sh
2010-03-11 20:01:08 +00:00
%{_sbindir}/gdisk
2011-10-17 10:02:39 +00:00
%{_sbindir}/cgdisk
2010-03-11 20:01:08 +00:00
%{_sbindir}/sgdisk
2011-10-17 10:02:39 +00:00
%{_sbindir}/fixparts
2010-03-11 20:01:08 +00:00
%{_mandir}/man8/gdisk.8*
2011-10-17 10:02:39 +00:00
%{_mandir}/man8/cgdisk.8*
2010-03-11 20:01:08 +00:00
%{_mandir}/man8/sgdisk.8*
2011-10-17 10:02:39 +00:00
%{_mandir}/man8/fixparts.8*
2010-03-11 20:01:08 +00:00
%changelog
2012-01-29 14:16:50 +00:00
* Sun Jan 29 2012 Terje Rosten <terje.rosten@ntnu.no> - 0.8.2-1
- 0.8.2
2012-01-05 19:48:20 +00:00
* Thu Jan 05 2012 Terje Rosten <terje.rosten@ntnu.no> - 0.8.1-3
- Add patch to build with gcc 4.7
2011-10-17 10:02:39 +00:00
* Mon Oct 17 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.8.1-2
- Add cgdisk and fixparts
2011-10-17 09:36:43 +00:00
* Mon Oct 17 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.8.1-1
- 0.8.1
2011-10-17 09:44:08 +00:00
- Add ncurses-devel to buildreq
2011-10-17 09:36:43 +00:00
2011-09-08 15:28:04 +00:00
* Thu Sep 08 2011 Orion Poplawski <orion@cora.nwra.com> - 0.7.2-2
- Rebuild for libicu 4.8.1
2011-07-10 10:19:31 +00:00
* Sun Jul 10 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.7.2-1
- 0.7.2
2011-04-11 09:12:12 +00:00
* 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
2011-01-29 18:52:04 +00:00
* Sat Jan 29 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.6.14-1
- 0.6.14
2010-11-11 21:41:26 +00:00
* Thu Nov 11 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.13-1
- 0.6.13
2010-06-18 19:12:08 +00:00
* 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
2010-03-11 20:01:08 +00:00
- Fix source url
* Sun Feb 14 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.3-1
2010-03-11 20:01:08 +00:00
- 0.6.3
* Sun Jan 31 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.2-1
2010-03-11 20:01:08 +00:00
- 0.6.2
* Mon Jan 25 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.6.1-1
2010-03-11 20:01:08 +00:00
- 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