testdisk-vl.spec 2.6 KB

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