# # spec file for package # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: binwalk Version: 1.2.1 Release: 0 License: MIT Summary: Firmware Analysis Tool Url: http://code.google.com/p/binwalk/ Group: Development/Tools/Debuggers Source0: http://binwalk.googlecode.com/files/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python-magic BuildRequires: python-matplotlib BuildRequires: python-matplotlib-tk Requires: python Requires: python-magic Requires: python-matplotlib Requires: python-matplotlib-tk %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. Binwalk also includes a custom magic signature file which contains improved signatures for files that are commonly found in firmware images such as compressed/archived files, firmware headers, Linux kernels, bootloaders, filesystems, etc. %prep %setup -q %build pushd src %{__python} setup.py build popd %install pushd src %{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} popd %files %defattr(-,root,root) %doc docs/* %{_bindir}/%{name} %{python_sitelib}/%{name}/ %{python_sitelib}/binwalk-1.2-py2.7.egg-info %changelog