123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- %define ver_progsreiserfs 0.3.1-rc8
- %define ver_ntfsprogs 2.0.0
- Summary: Tool to check and undelete partition and files
- Summary(ja): パーティションおよびファイルのチェックと復活を行うツール
- Name: testdisk
- Version: 6.11
- Release: 2%{?_dist_release}
- License: GPL
- Group: Applications/System
- Source0: http://www.cgsecurity.org/%{name}-%{version}.tar.bz2
- Source1: progsreiserfs-%ver_progsreiserfs.tar.gz
- Source10: http://www.cgsecurity.org/%{name}-doc-%{version}.tar.bz2
- Patch0: progsreiserfs-journal.patch
- Patch1: http://www.cgsecurity.org/photorec_611_exif_bound_checking_v2.patch
- URL: http://www.cgsecurity.org/wiki/TestDisk
- BuildRequires: ncurses-devel >= 5.2
- BuildRequires: e2fsprogs-devel
- BuildRequires: libjpeg-devel
- BuildRequires: ntfsprogs-devel
- BuildRequires: libewf-devel
- BuildRequires: zlib-devel
- BuildRequires: openssl-devel
- BuildRequires: libuuid-devel
- 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
- %prep
- %setup -q -a 1 -a 10 -D
- %patch0
- %patch1 -p1 -b .photorec
- %build
- pushd progsreiserfs-%ver_progsreiserfs
- %configure --disable-Werror
- %__make
- popd
- %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/
- %__make %{?_smp_mflags}
- %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
- %{_mandir}/man1/testdisk.1*
- %{_mandir}/man1/photorec.1*
- %attr(755,root,root) %{_sbindir}/testdisk
- %attr(755,root,root) %{_sbindir}/photorec
- %changelog
- * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.11-2
- - rebuild with openssl-1.0.0c
- * Tue Dec 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.11-1
- - new upstream release
- - add Source10 (testdisk-doc-6.11.tar.bz2)
- - add Patch1 (photorec_611_exif_bound_checking_v2.patch)
- - add BuildRequires: libewf-devel, zlib-devel, openssl-devel, libuuid-devel
- * Sun Oct 12 2008 Shu KONNO <owa@bg.wakwak.com> 6.10-1vl5
- - new upstream release
- - applied new versioning policy, spec in utf-8
- * Sat Jul 21 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 6.7-0vl1
- - initial build for Vine Linux.
- * 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}
|