diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2012-12-18 13:56:39 +0200 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-06-11 17:48:02 +0300 |
commit | ff18f94a0e1ad4a50b9308823b3633f9dd92db26 (patch) | |
tree | bec4bad427ec23e949e733a82b0e83bfc37bc35d /debian | |
parent | e6b20d86c02b2be44283c166a9e87d5e4a7225c2 (diff) | |
download | librpm-tizen-ff18f94a0e1ad4a50b9308823b3633f9dd92db26.tar.gz librpm-tizen-ff18f94a0e1ad4a50b9308823b3633f9dd92db26.tar.bz2 librpm-tizen-ff18f94a0e1ad4a50b9308823b3633f9dd92db26.zip |
packaging: add Debian packaging
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'debian')
-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 + |