]>
Commit | Line | Data |
---|---|---|
3100d6ef | 1 | Summary: Tool to check and undelete partition |
af595b49 ER |
2 | Summary(fr.UTF-8): Outil pour vérifier et restorer des partitions |
3 | Summary(pl.UTF-8): Narzędzie sprawdzające i odzyskujące partycje | |
4 | Summary(ru.UTF-8): Программа для проверки и восстановления разделов диска | |
3100d6ef | 5 | Name: testdisk |
f66c35b8 | 6 | Version: 6.11 |
7 | Release: 1 | |
564f4c4f | 8 | License: GPL v2 |
3100d6ef | 9 | Group: Applications/System |
35158fdf | 10 | Source0: http://www.cgsecurity.org/%{name}-%{version}.tar.bz2 |
f66c35b8 | 11 | # Source0-md5: 11f8fe95dcd190b69b782efa65b29ba1 |
3fa106c5 | 12 | Patch0: %{name}-ac.patch |
3100d6ef | 13 | URL: http://www.cgsecurity.org/testdisk.html |
3fa106c5 | 14 | BuildRequires: autoconf >= 2.59 |
30223266 | 15 | BuildRequires: automake |
c67cb76c | 16 | BuildRequires: e2fsprogs-devel |
14e7ee74 | 17 | BuildRequires: libewf-devel |
c2c59894 | 18 | BuildRequires: libjpeg-devel |
bbbba36d | 19 | BuildRequires: ncurses-devel >= 5.2 |
bcfc22c6 | 20 | BuildRequires: ntfsprogs-devel >= 1.13.1 |
026550ae | 21 | BuildRequires: progsreiserfs-devel >= 0.3.1-1.rc8.1 |
3100d6ef | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
b16d1d06 | 25 | Tool to check and undelete partition. Works with the following |
3100d6ef | 26 | partitions: |
14e7ee74 | 27 | - DOS/Windows FAT12, FAT16, FAT32 |
c99554aa | 28 | - Linux Ext2, Ext3 |
14e7ee74 JB |
29 | - Linux Swap (version 1 and 2) |
30 | - Linux RAID | |
c99554aa | 31 | - LVM and LVM2, Linux Logical Volume Manager |
3100d6ef | 32 | - BeFS (BeOS) |
c99554aa | 33 | - BSD disklabel (FreeBSD/OpenBSD/NetBSD) |
34 | - CramFS (Compressed File System) | |
14e7ee74 | 35 | - HFS and HFS+, Hierarchical File System |
c99554aa | 36 | - JFS, IBM's Journaled File System |
37 | - Netware NSS | |
38 | - NTFS (Windows NT/2k/XP) | |
14e7ee74 JB |
39 | - ReiserFS 3.5, 3.6, 4 |
40 | - Sun Solaris i386 disklabel | |
41 | - UFS, UFS2 (Sun/BSD/...) | |
42 | - XFS, SGI's Journaled File System | |
c99554aa | 43 | |
1aedbc0d JR |
44 | %description -l fr.UTF-8 |
45 | Outil pour vérifier et restorer des partitions. Fonctionne avec les | |
c99554aa | 46 | partitions suivantes: |
14e7ee74 | 47 | - DOS/Windows FAT12, FAT16, FAT32 |
c99554aa | 48 | - Linux Ext2, Ext3 |
14e7ee74 JB |
49 | - Linux Swap (version 1 and 2) |
50 | - Linux RAID | |
51 | - LVM/LVM2, Linux Logical Volume Manager | |
c99554aa | 52 | - BeFS (BeOS) |
53 | - BSD disklabel (FreeBSD/OpenBSD/NetBSD) | |
54 | - CramFS (Compressed File System) | |
14e7ee74 | 55 | - HFS/HFS+, Hierarchical File System |
c99554aa | 56 | - JFS, IBM's Journaled File System |
57 | - Netware NSS | |
58 | - NTFS (Windows NT/2k/XP) | |
14e7ee74 JB |
59 | - ReiserFS 3.5, 3.6, 4 |
60 | - Sun Solaris i386 disklabel | |
61 | - UFS, UFS2 (Sun/BSD/...) | |
62 | - XFS, SGI's Journaled File System | |
3100d6ef | 63 | |
1aedbc0d JR |
64 | %description -l pl.UTF-8 |
65 | Narzędzie sprawdzające i odzyskujące partycje. Pracuje z partycjami: | |
14e7ee74 | 66 | - DOS/Windows FAT12, FAT16, FAT32 |
c99554aa | 67 | - Linux Ext2, Ext3 |
14e7ee74 JB |
68 | - Linux Swap (version 1 and 2) |
69 | - Linux RAID | |
70 | - LVM i LVM2 - Linux Logical Volume Manager | |
c99554aa | 71 | - BeFS (BeOS) |
72 | - BSD disklabel (FreeBSD/OpenBSD/NetBSD) | |
73 | - CramFS (Compressed File System) | |
14e7ee74 JB |
74 | - HFS i HFS+ - Hierarchical File System |
75 | - JFS - IBM's Journaled File System | |
c99554aa | 76 | - Netware NSS |
77 | - NTFS (Windows NT/2k/XP) | |
14e7ee74 JB |
78 | - ReiserFS 3.5, 3.6, 4 |
79 | - Sun Solaris i386 disklabel | |
80 | - UFS, UFS2 (Sun/BSD/...) | |
81 | - XFS - SGI's Journaled File System | |
c99554aa | 82 | |
1aedbc0d JR |
83 | %description -l ru.UTF-8 |
84 | Программа для проверки и восстановления разделов диска. Поддерживает | |
85 | следующие типы разделов: | |
14e7ee74 | 86 | - DOS/Windows FAT12, FAT16, FAT32 |
c99554aa | 87 | - Linux Ext2, Ext3 |
14e7ee74 JB |
88 | - Linux Swap (version 1 and 2) |
89 | - Linux RAID | |
90 | - LVM/LVM2, Linux Logical Volume Manager | |
3100d6ef | 91 | - BeFS (BeOS) |
c99554aa | 92 | - BSD disklabel (FreeBSD/OpenBSD/NetBSD) |
93 | - CramFS (Compressed File System) | |
14e7ee74 | 94 | - HFS/HFS+, Hierarchical File System |
c99554aa | 95 | - JFS, IBM's Journaled File System |
96 | - Netware NSS | |
97 | - NTFS (Windows NT/2k/XP) | |
14e7ee74 JB |
98 | - ReiserFS 3.5, 3.6, 4 |
99 | - Sun Solaris i386 disklabel | |
100 | - UFS, UFS2 (Sun/BSD/...) | |
101 | - XFS - SGI's Journaled File System | |
3100d6ef | 102 | |
103 | %prep | |
35158fdf | 104 | %setup -q |
3fa106c5 | 105 | %patch0 -p1 |
3100d6ef | 106 | |
107 | %build | |
9986e39b | 108 | %{__aclocal} |
109 | %{__autoconf} | |
110 | %{__autoheader} | |
111 | %{__automake} | |
112 | %configure | |
113 | %{__make} \ | |
67d3453f | 114 | CC="%{__cc}" \ |
9986e39b | 115 | CFLAGS="%{rpmcflags}" |
3100d6ef | 116 | |
117 | %install | |
118 | rm -rf $RPM_BUILD_ROOT | |
c99554aa | 119 | install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1} |
3100d6ef | 120 | |
bbbba36d | 121 | install src/testdisk $RPM_BUILD_ROOT%{_sbindir} |
2a6049ae | 122 | install src/photorec $RPM_BUILD_ROOT%{_sbindir} |
c99554aa | 123 | install doc_src/*.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
3100d6ef | 124 | |
125 | %clean | |
126 | rm -rf $RPM_BUILD_ROOT | |
127 | ||
128 | %files | |
129 | %defattr(644,root,root,755) | |
9986e39b | 130 | %doc AUTHORS ChangeLog INFO NEWS README THANKS doc/*.html doc/*.gif |
c99554aa | 131 | %{_mandir}/man1/*.1* |
2a6049ae | 132 | %attr(755,root,root) %{_sbindir}/* |