summaryrefslogtreecommitdiffstats
path: root/copr
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2016-01-24 10:45:15 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2016-01-24 10:45:15 +0100
commitb7441965e19f4dc5a406e5525464a51d375aa3dd (patch)
tree3872492dcfcf2181a67fef31e7487bb480523348 /copr
parentea626d3bf5081a35248f19545478a0c9c0d4c009 (diff)
renamed mingw / mingw - testdisk.spec to copr / mingw - testdisk.spec
add copr / testdisk.spec
Diffstat (limited to 'copr')
-rw-r--r--copr/mingw-testdisk.spec206
-rw-r--r--copr/testdisk.spec118
2 files changed, 324 insertions, 0 deletions
diff --git a/copr/mingw-testdisk.spec b/copr/mingw-testdisk.spec
new file mode 100644
index 0000000..7ad3df8
--- /dev/null
+++ b/copr/mingw-testdisk.spec
@@ -0,0 +1,206 @@
+%{?mingw_package_header}
+
+Name: mingw-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: mingw32-filesystem >= 95
+BuildRequires: mingw32-binutils
+BuildRequires: mingw32-gcc
+BuildRequires: mingw32-gcc-c++
+BuildRequires: mingw32-gettext
+BuildRequires: mingw32-libewf
+BuildRequires: mingw32-libjpeg-turbo
+BuildRequires: mingw32-libjpeg-turbo-static
+BuildRequires: mingw32-ntfsprogs
+BuildRequires: mingw32-openssl
+BuildRequires: mingw32-pdcurses
+BuildRequires: mingw32-qt
+BuildRequires: mingw32-win-iconv
+BuildRequires: mingw32-zlib
+
+BuildRequires: mingw64-binutils
+BuildRequires: mingw64-filesystem >= 95
+BuildRequires: mingw64-gcc
+BuildRequires: mingw64-gcc-c++
+BuildRequires: mingw64-gettext
+BuildRequires: mingw64-libewf
+BuildRequires: mingw64-libjpeg-turbo
+BuildRequires: mingw64-ntfsprogs
+BuildRequires: mingw64-openssl
+BuildRequires: mingw64-pdcurses
+BuildRequires: mingw64-qt
+BuildRequires: mingw64-win-iconv
+BuildRequires: mingw64-zlib
+
+%description
+MinGW compiled testdisk.
+
+%package -n mingw32-testdisk
+Summary: MinGW compiled testdisk for the Win32 target.
+
+%description -n mingw32-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 mingw32-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 mingw32-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 mingw32-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 mingw64-testdisk
+Summary: MinGW compiled testdisk for the Win64 target.
+
+%description -n mingw64-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 mingw64-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 mingw64-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 mingw64-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.
+
+%{?mingw_debug_package}
+
+%prep
+%setup -q -n mingw-testdisk-%{version}
+
+%build
+autoreconf -vif -I config -W all
+%mingw_configure --enable-missing-uuid-ok
+%mingw_make %{?_smp_mflags}
+%install
+rm -rf $RPM_BUILD_ROOT
+%mingw_make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -n mingw32-testdisk
+%defattr(644,root,root,755)
+%{mingw32_docdir}/testdisk/AUTHORS
+%{mingw32_docdir}/testdisk/ChangeLog
+%{mingw32_docdir}/testdisk/NEWS
+%{mingw32_docdir}/testdisk/README
+%{mingw32_docdir}/testdisk/THANKS
+%{mingw32_docdir}/testdisk/documentation.html
+%{mingw32_mandir}/man8/*-fidentify.8*
+%{mingw32_mandir}/man8/*-photorec.8*
+%{mingw32_mandir}/man8/*-qphotorec.8*
+%{mingw32_mandir}/man8/*-testdisk.8*
+%{mingw32_mandir}/zh_CN/man8/*-fidentify.8*
+%{mingw32_mandir}/zh_CN/man8/*-photorec.8*
+%{mingw32_mandir}/zh_CN/man8/*-qphotorec.8*
+%{mingw32_mandir}/zh_CN/man8/*-testdisk.8*
+%{mingw32_datadir}/applications/qphotorec.desktop
+%{mingw32_datadir}/icons/hicolor/48x48/apps/qphotorec.png
+%{mingw32_datadir}/icons/hicolor/scalable/apps/qphotorec.svg
+%attr(755,root,root) %{mingw32_bindir}/*-fidentify.exe
+%attr(755,root,root) %{mingw32_bindir}/*-photorec.exe
+%attr(755,root,root) %{mingw32_bindir}/*-qphotorec.exe
+%attr(755,root,root) %{mingw32_bindir}/*-testdisk.exe
+
+%files -n mingw64-testdisk
+%defattr(644,root,root,755)
+%{mingw64_docdir}/testdisk/AUTHORS
+%{mingw64_docdir}/testdisk/ChangeLog
+%{mingw64_docdir}/testdisk/NEWS
+%{mingw64_docdir}/testdisk/README
+%{mingw64_docdir}/testdisk/THANKS
+%{mingw64_docdir}/testdisk/documentation.html
+%{mingw64_mandir}/man8/*-fidentify.8*
+%{mingw64_mandir}/man8/*-photorec.8*
+%{mingw64_mandir}/man8/*-qphotorec.8*
+%{mingw64_mandir}/man8/*-testdisk.8*
+%{mingw64_mandir}/zh_CN/man8/*-fidentify.8*
+%{mingw64_mandir}/zh_CN/man8/*-photorec.8*
+%{mingw64_mandir}/zh_CN/man8/*-qphotorec.8*
+%{mingw64_mandir}/zh_CN/man8/*-testdisk.8*
+%{mingw64_datadir}/applications/qphotorec.desktop
+%{mingw64_datadir}/icons/hicolor/48x48/apps/qphotorec.png
+%{mingw64_datadir}/icons/hicolor/scalable/apps/qphotorec.svg
+%attr(755,root,root) %{mingw64_bindir}/*-fidentify.exe
+%attr(755,root,root) %{mingw64_bindir}/*-photorec.exe
+%attr(755,root,root) %{mingw64_bindir}/*-qphotorec.exe
+%attr(755,root,root) %{mingw64_bindir}/*-testdisk.exe
+
+%changelog
+* Thu Jul 17 2008 Christophe Grenier <grenier@cgsecurity.org> 6.10-1
+- 6.10
+
+* 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}
diff --git a/copr/testdisk.spec b/copr/testdisk.spec
new file mode 100644
index 0000000..446a9a2
--- /dev/null
+++ b/copr/testdisk.spec
@@ -0,0 +1,118 @@
+Summary: Tool to check and undelete partition, 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): Программа для проверки и восстановления разделов диска
+Name: testdisk
+Version: 7.1
+Release: 0%{?dist}
+License: GPLv2+
+Group: Applications/System
+Source0: http://www.cgsecurity.org/testdisk-%{version}.tar.bz2
+URL: http://www.cgsecurity.org/wiki/TestDisk
+BuildRequires: libtool autoconf automake
+BuildRequires: desktop-file-utils
+BuildRequires: e2fsprogs-devel
+BuildRequires: libewf-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libuuid-devel
+BuildRequires: ncurses-devel >= 5.2
+BuildRequires: ntfs-3g-devel
+BuildRequires: qt-devel
+BuildRequires: zlib-devel
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
+
+%description
+Tool to check and undelete partition. Works with FAT12, FAT16, FAT32,
+NTFS, ext2, ext3, ext4, btrfs, 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
+440 file formats including JPG, MSOffice, OpenOffice documents.
+
+%description -l pl.UTF8
+Narzędzie sprawdzające i odzyskujące partycje. Pracuje z partycjami:
+FAT12, FAT16, FAT32, NTFS, ext2, ext3, ext4, btrfs, 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
+440 file formats including JPG, MSOffice, OpenOffice documents.
+
+%description -l fr.UTF8
+TestDisk vérifie et récupère les partitions. Fonctionne avec
+FAT12, FAT16, FAT32, NTFS, ext2, ext3, ext4, btrfs, 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 reconnait plus de 440 formats de fichiers dont les JPEG, les
+documents MSOffice ou OpenOffice.
+
+%description -l ru_RU.UTF8
+Программа для проверки и восстановления разделов диска.
+Поддерживает следующие типы разделов:
+FAT12, FAT16, FAT32, NTFS, ext2, ext3, ext4, btrfs, 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
+440 file formats including JPG, MSOffice, OpenOffice documents.
+
+%package -n qphotorec
+Summary: Signature based file carver. Recover lost files
+Group: Applications/System
+
+%description -n qphotorec
+QPhotoRec is a Qt version of PhotoRec. It is a signature based file recovery
+utility. It handles more than 440 file formats including JPG, MSOffice,
+OpenOffice documents.
+
+%prep
+%setup -q
+
+%build
+autoreconf -vif -I config -W all
+%configure --docdir=%{_pkgdocdir}
+make %{?_smp_mflags}
+%install
+rm -rf %{buildroot}
+make DESTDIR="%{buildroot}" install
+
+%clean
+rm -rf %{buildroot}
+
+%check
+desktop-file-validate %{buildroot}/%{_datadir}/applications/qphotorec.desktop
+
+%post -n qphotorec
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun -n qphotorec
+if [ $1 -eq 0 ] ; then
+ /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans -n qphotorec
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files
+%defattr(644,root,root,755)
+%license COPYING
+%doc AUTHORS ChangeLog NEWS README THANKS
+%doc documentation.html
+%attr(755,root,root) %{_bindir}/fidentify
+%attr(755,root,root) %{_bindir}/photorec
+%attr(755,root,root) %{_bindir}/testdisk
+%{_mandir}/man8/fidentify.8*
+%{_mandir}/man8/photorec.8*
+%{_mandir}/man8/testdisk.8*
+%{_mandir}/zh_CN/man8/fidentify.8*
+%{_mandir}/zh_CN/man8/photorec.8*
+%{_mandir}/zh_CN/man8/testdisk.8*
+
+%files -n qphotorec
+%attr(755,root,root) %{_bindir}/qphotorec
+%{_mandir}/man8/qphotorec.8*
+%{_mandir}/zh_CN/man8/qphotorec.8*
+%{_datadir}/applications/qphotorec.desktop
+%{_datadir}/icons/hicolor/48x48/apps/qphotorec.png
+%{_datadir}/icons/hicolor/scalable/apps/qphotorec.svg
+
+%changelog
+* Sun Jan 24 2016 Christophe Grenier <grenier@cgsecurity.org> 7.1-0
+- spec file for fedora copr integration