Name: scalpel Version: 2.0 Release: 1mamba Summary: A fast file carver Group: Applications/File Vendor: openmamba Distribution: openmamba Packager: Stefano Cotta Ramusino URL: http://www.digitalforensicssolutions.com/Scalpel Source: http://www.digitalforensicssolutions.com/Scalpel/scalpel-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libtre-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Scalpel is a fast file carver that reads a database of header and footer definitions and extracts matching files from a set of image files or raw device files. Scalpel is filesystem-independent and will carve files from FATx, NTFS, ext2/3, or raw partitions. It is useful for both digital forensics investigation and file recovery. Scalpel resulted from a complete rewrite of foremost 0.69, a popular open source file carver, to enhance performance and decrease memory usage. %prep %setup -q sed -i -e "s,\(scalpel.conf\),/etc/\1," src/scalpel.h sed -i -e "s,\(f\" in \)the current,\1%{_sysconfdir}," man/scalpel.1 %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall # install configuration file install -D -m 644 scalpel.conf \ %{buildroot}%{_sysconfdir}/scalpel.conf %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/scalpel %config(noreplace) %{_sysconfdir}/scalpel.conf %{_mandir}/man1/* %doc Changelog gpl.txt README %changelog * Mon Jun 25 2012 Stefano Cotta Ramusino 2.0-1mamba - update to 2.0 * Wed Aug 29 2007 Stefano Cotta Ramusino 1.60-1mamba - package created by autospec