File testdisk.spec of Package testdisk
Name: testdisk
Url: http://www.cgsecurity.org/wiki/TestDisk
License: GPL v2 or later
Group: Hardware/Camera
AutoReqProv: on
Summary: Tool to Check and Undelete Images and Partitions
Version: 6.13
Release: 0
Source0: testdisk-%version.tar.bz2
BuildRequires: libext2fs-devel libopenssl-devel libreiserfs-devel ncurses-devel
BuildRequires: libjpeg-devel libuuid-devel zlib-devel
%if 0%{?suse_version} == 1130
BuildRequires: ntfsprogs-devel
%endif
%if 0%{?suse_version} == 1140
BuildRequires: ntfsprogs-devel
%endif
%if 0%{?suse_version} == 1210
BuildRequires: libntfs-3g-devel
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
TestDisk is a powerful free data recovery program! It was primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally deleting your Partition Table).
PhotoRec is a File Recovery program designed to recover lost files; including video, documents and archives from Hard Disks, CDRom and lost pictures from digital camera memory (thus, its Photo Recovery name). PhotoRec ignores the filesystem and goes after the underlying data, so it can still find files even if your media's filesystem has been severely damaged or re-formatted (overwritten data, of course, can not be recovered).
%prep
%setup -qn testdisk-%version
%build
%configure
make
%install
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root, 0755)
%dir /usr/share/doc/testdisk-6.13
%doc /usr/share/doc/testdisk-6.13/*
%doc %{_mandir}/man8/fidentify.8*
%doc %{_mandir}/man8/photorec.8*
%doc %{_mandir}/man8/testdisk.8*
%{_bindir}/testdisk
%{_bindir}/photorec
%{_bindir}/fidentify
%changelog
* Thu Dec 29 2011 - Ramón Cantó (deabrufree@gmail.com)
- General Improvements:
+ Fix UAC manifests for Windows, so users don't need to use right-click "Run As Administrator"
+ TestDisk & PhotoRec are now compatible with both libewf and libewf2, the new version of a library to support the Expert Witness Compression Format (EWF).
- TestDisk
+ Fix image creation, image.dd file wasn't created (Regression introduced in 6.12)
+ Detect Vmware VMFS partition
+ Locate lost GFS2 partition but not yet the size
+ Log HDD serial number and firmware revision
+ List NTFS Alternate Data Streams (ADS)
- PhotoRec
+ Session recovery restarts at the previous location
+ Better MPEG recovery, there should be less concatenated videos.
+ Better JPG recovery, there should be less cases where thumbnails were recovered instead of the picture itself.
+ Handle large avi files using "AVIX" or mov files using 64-bit chunk size.
+ Rename recovered pdf using the title (not perfect)
+ Major cleanup of PhotoRec core code
+ New file formats: .caf Core Audio Format, .dardar3 archive, .ddf Didson Data File (v3 and v4), .gcs GCstart (personal collections manager), .gam Games Factory, .hdf Hierarchical Data Format 4, .hdr ENVI, .max 3ds, .oci OpenCanvas Image .oci, .par2 archive, .psmodel Delcam PowerSHAPE, .save Assassin's Creed II backup, .sh3d Sweet Home 3D, .TiVo video record, .vmg Nokia Text Message, .wpb OpenCanvas files