--- bbe-0.2.2.orig/debian/dirs
+++ bbe-0.2.2/debian/dirs
@@ -0,0 +1 @@
+usr/bin
--- bbe-0.2.2.orig/debian/copyright
+++ bbe-0.2.2/debian/copyright
@@ -0,0 +1,12 @@
+This package was debianized by David Moreno Garza <damog@debian.org> on
+Sun, 16 Oct 2005 13:26:35 -0500.
+
+It was downloaded from <http://sourceforge.net/projects/bbe-/>.
+
+Copyright Holder: Timo Savinen <tjsa@iki.fi>.
+
+License:
+You are free to distribute this software under the terms of the GNU
+General Public License. On Debian systems, the complete text of the GNU
+General Public License can be found in the file
+`/usr/share/common-licenses/GPL'.
--- bbe-0.2.2.orig/debian/changelog
+++ bbe-0.2.2/debian/changelog
@@ -0,0 +1,46 @@
+bbe (0.2.2-1.4.201403141412) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. No patches were applied to the original source package
+
+ -- Univention builddaemon <buildd@univention.de>  Fri, 14 Mar 2014 14:12:01 +0100
+
+bbe (0.2.2-1) unstable; urgency=low
+
+  * New upstream release. (Closes: #399577)
+  * Update debian/watch file. (Closes: #450295)
+  * Update upstream URL in debian/copyright.
+  * Fix FTBFS when built twice in a row. (Closes: #424141, #442505)
+    + Add Build-Depends on texinfo.
+    + Move upstream doc/bbe.html out of the way during the build
+      process.
+  * Remove unneeded Build-Depends on autotools-dev.
+  * Bump Standards-Version to 3.7.3.
+  * Add the Homepage field and remove it from the long description.
+  * Add the Vcs-Git/Vcs-Browser fields.
+  * Add the DM-Upload-Allowed field.
+  * Fix lintian warning "debian-rules-ignores-make-clean-error
+    line 43".
+
+ -- Aurélien GÉRÔME <ag@roxor.cx>  Tue, 05 Feb 2008 20:46:17 +0100
+
+bbe (0.1.9-1) unstable; urgency=low
+
+  * New maintainer. (Closes: #388074)
+  * New upstream release. (Closes: #389989)
+  * Update Standards-Version to 3.7.2.
+  * Update package description with project homepage.
+  * Add debian/watch file.
+
+ -- Aurélien GÉRÔME <ag@roxor.cx>  Sun, 15 Oct 2006 19:01:38 +0200
+
+bbe (0.1.8-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- David Moreno Garza <damog@debian.org>  Thu, 22 Dec 2005 19:06:17 -0600
+
+bbe (0.1.4-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- David Moreno Garza <damog@debian.org>  Sun, 16 Oct 2005 13:26:35 -0500
--- bbe-0.2.2.orig/debian/compat
+++ bbe-0.2.2/debian/compat
@@ -0,0 +1 @@
+4
--- bbe-0.2.2.orig/debian/info
+++ bbe-0.2.2/debian/info
@@ -0,0 +1 @@
+doc/bbe.info
--- bbe-0.2.2.orig/debian/rules
+++ bbe-0.2.2/debian/rules
@@ -0,0 +1,91 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+	[ ! -f doc/bbe.html ] || mv -f doc/bbe.html doc/bbe.html.upstream
+
+build: build-stamp
+build-stamp: config.status
+	dh_testdir
+	$(MAKE) CFLAGS="$(CFLAGS)"
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+	[ ! -f Makefile ] || $(MAKE) distclean
+	[ ! -f doc/bbe.html.upstream ] || mv -f doc/bbe.html.upstream doc/bbe.html
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/bbe
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- bbe-0.2.2.orig/debian/control
+++ bbe-0.2.2/debian/control
@@ -0,0 +1,18 @@
+Source: bbe
+Section: editors
+Priority: optional
+Maintainer: Aurélien GÉRÔME <ag@roxor.cx>
+Build-Depends: debhelper (>= 4.0.0), texinfo
+Standards-Version: 3.7.3
+Homepage: http://sourceforge.net/projects/bbe-/
+Vcs-Git: git://git.roxor.cx/git/bbe/
+Vcs-Browser: http://git.roxor.cx/?p=bbe
+DM-Upload-Allowed: yes
+
+Package: bbe
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: sed-like editor for binary files
+ Editor like sed, but for binary files. bbe performs basic byte
+ operations on blocks of input stream. bbe is a command line tool
+ developed for Unix systems.
--- bbe-0.2.2.orig/debian/docs
+++ bbe-0.2.2/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
--- bbe-0.2.2.orig/debian/watch
+++ bbe-0.2.2/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/bbe-/bbe-(.*)\.tar\.gz
