[binwalk] Initial packaging.
Adam Jackson
ajax at fedoraproject.org
Thu Dec 13 17:44:09 UTC 2012
commit 1915a014fdbac033022179549295629806bb62c0
Author: Adam Jackson <ajax at redhat.com>
Date: Thu Dec 13 12:44:07 2012 -0500
Initial packaging.
.gitignore | 1 +
binwalk.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 47 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..de61d3d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/binwalk-0.4.5.tar.gz
diff --git a/binwalk.spec b/binwalk.spec
new file mode 100644
index 0000000..d10043e
--- /dev/null
+++ b/binwalk.spec
@@ -0,0 +1,45 @@
+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 <ajax at redhat.com> 0.4.5-1
+- Initial packaging.
+
diff --git a/sources b/sources
index e69de29..51a7c07 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+61aede5a7ab9bd54ebd93b7086f57bc0 binwalk-0.4.5.tar.gz
More information about the scm-commits
mailing list