diff options
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 46 | ||||
-rw-r--r-- | debian/librpm-tizen.install | 4 | ||||
-rwxr-xr-x | debian/rules | 28 |
5 files changed, 85 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 000000000..25e1af109 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +librpm-tizen (4.10.91.tizen20121215) unstable; urgency=low + + * Initial packaging + + -- Markus Lehtonen <markus.lehtonen@linux.intel.com> Tue, 17 Dec 2012 13:22:00 +0200 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 000000000..7f8f011eb --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 000000000..300fef560 --- /dev/null +++ b/debian/control @@ -0,0 +1,46 @@ +Source: librpm-tizen +Section: vcs +Priority: optional +Build-Depends: debhelper, + dpkg-dev, + dh-autoreconf, + libtool, + autoconf, + automake, + autotools-dev, + autopoint, + zlib1g-dev, + libpopt-dev, + libxml2-dev, + libreadline-dev, + libsqlite3-dev, + python-all-dev, + pkg-config, + libnspr4-dev, + libnss3-dev, + liblzma-dev, + libmagic-dev, + libelf-dev, + libdw-dev, + libdb-dev +Maintainer: Markus Lehtonen <markus.lehtonen@linux.intel.com> +Standards-Version: 3.9.3 +Homepage: http://rpm.org/ +X-Python-Version: >= 2.6 + +Package: librpm-tizen +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} +Description: The RPM libraries for git-buildpackage + RPM Package Manager is the main tool for managing the software packages + of Tizen. + . + RPM can be used to install and remove software packages. With rpm, it + is easy to update packages. RPM keeps track of all these manipulations + in a central database.»·This way it is possible to get an overview of + all installed packages. RPM also supports database queries. + . + This is a special stripped-down version of RPM, only intended to be used by the + git-buildpackage tool. Doesn't interfere with the RPM libraries of the host system. + This package only contains rpmlib and rpm-python. + diff --git a/debian/librpm-tizen.install b/debian/librpm-tizen.install new file mode 100644 index 000000000..78f09f7b8 --- /dev/null +++ b/debian/librpm-tizen.install @@ -0,0 +1,4 @@ +usr/lib*/*/*.so.* +usr/lib*/*/rpm/* +usr/lib/python*/dist-packages/*/*.so +usr/lib/python*/dist-packages/*/*.py* diff --git a/debian/rules b/debian/rules new file mode 100755 index 000000000..a1fdc32e9 --- /dev/null +++ b/debian/rules @@ -0,0 +1,28 @@ +#!/usr/bin/make -f + +python_mod_name := rpm_tizen + +CPPFLAGS += $(shell pkg-config --cflags nss) + +%: + dh $@ --with python2,autoreconf,autotools_dev + +override_dh_auto_configure: + dh_auto_configure -- --disable-dependency-tracking \ + --libdir=/usr/lib/librpm-tizen \ + --without-lua \ + --without-acl \ + --without-cap \ + --enable-shared \ + --enable-python \ + --with-external-db \ + --build=${DEB_BUILD_GNU_CPU}-tizen-linux \ + PYTHON_MODULENAME=$(python_mod_name) \ + CPPFLAGS="$(CPPFLAGS)" + +override_dh_auto_install: + dh_auto_install --destdir=debian/tmp + +override_dh_python2: + dh_python2 --no-guessing-versions + |