a21f596
Summary:  A program for recovering corrupt partition tables.
a21f596
Name: gpart
a21f596
Version: 0.1h
61412dd
Release: 3
2b3d14a
ExclusiveArch: i386
a21f596
Source: http://www.stud.uni-hannover.de/user/76201/%{name}/%{name}-%{version}.tar.gz
a21f596
Patch0: gpart-0.1h-varname.patch
a21f596
Patch1: gpart-0.1h-cflags.patch
a21f596
Patch2: gpart-0.1h-errno.patch
61412dd
Patch3: gpart-0.1h-syscall.patch
3e604a8
BuildRequires: glibc-kernheaders
a21f596
a21f596
Buildroot: %{_tmppath}/%{name}-root
a21f596
License: GPL
a21f596
Group: Applications/System
a21f596
a21f596
%description
a21f596
Gpart is a small tool which tries to guess what partitions are on a PC
a21f596
type harddisk in case the primary partition table was damaged.
a21f596
a21f596
%prep
a21f596
%setup -q
a21f596
%patch0 -p1
a21f596
%patch1 -p1
a21f596
%patch2 -p1
61412dd
%patch3 -p1
a21f596
a21f596
%build
a21f596
make
a21f596
a21f596
%install
a21f596
rm -rf $RPM_BUILD_ROOT
a21f596
make bindir=${RPM_BUILD_ROOT}/usr/bin mandir=${RPM_BUILD_ROOT}/usr/share/man install
a21f596
a21f596
%clean
a21f596
rm -rf $RPM_BUILD_ROOT
a21f596
a21f596
%files
a21f596
%defattr(-,root,root)
a21f596
%doc COPYING Changes LSM README
a21f596
/usr/bin/gpart
a21f596
%{_mandir}/*/*
a21f596
a21f596
%changelog
61412dd
* Tue Jun 06 2006 Chris Lumens <clumens@redhat.com> 0.1h-3
61412dd
- Fix building on i386 by using the right syscall stuff.
61412dd
3e604a8
* Tue Jun 06 2006 Jesse Keating <jkeating@redhat.com> - 0.1h-2
3e604a8
- Added missing BR glibc-kernheaders
3e604a8
bba41bf
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.1h-1.2
bba41bf
- rebuilt for new gcc4.1 snapshot and glibc changes
bba41bf
91a3756
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
91a3756
- rebuilt
91a3756
2b3d14a
* Wed Jun 10 2005 Chris Lumens <clumens@redhat.com> 0.1h-1
a21f596
- Initial build.