Blob Blame History Raw
Summary:  A program for recovering corrupt partition tables.
Name: gpart
Version: 0.1h
Release: 1.1
ExclusiveArch: i386
Source: http://www.stud.uni-hannover.de/user/76201/%{name}/%{name}-%{version}.tar.gz
Patch0: gpart-0.1h-varname.patch
Patch1: gpart-0.1h-cflags.patch
Patch2: gpart-0.1h-errno.patch

Buildroot: %{_tmppath}/%{name}-root
License: GPL
Group: Applications/System

%description
Gpart is a small tool which tries to guess what partitions are on a PC
type harddisk in case the primary partition table was damaged.

%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1

%build
make

%install
rm -rf $RPM_BUILD_ROOT
make bindir=${RPM_BUILD_ROOT}/usr/bin mandir=${RPM_BUILD_ROOT}/usr/share/man install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc COPYING Changes LSM README
/usr/bin/gpart
%{_mandir}/*/*

%changelog
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt

* Wed Jun 10 2005 Chris Lumens <clumens@redhat.com> 0.1h-1
- Initial build.