testdisk/testdisk.spec

167 lines
5.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: testdisk
Version: 7.2
Release: 1mamba
Summary: Tool to check and undelete partitions
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.cgsecurity.org/wiki/TestDisk
Source: https://www.cgsecurity.org/testdisk-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5Core
BuildRequires: libQt5Gui
BuildRequires: libQt5Widgets
BuildRequires: libe2fs-devel
BuildRequires: libgcc
BuildRequires: libjpeg-turbo
BuildRequires: libncurses-devel
BuildRequires: libntfs-3g_ntfsprogs-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libntfs-3g_ntfsprogs-devel >= 2021.8.22
#BuildRequires: libewf-devel >= 20201230
%description
Tool to check and undelete partitions. Works with the following partitions:
* FAT12 FAT16 FAT32
* Linux EXT2/EXT3
* Linux SWAP (version 1 and 2)
* NTFS (Windows NT/W2K/XP/...)
* BeFS (BeOS)
* UFS (BSD)
* NSS (Netware)
* ReiserFS
%package -n photorec
Summary: PhotoRec is file data recovery software designed to recover lost pictures
Group: System/Tools
%description -n photorec
PhotoRec is file data recovery software designed to recover lost pictures (Photo Recovery) from digital camera memory and lost files including video, documents and archives from Hard Disks and CDRom.
PhotoRec ignores the filesystem and goes after the underlying data, so it'll work even if your media's filesystem is severely damaged or formatted.
PhotoRec is safe to use, it will never attempt to write to the drive or memory support you are about to recover from.
Recovered files are instead written in the directory from where you are running the PhotoRec program.
%debug_package
%prep
%setup -q
%build
%configure \
--without-reiserfs \
--without-ewf \
--with-sudo
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_datadir}/doc/testdisk/documentation.html
%dir %{_datadir}/doc/testdisk
%{_datadir}/doc/testdisk/*
%{_mandir}/man8/%{name}.8*
%lang(zh_CN) %{_mandir}/zh_CN/man8/testdisk.8*
%doc AUTHORS COPYING
# ChangeLog INSTALL NEWS README THANKS
%files -n photorec
%defattr(-,root,root,-)
%{_bindir}/qphotorec
%{_bindir}/fidentify
%{_bindir}/photorec
%{_datadir}/applications/qphotorec.desktop
%{_datadir}/icons/hicolor/*/apps/qphotorec.png
%{_datadir}/icons/hicolor/scalable/apps/qphotorec.svg
%{_mandir}/man8/fidentify*
%{_mandir}/man8/photorec.8*
%{_mandir}/man8/qphotorec.8*
%lang(zh_CN) %{_mandir}/zh_CN/man8/fidentify.8*
%lang(zh_CN) %{_mandir}/zh_CN/man8/photorec.8*
%lang(zh_CN) %{_mandir}/zh_CN/man8/qphotorec.8*
%changelog
* Sat Nov 02 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 7.2-1mamba
- update to 7.2
- disabled reiserfs support before archiving progsreiserfs
* Sat May 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 7.1-3mamba
- rebuilt with libewf 20201230
* Mon Nov 29 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 7.1-2mamba
- rebuilt with libntfs-3g_ntfsprogs 2021.8.22
* Sun Nov 10 2019 Automatic Build System <autodist@mambasoft.it> 7.1-1mamba
- automatic version update by autodist
* Tue Aug 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 7.0-4mamba
- rebuilt by autoport with build requirements: libntfs-3g_ntfsprogs-devel>=2017.3.23-1mamba
* Fri Feb 03 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 7.0-3mamba
- rebuilt by autoport with build requirements: libntfs-3g_ntfsprogs-devel>=2016.2.22-1mamba
* Sun Jan 31 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 7.0-2mamba
- rebuilt by autoport with build requirements: libntfs-3g_ntfsprogs-devel>=2015.3.14-1mamba
* Thu Apr 30 2015 Automatic Build System <autodist@mambasoft.it> 7.0-1mamba
- automatic version update by autodist
* Thu Oct 09 2014 Automatic Build System <autodist@mambasoft.it> 6.14-3mamba
- rebuilt by autoport with build requirements: libntfs-3g_ntfsprogs-devel>=2014.2.15-1mamba
* Fri Sep 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 6.14-2mamba
- rebuilt with libntfs-3g_ntfsprogs 2013.1.13
* Tue Aug 06 2013 Automatic Build System <autodist@mambasoft.it> 6.14-1mamba
- automatic version update by autodist
* Wed Jul 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 6.13-2mamba
- rebuilt with libewf 20121209
* Thu Jan 26 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 6.13-1mamba
- update to 6.13
- rebuilt with libntfs-3g 2012.1.15
* Sat Apr 30 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 6.11.3-3mamba
- rebuilt with ntfs-3g patch from upstream git
* Thu Nov 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 6.11.3-2mamba
- rebuilt with openssl 1.0.0
* Mon Jan 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 6.11.3-1mamba
- update to 6.11.3
* Fri May 01 2009 Automatic Build System <autodist@mambasoft.it> 6.11-1mamba
- automatic update by autodist
* Thu Dec 11 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 6.10-1mamba
- automatic update by autodist
* Thu Jun 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 6.9-1mamba
- update to 6.9
* Fri Sep 14 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 6.8-1mamba
- update to 6.8
* Fri Jun 22 2007 Tiziana Ferro <tiziana.ferro@email.it> 6.6-1mamba
- update to 6.6
* Mon Jul 03 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 6.4-1qilnx
- update to version 6.4 by autospec
- added photorec package
* Tue Oct 05 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3-1qilnx
- package created by autospec