Группа :: Работа с текстами
Пакет: scalpel
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: scalpel
Version: 1.60
Release: alt1
Summary: A Frugal, High Performance File Carver
License: GPLv2+
Group: Text tools
Url: http://www.digitalforensicssolutions.com/Scalpel/
Source: %url/scalpel-%version.tar.gz
Patch1: scalpel-1.60-configfile.patch
%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.
%prep
%setup
%patch1 -p1
%build
%__subst 's|scalpel.conf|/etc/scalpel.conf|' scalpel.h
%__subst 's/$(CC) -c/$(CC) %optflags -c/' Makefile
%make_build
%install
install -pD -m755 scalpel %buildroot%_bindir/scalpel
install -pD -m644 scalpel.1 %buildroot%_man1dir/scalpel.1
install -pD -m644 scalpel.conf %buildroot/etc/scalpel.conf
%files
%config(noreplace) /etc/scalpel.conf
%_bindir/*
%_man1dir/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.60
Release: alt1
Summary: A Frugal, High Performance File Carver
License: GPLv2+
Group: Text tools
Url: http://www.digitalforensicssolutions.com/Scalpel/
Source: %url/scalpel-%version.tar.gz
Patch1: scalpel-1.60-configfile.patch
%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.
%prep
%setup
%patch1 -p1
%build
%__subst 's|scalpel.conf|/etc/scalpel.conf|' scalpel.h
%__subst 's/$(CC) -c/$(CC) %optflags -c/' Makefile
%make_build
%install
install -pD -m755 scalpel %buildroot%_bindir/scalpel
install -pD -m644 scalpel.1 %buildroot%_man1dir/scalpel.1
install -pD -m644 scalpel.conf %buildroot/etc/scalpel.conf
%files
%config(noreplace) /etc/scalpel.conf
%_bindir/*
%_man1dir/*
%changelog
…
Полный changelog можно просмотреть здесь