summaryrefslogtreecommitdiffstats
path: root/copr
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2016-08-20 15:32:43 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2016-08-20 15:32:43 +0200
commiteaaf96c14ebc6c231bdaa42476e963735ea23763 (patch)
tree7b23f665889f71a2080253338d81b55cdceeb322 /copr
parent68c9c5f00029f64808d9922ea8725dceb11bda86 (diff)
Add copr/cygwin-testdisk.spec for building Windows binary using Fedora Copr
Diffstat (limited to 'copr')
-rw-r--r--copr/cygwin-testdisk.spec165
1 files changed, 165 insertions, 0 deletions
diff --git a/copr/cygwin-testdisk.spec b/copr/cygwin-testdisk.spec
new file mode 100644
index 0000000..6e8aae6
--- /dev/null
+++ b/copr/cygwin-testdisk.spec
@@ -0,0 +1,165 @@
+%{?cygwin_package_header}
+
+Name: cygwin-testdisk
+Version: 7.1
+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: http://www.cgsecurity.org/wiki/TestDisk
+Source0: http://www.cgsecurity.org/testdisk-%{version}.tar.bz2
+
+BuildArch: noarch
+BuildRequires: libtool autoconf automake
+
+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
+%setup -q -n cygwin-testdisk-%{version}
+
+%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
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -n cygwin32-testdisk
+%defattr(644,root,root,755)
+%{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
+%defattr(644,root,root,755)
+%{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 <grenier@cgsecurity.org> - 7.1-0
+- First spec file under cygwin