Files
testdisk/testdisk.spec
David Sterba d228d4ab2c Accepting request 1157068 from home:smolsheep:upgrades
Building with ewf seems to fail now. There may be an issue with it.
Other distros are seemingly building without ewf now. I couldn't
figure it out with a bit of investigation. It seems to build
against fedora's libewf, but their libewf hasn't been updated for a
decade.
- Update to version 7.2:
  General Improvements
  * Display disk serial number when selecting source disk
  * Add support for BeFS for EFI GPT and Mac partition table
  TestDisk
  * Improvements
  * When searching for partition, press '+' key to skip 5% of the
    disk.
  * exfat: Better utf-8 support when iconv is missing
  * APFS: Detect APFS partition
  PhotoRec & QPhotoRec
  * Improvements
  * Updated translation are available
  * Huge work to formally verify (Frama-C WP) most parsers code
  * New translations for QPhotoRec: Finnish, Polish, Greek (el),
    sv_SE and zh_CN
  New file formats recovered by PhotoRec:
  * .bbdoc
  * .clip Clip Studio Paint
  * .drw micrografx designer format
  * .exr OpenEXR v2
  * .fbx Kaydara 3D file
  * .FCStd
  * .hdf Hierarchical Data Format 5
  * .lz lzip compressed file
  * .mtcx Mathcad
  * .rvt Revit
  * .shp/shx Shaefile support
  * .wad Doom
  * Microsoft Jet DB / Sage Simply Accounting database

OBS-URL: https://build.opensuse.org/request/show/1157068
OBS-URL: https://build.opensuse.org/package/show/filesystems/testdisk?expand=0&rev=13
2024-03-12 15:26:17 +00:00

107 lines
3.3 KiB
RPMSpec

#
# spec file for package testdisk
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: testdisk
Version: 7.2
Release: 0
Summary: Tool to Recover and Fix Partitions
License: GPL-2.0-only
Group: System/Filesystems
URL: https://www.cgsecurity.org/wiki/TestDisk
Source0: https://www.cgsecurity.org/%{name}-%{version}.tar.bz2
BuildRequires: hicolor-icon-theme
BuildRequires: libext2fs-devel
BuildRequires: libjpeg-devel
BuildRequires: libntfs-3g-devel
BuildRequires: libqt5-linguist
BuildRequires: libqt5-qtbase-devel
BuildRequires: libuuid-devel
BuildRequires: ncurses-devel
BuildRequires: update-desktop-files
BuildRequires: zlib-devel
%description
TestDisk is a data recovery software primarily designed to help recover lost
partitions and/or make non-booting disks bootable again.
%package -n photorec
Summary: Tool to Undelete Files
Group: System/Filesystems
%description -n photorec
PhotoRec is a file data recovery software designed to recover lost files
including video, documents and archives from hard disks and CD Rom and lost
pictures (Photo Recovery) from digital camera memory. PhotoRec ignores the
filesystem and goes after the underlying data, so it works even if your media's
filesystem is severely damaged or reformatted.
%package -n qphotorec
Summary: Graphical tool to Undelete Files
Group: System/Filesystems
%description -n qphotorec
QPhotoRec is a Graphical User Interface (Qt based GUI) version of PhotoRec.
More user friendly, it recognizes the same file formats.
%prep
%autosetup
cp README.md README
%build
%configure
%make_build
%install
%make_install
# move back the documentation
mv %{buildroot}%{_datadir}/doc/%{name}/* .
%suse_update_desktop_file qphotorec
%files
%defattr(-,root,root,-)
%license COPYING
%doc AUTHORS ChangeLog NEWS README THANKS documentation.html
%{_bindir}/testdisk
%{_mandir}/man8/testdisk.8%{ext_man}
%{_mandir}/zh_CN/man8/testdisk.8%{ext_man}
%files -n photorec
%defattr(-,root,root,-)
%license COPYING
%doc AUTHORS ChangeLog NEWS README THANKS documentation.html
%{_bindir}/fidentify
%{_bindir}/photorec
%{_mandir}/man8/fidentify.8%{ext_man}
%{_mandir}/man8/photorec.8%{ext_man}
%{_mandir}/zh_CN/man8/fidentify.8%{ext_man}
%{_mandir}/zh_CN/man8/photorec.8%{ext_man}
%files -n qphotorec
%defattr(-,root,root,-)
%license COPYING
%doc AUTHORS ChangeLog NEWS README THANKS documentation.html
%{_bindir}/qphotorec
%{_datadir}/applications/qphotorec.desktop
%{_datadir}/icons/hicolor/48x48/apps/qphotorec.png
%{_datadir}/icons/hicolor/scalable/apps/qphotorec.svg
%{_mandir}/man8/qphotorec.8%{ext_man}
%{_mandir}/zh_CN/man8/qphotorec.8%{ext_man}
%changelog