Sophie

Sophie

distrib > Mandriva > 2007.0 > x86_64 > by-pkgid > f0e0c80da4c3fdcb73ef6387d1a2e15b > files > 5

gpart-0.1h-6mdk.src.rpm

%define name gpart
%define version 0.1h
%define release 6mdk

Summary: Hard disk primary partition table reconstruction
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.bz2
Url: http://home.pages.de/~michab/gpart/
License: GPL
Group: System/Kernel and hardware
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
Patch0: gpart-0.1h-mdkconf.patch.bz2
Patch1: gpart-errno.patch.bz2
Patch2: gpart-0.1h-fixes.patch.bz2

%description
A tool which tries to guess the primary partition table of a PC-type
hard disk in case the primary partition table in sector 0 is damaged,
incorrect or deleted. The guessed table can be written to a file or
device. Supported (guessable) filesystem or partition types:
DOS/Windows FAT, Linux ext2 and swap, OS/2 HPFS, Windows NTFS, FreeBSD
and Solaris/x86 disklabels, Minix FS, QNX 4 FS, Reiser FS, LVM
physical volumes, BeOS FS, SGI XFS.


%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1 -b .fixes

%build
%make 

%install
rm -rf $RPM_BUILD_ROOT
make install prefix=%buildroot/%{prefix} mandir=%buildroot/%{_mandir}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/%{name}
%{_mandir}/*/*

%changelog
* Wed Feb 02 2005 Lenny Cartier <lenny@mandrakesoft.com> 0.1h-6mdk
- rebuild

* Wed Aug 13 2003 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.1h-5mdk
- Patch2: Portability fixes to 64-bit & big-endian platforms

* Mon Apr 28 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.1h-4mdk
- patch1: gpart-errno.patch

* Thu Aug 29 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.1h-3mdk
- rebuild

* Thu Jul 19 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.1h-2mdk
- rebuild

* Sun Feb 18 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.1h-1mdk
- First mandrake version.

# end of file