forked from cgsecurity/testdisk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cygwin-testdisk-copr.spec
162 lines (141 loc) · 6.5 KB
/
cygwin-testdisk-copr.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
%{?cygwin_package_header}
Name: {{{ git_name name=cygwin-testdisk }}}
Version: {{{ git_dir_version }}}
Release: 0%{?dist}
Summary: TestDisk checks and undeletes partitions, PhotoRec recovers lost files
Summary(pl.UTF8): Narzędzie sprawdzające i odzyskujące partycje
Summary(fr.UTF8): Outil pour vérifier et restaurer des partitions
Summary(ru_RU.UTF8): Программа для проверки и восстановления разделов диска
License: GPLv2+
Group: Applications/System
URL: https://www.cgsecurity.org/wiki/TestDisk
VCS: {{{ git_dir_vcs }}}
Source0: {{{ git_dir_pack }}}
BuildArch: noarch
BuildRequires: libtool autoconf automake
BuildRequires: make
BuildRequires: cygwin32-filesystem >= 9
BuildRequires: cygwin32-binutils
BuildRequires: cygwin32-e2fsprogs
BuildRequires: cygwin32-gcc
BuildRequires: cygwin32-libiconv
BuildRequires: cygwin32-libewf
BuildRequires: cygwin32-libjpeg-turbo
BuildRequires: cygwin32-ntfsprogs
BuildRequires: cygwin32-ncurses
BuildRequires: cygwin32-zlib
BuildRequires: cygwin32-pkg-config
BuildRequires: cygwin64-binutils
BuildRequires: cygwin64-filesystem >= 9
BuildRequires: cygwin64-e2fsprogs
BuildRequires: cygwin64-gcc
BuildRequires: cygwin64-libewf
BuildRequires: cygwin64-libjpeg-turbo
BuildRequires: cygwin64-ntfsprogs
BuildRequires: cygwin64-ncurses
BuildRequires: cygwin64-libiconv
BuildRequires: cygwin64-zlib
BuildRequires: cygwin64-pkg-config
%description
Cygwin compiled testdisk.
%package -n cygwin32-testdisk
Summary: Cygwin compiled testdisk for the Win32 target.
%description -n cygwin32-testdisk
Tool to check and undelete partition. Works with FAT12, FAT16, FAT32,
NTFS, ext2, ext3, ext4, BeFS, CramFS, HFS, JFS, Linux Raid, Linux Swap,
LVM, LVM2, NSS, ReiserFS, UFS, XFS
PhotoRec is a signature based file recovery utility. It handles more than
200 file formats including JPG, MSOffice, OpenOffice documents.
%description -n cygwin32-testdisk -l pl.UTF8
Narzędzie sprawdzające i odzyskujące partycje. Pracuje z partycjami:
FAT12, FAT16, FAT32, NTFS, ext2, ext3, ext4, BeFS, CramFS, HFS, JFS,
Linux Raid, Linux Swap, LVM, LVM2, NSS, ReiserFS, UFS, XFS
PhotoRec is a signature based file recovery utility. It handles more than
200 file formats including JPG, MSOffice, OpenOffice documents.
%description -n cygwin32-testdisk -l fr.UTF8
TestDisk vérifie et récupère les partitions. Fonctionne avec
FAT12, FAT16, FAT32, NTFS, ext2, ext3, ext4, BeFS, CramFS, HFS, JFS,
Linux Raid, Linux Swap, LVM, LVM2, NSS, ReiserFS, UFS, XFS
PhotoRec utilise un mécanisme de signature pour récupérer des fichiers perdus.
Il gère plus d'une centaine de formats de fichiers dont les JPEG,
les documents MSOffice ou OpenOffice.
%description -n cygwin32-testdisk -l ru_RU.UTF8
Программа для проверки и восстановления разделов диска.
Поддерживает следующие типы разделов:
FAT12, FAT16, FAT32, NTFS, ext2, ext3, ext4, BeFS, CramFS, HFS, JFS,
Linux Raid, Linux Swap, LVM, LVM2, NSS, ReiserFS, UFS, XFS
PhotoRec is a signature based file recovery utility. It handles more than
200 file formats including JPG, MSOffice, OpenOffice documents.
%package -n cygwin64-testdisk
Summary: Cygwin compiled testdisk for the Win64 target.
%description -n cygwin64-testdisk
Tool to check and undelete partition. Works with FAT12, FAT16, FAT32,
NTFS, ext2, ext3, ext4, BeFS, CramFS, HFS, JFS, Linux Raid, Linux Swap,
LVM, LVM2, NSS, ReiserFS, UFS, XFS
PhotoRec is a signature based file recovery utility. It handles more than
200 file formats including JPG, MSOffice, OpenOffice documents.
%description -n cygwin64-testdisk -l pl.UTF8
Narzędzie sprawdzające i odzyskujące partycje. Pracuje z partycjami:
FAT12, FAT16, FAT32, NTFS, ext2, ext3, ext4, BeFS, CramFS, HFS, JFS,
Linux Raid, Linux Swap, LVM, LVM2, NSS, ReiserFS, UFS, XFS
PhotoRec is a signature based file recovery utility. It handles more than
200 file formats including JPG, MSOffice, OpenOffice documents.
%description -n cygwin64-testdisk -l fr.UTF8
TestDisk vérifie et récupère les partitions. Fonctionne avec
FAT12, FAT16, FAT32, NTFS, ext2, ext3, ext4, BeFS, CramFS, HFS, JFS,
Linux Raid, Linux Swap, LVM, LVM2, NSS, ReiserFS, UFS, XFS
PhotoRec utilise un mécanisme de signature pour récupérer des fichiers perdus.
Il gère plus d'une centaine de formats de fichiers dont les JPEG,
les documents MSOffice ou OpenOffice.
%description -n cygwin64-testdisk -l ru_RU.UTF8
Программа для проверки и восстановления разделов диска.
Поддерживает следующие типы разделов:
FAT12, FAT16, FAT32, NTFS, ext2, ext3, ext4, BeFS, CramFS, HFS, JFS,
Linux Raid, Linux Swap, LVM, LVM2, NSS, ReiserFS, UFS, XFS
PhotoRec is a signature based file recovery utility. It handles more than
200 file formats including JPG, MSOffice, OpenOffice documents.
%{?cygwin_debug_package}
%prep
{{{ git_dir_setup_macro }}}
%build
autoreconf -vif -I config -W all
%cygwin_configure --enable-missing-uuid-ok
%cygwin_make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%cygwin_make install DESTDIR=$RPM_BUILD_ROOT
%files -n cygwin32-testdisk
%{cygwin32_docdir}/testdisk/AUTHORS
%{cygwin32_docdir}/testdisk/ChangeLog
%{cygwin32_docdir}/testdisk/NEWS
%{cygwin32_docdir}/testdisk/README.md
%{cygwin32_docdir}/testdisk/THANKS
%{cygwin32_docdir}/testdisk/documentation.html
%{cygwin32_mandir}/man8/*-fidentify.8*
%{cygwin32_mandir}/man8/*-photorec.8*
%{cygwin32_mandir}/man8/*-testdisk.8*
%{cygwin32_mandir}/zh_CN/man8/*-fidentify.8*
%{cygwin32_mandir}/zh_CN/man8/*-photorec.8*
%{cygwin32_mandir}/zh_CN/man8/*-testdisk.8*
%attr(755,root,root) %{cygwin32_bindir}/*-fidentify.exe
%attr(755,root,root) %{cygwin32_bindir}/*-photorec.exe
%attr(755,root,root) %{cygwin32_bindir}/*-testdisk.exe
%files -n cygwin64-testdisk
%{cygwin64_docdir}/testdisk/AUTHORS
%{cygwin64_docdir}/testdisk/ChangeLog
%{cygwin64_docdir}/testdisk/NEWS
%{cygwin64_docdir}/testdisk/README.md
%{cygwin64_docdir}/testdisk/THANKS
%{cygwin64_docdir}/testdisk/documentation.html
%{cygwin64_mandir}/man8/*-fidentify.8*
%{cygwin64_mandir}/man8/*-photorec.8*
%{cygwin64_mandir}/man8/*-testdisk.8*
%{cygwin64_mandir}/zh_CN/man8/*-fidentify.8*
%{cygwin64_mandir}/zh_CN/man8/*-photorec.8*
%{cygwin64_mandir}/zh_CN/man8/*-testdisk.8*
%attr(755,root,root) %{cygwin64_bindir}/*-fidentify.exe
%attr(755,root,root) %{cygwin64_bindir}/*-photorec.exe
%attr(755,root,root) %{cygwin64_bindir}/*-testdisk.exe
%changelog
* Mon Aug 15 2016 Christophe GRENIER <[email protected]> - 7.1-0
- First spec file under cygwin