[libbssolv-perl] 01/06: initial packaging draft

Mike Gabriel sunweaver at debian.org
Mon Sep 29 13:05:56 UTC 2014


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository libbssolv-perl.

commit fa1aeb9af6bbbed88236d268bd2862a2d114470e
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Sep 29 12:15:44 2014 +0200

    initial packaging draft
---
 debian/changelog                                   |  5 ++++
 debian/compat                                      |  1 +
 debian/control                                     | 28 ++++++++++++++++++++++
 ...01_libsolv-dev-installs-to-multiarch-dest.patch | 11 +++++++++
 debian/patches/README                              |  3 +++
 debian/patches/series                              |  1 +
 debian/rules                                       |  7 ++++++
 debian/source/format                               |  1 +
 debian/watch                                       |  3 +++
 9 files changed, 60 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c2a8bb6
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libbssolv-perl (0.02-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #nnnnnn).
+
+ -- Mike Gabriel <sunweaver at debian.org>  Thu, 18 Sep 2014 18:08:58 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..af56f18
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: libbssolv-perl
+Section: perl
+Priority: optional
+Build-Depends:
+ debhelper (>= 9),
+ perl,
+ cmake,
+ libsolv-dev,
+ liblzma-dev,
+ libz-dev,
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders:
+ Mike Gabriel <sunweaver at debian.org>
+Standards-Version: 3.9.5
+Homepage: https://github.com/openSUSE/perl-BSSolv
+Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libbssolv-perl.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libbssolv-perl.git
+
+Package: libbssolv-perl
+Architecture: any
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+ ${perl:Depends},
+Description: Using a Satisfyability Solver to compute package dependencies.
+ Fancy stuff.
+
+
diff --git a/debian/patches/2001_libsolv-dev-installs-to-multiarch-dest.patch b/debian/patches/2001_libsolv-dev-installs-to-multiarch-dest.patch
new file mode 100644
index 0000000..44d8e4f
--- /dev/null
+++ b/debian/patches/2001_libsolv-dev-installs-to-multiarch-dest.patch
@@ -0,0 +1,11 @@
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -2,7 +2,7 @@
+ 
+ my $solvprefix = '/usr';
+ 
+-my $inc = "-I$solvprefix/include/solv";
++my $inc = "-I$solvprefix/include/`dpkg-architecture -qDEB_BUILD_MULTIARCH`/solv";
+ my $lib = '';
+ 
+ if (grep {$_ eq '--bundled-libsolv'} @ARGV) {
diff --git a/debian/patches/README b/debian/patches/README
new file mode 100644
index 0000000..80c1584
--- /dev/null
+++ b/debian/patches/README
@@ -0,0 +1,3 @@
+0xxx: Grabbed from upstream development.
+1xxx: Possibly relevant for upstream adoption.
+2xxx: Only relevant for official Debian release.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..676d496
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+2001_libsolv-dev-installs-to-multiarch-dest.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..6749484
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@
+
+get-orig-source:
+	uscan --noconf --force-download --rename --download-current-version --destdir=..
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..ff8913a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.*\/([\d\.-]+)\.tar\.gz/perl-BSSolv-$1.tar.gz/,dversionmangle=s/\+dfsg// \
+https://github.com/openSUSE/perl-BSSolv/tags .*/archive/([\d\.]+).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libbssolv-perl.git



More information about the Pkg-perl-cvs-commits mailing list