testdisk/testdisk.spec

140 lines
4.6 KiB
RPMSpec

Name: testdisk
Version: 7.0
Release: 1mamba
Summary: Tool to check and undelete partitions
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.cgsecurity.org/index.html?testdisk.html
Source: http://www.cgsecurity.org/testdisk-%{version}.tar.bz2
#Patch: http://www.cgsecurity.org/%{name}-6.4.1.patch
Patch0: %{name}-6.11.3-ntfs-3g.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libe2fs-devel
BuildRequires: libewf-devel
BuildRequires: libjpeg-devel
BuildRequires: libncurses-devel
BuildRequires: libntfs-3g_ntfsprogs-devel
BuildRequires: libopenssl-devel
BuildRequires: libreiserfs-devel
BuildRequires: libuuid-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libntfs-3g_ntfsprogs-devel >= 2014.2.15-1mamba
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
%prep
%setup -q
%build
%configure
%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}/zh_CN/man8/testdisk.8*
%{_mandir}/man8/%{name}.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*
%{_mandir}/zh_CN/man8/fidentify.8*
%{_mandir}/zh_CN/man8/photorec.8*
%{_mandir}/zh_CN/man8/qphotorec.8*
%changelog
* 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