Add packaging files (deb) release-20160315 release-20160411 release-test-0.1 release-test-20150810
authorZhang Qiang <qiang.z.zhang@intel.com>
Thu, 3 Jul 2014 01:57:30 +0000 (09:57 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Thu, 3 Jul 2014 02:06:36 +0000 (10:06 +0800)
Change-Id: Ie09a97c1b8a9c1d0cc79e8e607865f1f3998f62e

.gbp.conf [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/pyversions [new file with mode: 0644]
debian/rules [new file with mode: 0755]
rpm/.stage [new file with mode: 0644]

diff --git a/.gbp.conf b/.gbp.conf
new file mode 100644 (file)
index 0000000..d207f4f
--- /dev/null
+++ b/.gbp.conf
@@ -0,0 +1,15 @@
+[DEFAULT]
+upstream-tag = upstream/%(version)s
+patch-export = True
+patch-export-ignore-path = (.gbp.conf|.gbs.conf|packaging/.*|debian/.*|.gitignore)
+packaging-dir = packaging
+
+[git-buildpackage]
+upstream-tag = upstream/%(version)s
+packaging-dir = packaging
+
+[git-dch]
+upstream-tag = upstream/%(version)s
+
+[gbp-pq-rpm]
+pq-branch = patch-queue/%(branch)s
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..63686e0
--- /dev/null
@@ -0,0 +1,5 @@
+deltarpm (3.5.git) unstable; urgency=low
+
+  * First cut for ubuntu
+
+ -- Gui Chen <gui.chen@intel.com>  Wed, 1 Aug 2012 09:28:48 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..68a8455
--- /dev/null
@@ -0,0 +1,12 @@
+Source: deltarpm
+Section: admin
+Priority: optional
+Maintainer: Gui Chen <gui.chen@inte.com>
+Build-Depends: debhelper (>= 4.0.0), dpatch, cdbs, python-dev, python-support, libbz2-dev, librpm-dev, liblzma-dev
+Standards-Version: 3.7.3
+Homepage: ftp://ftp.suse.com/pub/projects/deltarpm
+
+Package: deltarpm
+Architecture: any
+Depends: ${python:Depends}, python-rpm, rpm (>= 4.1.1)
+Description: This package contains tools to create and apply deltarpms. A deltarpm contains the difference between an old and a new version of an RPM, which makes it possible to recreate the new RPM from the deltarpm and the old one. You do not need to have a copy of the old RPM, because deltarpms can also work with installed RPMs.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..aa8c994
--- /dev/null
@@ -0,0 +1,43 @@
+License:
+
+   This package is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+
+   This package is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+
+The library (dumpMetadata.py, genpkgmetadata.py and readMetadata.py) is
+released under terms of GNU Lesser General Public License:
+
+    This package is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+
+The Debian packaging is (C) 2006, Adam Cécile (Le_Vert) <gandalf@le-vert.net>
+and is licensed under the GPL, see above.
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..e845566
--- /dev/null
@@ -0,0 +1 @@
+README
diff --git a/debian/pyversions b/debian/pyversions
new file mode 100644 (file)
index 0000000..57a7586
--- /dev/null
@@ -0,0 +1 @@
+2.3-
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..fa83201
--- /dev/null
@@ -0,0 +1,50 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+unexport LDFLAGS
+
+build:
+       dh_testdir
+
+       $(MAKE) CC="gcc"
+       $(MAKE) CC="gcc" python
+
+clean:
+       dh_testdir
+       dh_testroot
+       $(MAKE) clean
+       dh_clean 
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k 
+       dh_installdirs
+
+       $(MAKE) DESTDIR=$(CURDIR)/debian/deltarpm prefix=/usr mandir=/usr/share/man/man1 install
+
+binary-indep: build install
+
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs
+       dh_installdocs
+       dh_install
+       dh_installman
+       dh_pysupport
+       dh_link
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/rpm/.stage b/rpm/.stage
new file mode 100644 (file)
index 0000000..e69de29