2024-01-05 23:21:39 +01:00
|
|
|
### AUTOUPDATE-OFF: 2
|
|
|
|
Name: gpart
|
2024-01-05 23:21:40 +01:00
|
|
|
Version: 0.3
|
2024-01-05 23:21:39 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A tool which tries to recover the primary partition table
|
|
|
|
Group: System/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.stud.uni-hannover.de/user/76201/gpart/
|
2024-01-05 23:21:40 +01:00
|
|
|
Source: https://github.com/baruch/gpart.git/%{version}/gpart-%{version}.tar.bz2
|
2024-01-05 23:21:39 +01:00
|
|
|
#Source: http://www.stud.uni-hannover.de/user/76201/gpart/%{name}-%{version}.tar.gz
|
|
|
|
Patch1: %{name}-errno.patch
|
|
|
|
Patch2: %{name}-0.1h-kernel-2.6.18.patch
|
|
|
|
Patch3: %{name}-0.1h-arm-x86_64_build.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Gpart is 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 (FAT 12/16/32)
|
|
|
|
* Linux ext2
|
|
|
|
* Linux swap partitions versions 0 and 1 (Linux >= v2.2.X)
|
|
|
|
* Linux LVM physical volume module (LVM by Heinz Mauelshagen)
|
|
|
|
* Reiser FS
|
|
|
|
* OS/2 HPFS
|
|
|
|
* Windows NT/2000 FS
|
|
|
|
* *BSD disklabels
|
|
|
|
* Solaris/x86 disklabels
|
|
|
|
* Minix FS
|
|
|
|
* SGI XFS on Linux
|
|
|
|
* BeOS filesystem
|
|
|
|
* QNX 4.x filesystem
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
%patch1 -p1
|
|
|
|
#%patch2 -p1
|
|
|
|
#%patch3 -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
./autogen.sh
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2024-01-05 23:21:40 +01:00
|
|
|
%{_sbindir}/gpart
|
2024-01-05 23:21:39 +01:00
|
|
|
%{_mandir}/man8/gpart.8*
|
|
|
|
%dir %{_datadir}/doc/gpart
|
2024-01-05 23:21:40 +01:00
|
|
|
%{_datadir}/doc/gpart/*
|
2024-01-05 23:21:39 +01:00
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:21:40 +01:00
|
|
|
* Sat Feb 27 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3-1mamba
|
|
|
|
- update to 0.3
|
|
|
|
|
2024-01-05 23:21:40 +01:00
|
|
|
* Sat Mar 21 2015 Automatic Build System <autodist@mambasoft.it> 0.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:21:39 +01:00
|
|
|
* Sun Jan 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.1-1mamba
|
|
|
|
- update to 0.2.1
|
|
|
|
|
|
|
|
* Sun Oct 02 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1h-4mamba
|
|
|
|
- specfile updated and rebuilt
|
|
|
|
|
|
|
|
* Mon Jun 12 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.1h-3qilnx
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu Feb 24 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1h-2qilnx
|
|
|
|
- fixed specfile Group entry
|
|
|
|
|
|
|
|
* Tue Oct 05 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1h-1qilnx
|
|
|
|
- package created by autospec
|