diff options
author | Andrew Shadura <andrewsh@debian.org> | 2015-12-19 23:24:34 +0100 |
---|---|---|
committer | Andrew Shadura <andrewsh@debian.org> | 2015-12-19 23:31:11 +0100 |
commit | 86c9a598b2407467f826246185cc1ebbe81a0b19 (patch) | |
tree | ac45a3d3738d54a2f1bb0c4a83c598dba514bf38 /debian | |
parent | 749948b6669dc9fda1ad2f5af2c72b5ce6174333 (diff) |
Add Debian packaging.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 10 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 50 | ||||
-rw-r--r-- | debian/copyright | 32 | ||||
-rw-r--r-- | debian/libsoup2.4-cil-dev.install | 2 | ||||
-rw-r--r-- | debian/libsoup2.4-cil.install | 2 | ||||
-rw-r--r-- | debian/libsoup2.4-cil.installcligac | 1 | ||||
-rw-r--r-- | debian/monodoc-soup2.4-manual.install | 1 | ||||
-rw-r--r-- | debian/patches/01-pkgconfig_lib_path.patch | 16 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rwxr-xr-x | debian/rules | 23 | ||||
-rw-r--r-- | debian/source/format | 1 |
12 files changed, 140 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..37bbbd0 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,10 @@ +soup-sharp (2.42.2+git20151219-1) unstable; urgency=low + + [ Thanh Tung Nguyen ] + * Initial release for 2.42.2 + + [ Andrew Shadura ] + * Update the packaging to the latest Git version (closes: #807894). + * Update the copyright file. + + -- Andrew Shadura <andrewsh@debian.org> Mon, 14 Dec 2015 09:29:13 +0100 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..0a5c8d3 --- /dev/null +++ b/debian/control @@ -0,0 +1,50 @@ +Source: soup-sharp +Section: cli-mono +Priority: optional +Maintainer: Debian CLI Libraries Team <pkg-cli-libs-team@lists.alioth.debian.org> +Uploaders: Andrew Shadura <andrewsh@debian.org> +Homepage: https://github.com/stsundermann/soup-sharp +Standards-Version: 3.9.6 +Build-Depends: + cli-common-dev (>= 0.8~), + debhelper (>= 9), + dh-autoreconf, + gtk-sharp3 (>= 2.99.2), + libsoup2.4-dev (>= 2.42.2), + mono-devel (>= 1.0.0), + mono-gac, + mono-mcs, + monodoc-base, + pkg-config + +Package: libsoup2.4-cil +Architecture: any +Depends: ${cli:Depends}, ${misc:Depends}, ${shlibs:Depends} +Description: CLI bindings for libsoup2.4 + Soup# 2.4 is a CLI (.NET) language binding for the Soup 2.4 HTTP implementation + library. + . + This package provides the soup-sharp assembly that allows CLI (.NET) programs + to use the Soup HTTP implementation library. + +Package: libsoup2.4-cil-dev +Architecture: any +Depends: libsoup2.4-cil (= ${binary:Version}), ${misc:Depends} +Description: CLI bindings for libsoup2.4 - development package + Soup# 2.4 is a CLI (.NET) language binding for the Soup 2.4 HTTP implementation + library. + . + This package contains development files for the soup-sharp library, and should + be used for compilation. + +Package: monodoc-soup2.4-manual +Architecture: all +Section: doc +Priority: extra +Depends: monodoc-manual, ${misc:Depends} +Description: compiled XML documentation for Soup# 2.4 + The MonoDoc Project is the documentation framework of the Mono project which + provides detailed API documentation for all Mono components and the Mono CLI + implementation. + . + This package contains the compiled XML documentation for Soup# 2.4 of MonoDoc. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..0677944 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,32 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: soup-sharp +Source: https://github.com/stsundermann/soup-sharp/archive/0f36d103e567da1d1a8b5c43e1457c3d0c30393b.tar.gz + +Files: * +Copyright: + 2011—2012 Andreia Gaita <shana@spoiledcat.net> + 2013—2015 Stephan Sundermann <stephansundermann@gmail.com> +License: LGPL-3+ + +Files: debian/* +Copyright: + 2013-2015 Thanh Tung Nguyen <thngtong@gmail.com> + 2015 Andrew Shadura <andrewsh@debian.org> +License: LGPL-3+ + +License: LGPL-3+ + soup-sharp 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 3 of the License, or (at your option) + any later version. + . + This program 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 General Public License along with + this program. If not, see http://www.gnu.org/licenses/ + . + On Debian systems, the complete text of the GNU Lesser General Public License + version 3 can be found in "/usr/share/common-licenses/LGPL-3". diff --git a/debian/libsoup2.4-cil-dev.install b/debian/libsoup2.4-cil-dev.install new file mode 100644 index 0000000..5251467 --- /dev/null +++ b/debian/libsoup2.4-cil-dev.install @@ -0,0 +1,2 @@ +usr/lib/pkgconfig/soup-sharp-2.4.pc +usr/share/gapi-3.0 diff --git a/debian/libsoup2.4-cil.install b/debian/libsoup2.4-cil.install new file mode 100644 index 0000000..04baa70 --- /dev/null +++ b/debian/libsoup2.4-cil.install @@ -0,0 +1,2 @@ +usr/lib/libsoupsharpglue-2.42.2.so usr/lib/cli/soup-sharp-2.4/ +usr/lib/mono/gac/soup-sharp/2.42.*/* usr/lib/cli/soup-sharp-2.4/ diff --git a/debian/libsoup2.4-cil.installcligac b/debian/libsoup2.4-cil.installcligac new file mode 100644 index 0000000..84d42dd --- /dev/null +++ b/debian/libsoup2.4-cil.installcligac @@ -0,0 +1 @@ +/usr/lib/cli/soup-sharp-2.4/soup-sharp.dll diff --git a/debian/monodoc-soup2.4-manual.install b/debian/monodoc-soup2.4-manual.install new file mode 100644 index 0000000..b4721fc --- /dev/null +++ b/debian/monodoc-soup2.4-manual.install @@ -0,0 +1 @@ +usr/lib/monodoc diff --git a/debian/patches/01-pkgconfig_lib_path.patch b/debian/patches/01-pkgconfig_lib_path.patch new file mode 100644 index 0000000..b458e36 --- /dev/null +++ b/debian/patches/01-pkgconfig_lib_path.patch @@ -0,0 +1,16 @@ +From 1c96a20da588556d2db3419dee1d9d06b10b525c Mon Sep 17 00:00:00 2001 +From: Thanh Tung Nguyen <thngtong@gmail.com> +Date: Sun, 18 Jan 2015 18:15:09 +0100 +Subject: [PATCH] Fix pkgconfig file. + +--- a/soup-sharp-2.4.pc.in ++++ b/soup-sharp-2.4.pc.in +@@ -1,7 +1,7 @@ + prefix=@prefix@ + exec_prefix=${prefix} + libdir=@libdir@ +-pkglibdir=${exec_prefix}/lib/mono/@ASSEMBLY_NAME@ ++pkglibdir=${exec_prefix}/lib/cli/@ASSEMBLY_PC@ + gapidir=@GAPIXMLDIR@ + + Name: @ASSEMBLY_TITLE@ diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..a963f2d --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +01-pkgconfig_lib_path.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..bff7b2f --- /dev/null +++ b/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +export DH_ALWAYS_EXCLUDE=.git + +CONFIG=--prefix=/usr --libdir=/usr/lib + +override_dh_auto_clean: + dh_auto_clean + rm -f sources/glue/generated.c stamp-h + rm -rf doc/en/* sources/generated/* + +override_dh_auto_configure: + dh_auto_configure --parallel -- $(CONFIG) + +override_dh_auto_install: + dh_auto_install --destdir=$(CURDIR)/debian/tmp + +override_dh_makeshlibs: + dh_makeshlibs -n -plibsoup2.4-cil + dh_makeshlibs --remaining-packages + +%: + dh $@ --parallel --with autoreconf --with cli 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) |