summaryrefslogtreecommitdiff
path: root/current.spec
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2010-02-21 13:31:46 -0500
committersrs5694 <srs5694@users.sourceforge.net>2010-02-21 13:31:46 -0500
commit3b29c89bb5a5e39bfa81ffeb943be6028e298150 (patch)
tree3f218ca771049a3963efadca8b86999fa2073716 /current.spec
parent825c264cf5bdeb48370e5f3999f1812ecddcb56d (diff)
downloadsgdisk-3b29c89bb5a5e39bfa81ffeb943be6028e298150.tar.gz
Added Mac-specific Makefile (Makefile.mac) and RPM-building current.spec
file.
Diffstat (limited to 'current.spec')
-rw-r--r--current.spec44
1 files changed, 44 insertions, 0 deletions
diff --git a/current.spec b/current.spec
new file mode 100644
index 0000000..707d7b5
--- /dev/null
+++ b/current.spec
@@ -0,0 +1,44 @@
+Summary: An fdisk-like partitioning tool for GPT disks
+Name: gdisk
+Version: 0.6.4
+Release: 1%{?dist}
+License: GPLv2
+URL: http://www.rodsbooks.com/gdisk
+Group: Applications/System
+Source: http://www.rodsbooks.com/gdisk/gdisk-0.6.4.tgz
+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
+
+%build
+make CFLAGS="$RPM_OPT_FLAGS"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/sbin
+install -Dp -m0755 gdisk $RPM_BUILD_ROOT/sbin
+install -Dp -m0755 sgdisk $RPM_BUILD_ROOT/sbin
+install -Dp -m0644 gdisk.8 $RPM_BUILD_ROOT/%{_mandir}/man8/gdisk.8
+install -Dp -m0644 sgdisk.8 $RPM_BUILD_ROOT/%{_mandir}/man8/sgdisk.8
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root -)
+%doc CHANGELOG COPYING README
+/sbin/gdisk
+/sbin/sgdisk
+%doc %{_mandir}/man8*
+
+%changelog
+* Fri Feb 19 2010 R Smith <rodsmith@rodsbooks.com> - 0.6.4
+- Created spec file for 0.6.4 release