source: projects/specs/tags/6_0_REL/t/testdisk/testdisk-vl.spec @ 2602

Revision 2602, 3.2 KB checked in by Takemikaduchi, 13 years ago (diff)

libXtst: add Requires, libewf,testdisk: rebuild with openssl-1.0.0c, others: new upstream release

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