File photorec.spec of Package photorec

#
# spec file for package photorec (Version 6.9)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           photorec
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.9
Release:        1
Source0:        http://www.cgsecurity.org/testdisk-%version.tar.bz2
BuildRequires:  libext2fs-devel libopenssl-devel libreiserfs-devel ncurses-devel
BuildRequires:  libjpeg-devel libuuid-devel ntfsprogs-devel zlib-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This package contains two recovery/ forensic tools:

TestDisk checks and recovers deleted partitions. It understands all
common filesystem formats.

PhotoRec is a file data recovery software designed to recover lost
files including video, documents and archives from hard disks and CD
Rom and lost pictures (Photo Recovery) from digital camera memory.
PhotoRec ignores the filesystem and goes after the underlying data, so
it works even if your media's filesystem is severely damaged or
reformatted.



Authors:
--------
    Christophe GRENIER grenier@cgsecurity.org

%prep
%setup -n testdisk-%version -q

%build
%configure
make

%install
make install DESTDIR=$RPM_BUILD_ROOT
# move back the documentation
mv $RPM_BUILD_ROOT/usr/share/doc/testdisk-%version/* .

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc AUTHORS ChangeLog NEWS README THANKS html
%{_prefix}/sbin/*
%{_prefix}/share/man/man*/*

%changelog
* Fri Feb 29 2008 ro@suse.de
- update to version 6.9:
  TestDisk & PhotoRec 6.9 comes with numerous improvements:
  - They are compatible with ntfsprogs 2.0, the latest library version for
  accessing NTFS partitions, e2fsprogs 1.40.6, the latest library for accessing
  ext2/ext3 partitions.
  - EFI GUID Partition Table is now supported. EFI GPT is mainly used on Itanium,
  MacBook and Mac Pro.
  - Both utilities can use sudo if the user is not root, this functionnality will
  be enabled for at least MacOSX, so users won't have to go into a command line.
  - Improved Windows disk support, most internal USB card reader should now work.
  - Disk model (ie. ATA ST3120026AS, _NEC DVD_RW ND-4550A...) are now reported
  under Linux.
- update to version 6.8:
  Version 6.8 is mainly a bugfix but some small improvements has been made to
  both TestDisk and PhotoRec:
  - Partition type is now autodetected.
  - TestDisk and PhotoRec can now be used under screen, the screen manager with
  VT100/ANSI terminal emulation.
* Fri Aug 03 2007 meissner@suse.de
- New package:
	- testdisk: recovers deleted partitions
	- photorec: recovers lost files (images, videos, etc.)
openSUSE Build Service is sponsored by