2007-10-29 22:38:52 +01:00
|
|
|
%define ver_progsreiserfs 0.3.1-rc8
|
2008-05-28 13:26:14 +02:00
|
|
|
%define ver_libewf 20080501
|
2007-10-29 22:38:52 +01:00
|
|
|
|
2009-04-12 11:45:17 +02:00
|
|
|
Summary: TestDisk checks and undeletes partitions, PhotoRec recovers lost files
|
2007-10-29 22:38:52 +01:00
|
|
|
Summary(pl.UTF8): Narzędzie sprawdzające i odzyskujące partycje
|
|
|
|
Summary(fr.UTF8): Outil pour vérifier et restorer des partitions
|
|
|
|
Summary(ru_RU.UTF8): Программа для проверки и восстановления разделов диска
|
|
|
|
Name: @PACKAGE@
|
|
|
|
Version: @VERSION@
|
|
|
|
Release: 1
|
|
|
|
License: GPLv2+
|
|
|
|
Group: Applications/System
|
|
|
|
Source0: http://www.cgsecurity.org/%{name}-%{version}.tar.bz2
|
|
|
|
Source1: progsreiserfs-%ver_progsreiserfs.tar.gz
|
2008-02-01 00:56:40 +01:00
|
|
|
Source3: libewf-%ver_libewf.tar.gz
|
2007-10-29 22:38:52 +01:00
|
|
|
Patch0: progsreiserfs-journal.patch
|
|
|
|
URL: http://www.cgsecurity.org/wiki/TestDisk
|
|
|
|
BuildRequires: ncurses-devel >= 5.2
|
|
|
|
BuildRequires: e2fsprogs-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
2008-02-01 00:56:40 +01:00
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRequires: openssl-devel
|
2008-04-02 23:49:41 +02:00
|
|
|
BuildRequires: ntfsprogs-devel
|
2007-10-29 22:38:52 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
%description
|
|
|
|
Tool to check and undelete partition. Works with FAT12, FAT16, FAT32,
|
|
|
|
NTFS, EXT2, EXT3, BeFS, CramFS, HFS, JFS, Linux Raid, Linux Swap,
|
|
|
|
LVM, LVM2, NSS, ReiserFS, UFS, XFS
|
2009-04-12 11:45:17 +02:00
|
|
|
PhotoRec is a signature based file recovery utility. It handles more than
|
|
|
|
100 file formats including jpg, MSOffice, OpenOffice documents.
|
2007-10-29 22:38:52 +01:00
|
|
|
|
|
|
|
%description -l pl.UTF8
|
|
|
|
Narzędzie sprawdzające i odzyskujące partycje. Pracuje z partycjami:
|
|
|
|
FAT12, FAT16, FAT32, NTFS, EXT2, EXT3, BeFS, CramFS, HFS, JFS, Linux Raid,
|
|
|
|
Linux Swap, LVM, LVM2, NSS, ReiserFS, UFS, XFS
|
|
|
|
|
|
|
|
%description -l fr.UTF8
|
2009-04-12 11:45:17 +02:00
|
|
|
TestDisk vérifie et récupère les partitions effacées. Fonctionne avec
|
2007-10-29 22:38:52 +01:00
|
|
|
FAT12, FAT16, FAT32, NTFS, EXT2, EXT3, BeFS, CramFS, HFS, JFS, Linux Raid,
|
|
|
|
Linux Swap, LVM, LVM2, NSS, ReiserFS, UFS, XFS
|
2009-04-12 11:45:17 +02:00
|
|
|
PhotoRec utilise un mécanisme de signature pour récupérer des fichiers perdus.
|
|
|
|
Il gère plus d'une centaine de formats de fichiers dont les jpeg, les documents
|
|
|
|
MSOffice ou OpenOffice.
|
2007-10-29 22:38:52 +01:00
|
|
|
|
|
|
|
%description -l ru_RU.UTF8
|
|
|
|
Программа для проверки и восстановления разделов диска.
|
|
|
|
Поддерживает следующие типы разделов:
|
|
|
|
FAT12, FAT16, FAT32, NTFS, EXT2, EXT3, BeFS, CramFS, HFS, JFS, Linux Raid,
|
|
|
|
Linux Swap, LVM, LVM2, NSS, ReiserFS, UFS, XFS
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q -a 1 -D
|
2008-02-01 00:56:40 +01:00
|
|
|
%setup -q -a 3 -D
|
2007-10-29 22:38:52 +01:00
|
|
|
%patch0
|
|
|
|
|
|
|
|
%build
|
|
|
|
(
|
|
|
|
cd progsreiserfs-%ver_progsreiserfs
|
|
|
|
%configure --disable-Werror
|
|
|
|
make
|
|
|
|
)
|
|
|
|
(
|
2008-02-01 00:56:40 +01:00
|
|
|
cd libewf-%ver_libewf
|
|
|
|
%configure
|
|
|
|
make lib
|
|
|
|
)
|
|
|
|
%configure \
|
|
|
|
--with-reiserfs-lib=${RPM_BUILD_DIR}/%{name}-%{version}/progsreiserfs-%ver_progsreiserfs/libreiserfs/.libs/ \
|
|
|
|
--with-reiserfs-includes=${RPM_BUILD_DIR}/%{name}-%{version}/progsreiserfs-%ver_progsreiserfs/include/ \
|
|
|
|
--with-dal-lib=${RPM_BUILD_DIR}/%{name}-%{version}/progsreiserfs-%ver_progsreiserfs/libdal/.libs/ \
|
|
|
|
--with-ewf-lib=${RPM_BUILD_DIR}/%{name}-%{version}/libewf-%{ver_libewf}/libewf/.libs/ \
|
|
|
|
--with-ewf-includes=${RPM_BUILD_DIR}/%{name}-%{version}/libewf-%{ver_libewf}/include/
|
2008-04-02 23:49:41 +02:00
|
|
|
make
|
2007-10-29 22:38:52 +01:00
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(644,root,root,755)
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README THANKS doc
|
2009-07-26 11:57:21 +02:00
|
|
|
%{_mandir}/man8/testdisk.8*
|
|
|
|
%{_mandir}/man8/photorec.8*
|
2007-10-29 22:38:52 +01:00
|
|
|
%attr(755,root,root) %{_sbindir}/testdisk
|
|
|
|
%attr(755,root,root) %{_sbindir}/photorec
|
|
|
|
%changelog
|
2008-07-17 18:58:55 +02:00
|
|
|
* Thu Jul 17 2008 Christophe Grenier <grenier@cgsecurity.org> 6.10-1
|
|
|
|
- 6.10
|
|
|
|
|
2007-10-29 22:38:52 +01:00
|
|
|
* Sun Jan 4 2004 Christophe Grenier <grenier@cgsecurity.org> 5.0
|
|
|
|
- 5.0
|
|
|
|
|
|
|
|
* Wed Oct 1 2003 Christophe Grenier <grenier@cgsecurity.org> 4.5
|
|
|
|
- 4.5
|
|
|
|
|
|
|
|
* Wed Apr 23 2003 Christophe Grenier <grenier@cgsecurity.org> 4.4-2
|
|
|
|
|
|
|
|
* Sat Mar 29 2003 Pascal Terjan <CMoi@tuxfamily.org> 4.4-1mdk
|
|
|
|
- 4.4
|
|
|
|
|
|
|
|
* Fri Dec 27 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 4.2-2mdk
|
|
|
|
- rebuild for rpm and glibc
|
|
|
|
|
|
|
|
* Sun Oct 06 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 4.2-1mdk
|
|
|
|
- 4.2
|
|
|
|
|
|
|
|
* Mon Sep 02 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 4.1-1mdk
|
|
|
|
- By Pascal Terjan <pascal.terjan@free.fr>
|
|
|
|
- first mdk release, adapted from PLD.
|
|
|
|
- gz to bz2 compression.
|
|
|
|
- fix %%tmppath
|
|
|
|
- %%make instead %%{__make}
|