Name: binwalk Version: 0.4.5 Release: 1%{?dist} Summary: Firmware analysis tool License: MIT URL: http://code.google.com/p/binwalk/ Source0: http://%{name}.googlecode.com/files/%{name}-%{version}.tar.gz BuildRequires: file-devel BuildRequires: libcurl-devel BuildRequires: zlib-devel %description Binwalk is a tool for searching a given binary image for embedded files and executable code. Specifically, it is designed for identifying files and code embedded inside of firmware images. Binwalk uses the libmagic library, so it is compatible with magic signatures created for the Unix file utility. %prep %setup -q %build pushd src # binwalk wants to install its file magic to /etc, but it's really more like # static data than like a config file. %configure --sysconfdir=%{_datadir} make %{?_smp_mflags} popd %install rm -rf $RPM_BUILD_ROOT pushd src %make_install popd %files %doc docs/* %{_bindir}/%{name} %{_datadir}/%{name}/ %changelog * Fri Oct 26 2012 Adam Jackson 0.4.5-1 - Initial packaging.