2014-06-25 09:33:14 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package testdisk
|
|
|
|
|
#
|
2024-03-12 15:26:17 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2014-06-25 09:33:14 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2021-03-22 14:36:07 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-06-25 09:33:14 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: testdisk
|
2024-03-12 15:26:17 +00:00
|
|
|
Version: 7.2
|
2014-06-25 09:33:14 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Tool to Recover and Fix Partitions
|
2021-03-22 14:36:07 +00:00
|
|
|
License: GPL-2.0-only
|
2014-06-25 09:33:14 +00:00
|
|
|
Group: System/Filesystems
|
2021-03-22 14:36:07 +00:00
|
|
|
URL: https://www.cgsecurity.org/wiki/TestDisk
|
2019-07-30 12:10:01 +00:00
|
|
|
Source0: https://www.cgsecurity.org/%{name}-%{version}.tar.bz2
|
2015-05-22 11:30:52 +00:00
|
|
|
BuildRequires: hicolor-icon-theme
|
2014-06-25 09:33:14 +00:00
|
|
|
BuildRequires: libext2fs-devel
|
|
|
|
|
BuildRequires: libjpeg-devel
|
2024-03-12 15:26:17 +00:00
|
|
|
BuildRequires: libntfs-3g-devel
|
2019-04-29 10:53:00 +00:00
|
|
|
BuildRequires: libqt5-linguist
|
2021-03-22 14:36:07 +00:00
|
|
|
BuildRequires: libqt5-qtbase-devel
|
2014-06-25 09:33:14 +00:00
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
|
BuildRequires: ncurses-devel
|
2015-05-22 11:30:52 +00:00
|
|
|
BuildRequires: update-desktop-files
|
2014-06-25 09:33:14 +00:00
|
|
|
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.
|
|
|
|
|
|
2015-05-22 11:30:52 +00:00
|
|
|
%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.
|
|
|
|
|
|
2014-06-25 09:33:14 +00:00
|
|
|
%prep
|
2024-03-12 15:26:17 +00:00
|
|
|
%autosetup
|
2019-04-29 10:53:00 +00:00
|
|
|
cp README.md README
|
2014-06-25 09:33:14 +00:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure
|
2024-03-12 15:26:17 +00:00
|
|
|
%make_build
|
2014-06-25 09:33:14 +00:00
|
|
|
|
|
|
|
|
%install
|
2024-03-12 15:26:17 +00:00
|
|
|
%make_install
|
2014-06-25 09:33:14 +00:00
|
|
|
# move back the documentation
|
2015-05-22 11:30:52 +00:00
|
|
|
mv %{buildroot}%{_datadir}/doc/%{name}/* .
|
|
|
|
|
|
|
|
|
|
%suse_update_desktop_file qphotorec
|
2014-06-25 09:33:14 +00:00
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
2019-07-30 12:10:01 +00:00
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS ChangeLog NEWS README THANKS documentation.html
|
2014-06-25 09:33:14 +00:00
|
|
|
%{_bindir}/testdisk
|
|
|
|
|
%{_mandir}/man8/testdisk.8%{ext_man}
|
2015-05-22 11:30:52 +00:00
|
|
|
%{_mandir}/zh_CN/man8/testdisk.8%{ext_man}
|
2014-06-25 09:33:14 +00:00
|
|
|
|
|
|
|
|
%files -n photorec
|
|
|
|
|
%defattr(-,root,root,-)
|
2019-07-30 12:10:01 +00:00
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS ChangeLog NEWS README THANKS documentation.html
|
2014-06-25 09:33:14 +00:00
|
|
|
%{_bindir}/fidentify
|
|
|
|
|
%{_bindir}/photorec
|
|
|
|
|
%{_mandir}/man8/fidentify.8%{ext_man}
|
|
|
|
|
%{_mandir}/man8/photorec.8%{ext_man}
|
2015-05-22 11:30:52 +00:00
|
|
|
%{_mandir}/zh_CN/man8/fidentify.8%{ext_man}
|
|
|
|
|
%{_mandir}/zh_CN/man8/photorec.8%{ext_man}
|
|
|
|
|
|
|
|
|
|
%files -n qphotorec
|
|
|
|
|
%defattr(-,root,root,-)
|
2019-07-30 12:10:01 +00:00
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS ChangeLog NEWS README THANKS documentation.html
|
2015-05-22 11:30:52 +00:00
|
|
|
%{_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}
|
2014-06-25 09:33:14 +00:00
|
|
|
|
|
|
|
|
%changelog
|