[521] | 1 | %define ver_progsreiserfs 0.3.1-rc8 |
---|
[2314] | 2 | %define ver_ntfsprogs 2.0.0 |
---|
[521] | 3 | |
---|
| 4 | Summary: Tool to check and undelete partition and files |
---|
| 5 | Summary(ja): パーティションおよびファイルのチェックと復活を行うツール |
---|
| 6 | Name: testdisk |
---|
[2314] | 7 | Version: 6.11 |
---|
[521] | 8 | Release: 1%{?_dist_release} |
---|
| 9 | License: GPL |
---|
| 10 | Group: Applications/System |
---|
| 11 | Source0: http://www.cgsecurity.org/%{name}-%{version}.tar.bz2 |
---|
| 12 | Source1: progsreiserfs-%ver_progsreiserfs.tar.gz |
---|
[2314] | 13 | Source10: http://www.cgsecurity.org/%{name}-doc-%{version}.tar.bz2 |
---|
[521] | 14 | Patch0: progsreiserfs-journal.patch |
---|
[2314] | 15 | Patch1: http://www.cgsecurity.org/photorec_611_exif_bound_checking_v2.patch |
---|
[521] | 16 | URL: http://www.cgsecurity.org/wiki/TestDisk |
---|
| 17 | BuildRequires: ncurses-devel >= 5.2 |
---|
| 18 | BuildRequires: e2fsprogs-devel |
---|
| 19 | BuildRequires: libjpeg-devel |
---|
| 20 | BuildRequires: ntfsprogs-devel |
---|
[2314] | 21 | BuildRequires: libewf-devel |
---|
| 22 | BuildRequires: zlib-devel |
---|
| 23 | BuildRequires: openssl-devel |
---|
| 24 | BuildRequires: libuuid-devel |
---|
[521] | 25 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 26 | |
---|
| 27 | %description |
---|
| 28 | Tool to check and undelete partition. Works with FAT12, FAT16, FAT32, |
---|
| 29 | NTFS, EXT2, EXT3, BeFS, CramFS, HFS, JFS, Linux Raid, Linux Swap, |
---|
| 30 | LVM, LVM2, NSS, ReiserFS, UFS, XFS |
---|
| 31 | |
---|
| 32 | %prep |
---|
[2314] | 33 | %setup -q -a 1 -a 10 -D |
---|
[521] | 34 | %patch0 |
---|
[2314] | 35 | %patch1 -p1 -b .photorec |
---|
[521] | 36 | |
---|
| 37 | %build |
---|
| 38 | pushd progsreiserfs-%ver_progsreiserfs |
---|
| 39 | %configure --disable-Werror |
---|
| 40 | %__make |
---|
| 41 | popd |
---|
| 42 | |
---|
| 43 | %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/ |
---|
| 44 | %__make %{?_smp_mflags} |
---|
| 45 | |
---|
| 46 | %install |
---|
| 47 | rm -rf $RPM_BUILD_ROOT |
---|
| 48 | make DESTDIR="$RPM_BUILD_ROOT" install |
---|
| 49 | |
---|
| 50 | %clean |
---|
| 51 | rm -rf $RPM_BUILD_ROOT |
---|
| 52 | |
---|
| 53 | %files |
---|
| 54 | %defattr(644,root,root,755) |
---|
| 55 | %doc AUTHORS COPYING ChangeLog NEWS README THANKS doc |
---|
| 56 | %{_mandir}/man1/testdisk.1* |
---|
| 57 | %{_mandir}/man1/photorec.1* |
---|
| 58 | %attr(755,root,root) %{_sbindir}/testdisk |
---|
| 59 | %attr(755,root,root) %{_sbindir}/photorec |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %changelog |
---|
[2314] | 63 | * Tue Dec 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.11-1 |
---|
| 64 | - new upstream release |
---|
| 65 | - add Source10 (testdisk-doc-6.11.tar.bz2) |
---|
| 66 | - add Patch1 (photorec_611_exif_bound_checking_v2.patch) |
---|
| 67 | - add BuildRequires: libewf-devel, zlib-devel, openssl-devel, libuuid-devel |
---|
| 68 | |
---|
[521] | 69 | * Sun Oct 12 2008 Shu KONNO <owa@bg.wakwak.com> 6.10-1vl5 |
---|
| 70 | - new upstream release |
---|
| 71 | - applied new versioning policy, spec in utf-8 |
---|
| 72 | |
---|
| 73 | * Sat Jul 21 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 6.7-0vl1 |
---|
| 74 | - initial build for Vine Linux. |
---|
| 75 | |
---|
| 76 | * Sun Jan 4 2004 Christophe Grenier <grenier@cgsecurity.org> 5.0 |
---|
| 77 | - 5.0 |
---|
| 78 | |
---|
| 79 | * Wed Oct 1 2003 Christophe Grenier <grenier@cgsecurity.org> 4.5 |
---|
| 80 | - 4.5 |
---|
| 81 | |
---|
| 82 | * Wed Apr 23 2003 Christophe Grenier <grenier@cgsecurity.org> 4.4-2 |
---|
| 83 | |
---|
| 84 | * Sat Mar 29 2003 Pascal Terjan <CMoi@tuxfamily.org> 4.4-1mdk |
---|
| 85 | - 4.4 |
---|
| 86 | |
---|
| 87 | * Fri Dec 27 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 4.2-2mdk |
---|
| 88 | - rebuild for rpm and glibc |
---|
| 89 | |
---|
| 90 | * Sun Oct 06 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 4.2-1mdk |
---|
| 91 | - 4.2 |
---|
| 92 | |
---|
| 93 | * Mon Sep 02 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 4.1-1mdk |
---|
| 94 | - By Pascal Terjan <pascal.terjan@free.fr> |
---|
| 95 | - first mdk release, adapted from PLD. |
---|
| 96 | - gz to bz2 compression. |
---|
| 97 | - fix %%tmppath |
---|
| 98 | - %%make instead %%{__make} |
---|