%define name gpart %define version 0.1h %define release 3mdk 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} Patch: gpart-0.1h-mdkconf.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 %patch -p1 %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 * 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