Author: gotar                        Date: Sat Aug 27 21:31:05 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial PLD release

---- Files affected:
packages/binwalk:
   binwalk.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/binwalk/binwalk.spec
diff -u /dev/null packages/binwalk/binwalk.spec:1.1
--- /dev/null   Sat Aug 27 23:31:05 2011
+++ packages/binwalk/binwalk.spec       Sat Aug 27 23:31:00 2011
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+Summary:       Binary image analyze tool
+Name:          binwalk
+Version:       0.3.8
+Release:       1
+License:       MIT
+Group:         Applications/Development
+Source0:       http://binwalk.googlecode.com/files/%{name}-%{version}.tar.gz
+# Source0-md5: bc145f8b9abd5e79d5bc3aecdc0ab829
+URL:           http://code.google.com/p/binwalk/
+BuildRequires: autoconf >= 2.65
+BuildRequires: curl-devel
+BuildRequires: libmagic-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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
+perl -ne 's/-lz/-lmagic/; print unless /^tar -zxvf \$FILE\.tar\.gz/' -i 
src/configure.ac
+perl -ne 'print unless /FILE/' -i src/Makefile.in
+
+%build
+cd src
+%{__autoconf}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C src install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc docs/README
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}
+%attr(755,root,root) %{_bindir}/%{name}
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/08/27 21:31:00  gotar
+- initial PLD release
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to