--- /dev/null
+bmap-flasher usr/bin
--- /dev/null
+bmap-tools (0.1.0) unstable; urgency=low
+
+ * Initial release.
+
+ -- Ed Bartosh <eduard.bartosh@intel.com> Sun, 27 Oct 2012 22:31:28 +0300
--- /dev/null
+Source: bmap-tools
+Maintainer: Ed Bartosh <eduard.bartosh@intel.com>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 7)
+Standards-Version: 3.8.4
+XS-Python-Version: current
+
+Package: bmap-tools
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+XB-Python-Version: ${python:Versions}
+Description: Bmap tools
+ Bmap-flasher - Flash an image file to a block device using the block map (bmap)
--- /dev/null
+This is Debian GNU/Linux's prepackaged version of the bmap-tools
+
+This package was put together by Ed Bartosh <eduard.bartosh@intel.com>
+on Sun Oct 27 22:32:19 EEST 2012
+
+Copyright (c) 2012 Intel, Inc.
+
+License: GPLv2
+
+Author: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
--- /dev/null
+#!/usr/bin/make -f
+
+# This file was automatically generated by stdeb 0.6.0 at
+# Wed, 26 Sep 2012 12:22:04 +0300
+
+# Unset the environment variables set by dpkg-buildpackage. (This is
+# necessary because distutils is brittle with compiler/linker flags
+# set. Specifically, packages using f2py will break without this.)
+unexport CPPFLAGS
+unexport CFLAGS
+unexport CXXFLAGS
+unexport FFLAGS
+unexport LDFLAGS
+
+#exports specified using stdeb Setup-Env-Vars:
+#export DH_OPTIONS=--buildsystem=python_distutils
+
+
+%:
+ dh $@
+
+
--- /dev/null
+PKG_NAME := bmap-tools
+SPECFILE = $(addsuffix .spec, $(PKG_NAME))
+PKG_VERSION := $(shell grep '^Version: ' $(SPECFILE)|awk '{print $$2}')
+
+TARBALL := $(PKG_NAME)_$(PKG_VERSION).tar.gz
+
+dsc: $(TARBALL)
+ $(eval MD5=$(shell md5sum $(TARBALL) | sed "s/ / $(shell stat -c '%s' $(TARBALL)) /"))
+ @sed -i 's/^Version:.*/Version: $(PKG_VERSION)/' $(PKG_NAME).dsc
+ @sed -i 's/ [a-f0-9]\+ [0-9]\+ $(PKG_NAME).*tar.*/ $(MD5)/' $(PKG_NAME).dsc
+
+tarball: $(TARBALL)
+$(TARBALL):
+ cd "$$(git rev-parse --show-toplevel)" \
+ && git archive --prefix $(PKG_NAME)-$(PKG_VERSION)/ HEAD \
+ | gzip > "$(CURDIR)/$(TARBALL)"
+
+clean:
+ rm -f $(PKG_NAME)*.tar.gz
+
+all: clean tarball dsc
--- /dev/null
+-------------------------------------------------------------------
+Sat Oct 27 19:13:31 UTC 2012 - eduard.bartosh@intel.com
+
+- Initial packaging
+
--- /dev/null
+Format: 1.0
+Source: bmap-tools
+Binary: bmap-tools
+Architecture: all
+Version: 0.1.0
+Maintainer: Ed Bartosh <eduard.bartosh@intel.com>
+Standards-Version: 3.8.4
+Build-Depends: debhelper (>= 7.0)
+Files:
+ 1c730ad6a7474a9aef288e1beea38ab9 5865 bmap-tools_0.1.0.tar.gz
--- /dev/null
+Name: bmap-tools
+Summary: Bmap Tools
+Version: 0.1.0
+Release: 1
+Group: Development/Tools/Other
+License: GPL-2.0
+BuildArch: noarch
+URL: http://otctools.jf.intel.com
+Source0: %{name}_%{version}.tar.gz
+
+Requires: python-distribute
+
+%description
+Bmap-flasher - Flash an image file to a block device using the block map (bmap).
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT/%{_bindir}
+install -m 755 bmap-flasher $RPM_BUILD_ROOT/%{_bindir}
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/*
+
+%changelog
+