Commit 0a3c302b authored by Corentin Noël's avatar Corentin Noël

Fixed debian packaging.

parent a10da269
......@@ -4,12 +4,14 @@ Priority: extra
Maintainer: Jussi Laako <jussi.laako@linux.intel.com>
Build-Depends: autotools-dev,
debhelper (>= 9),
dh-autoreconf,
gobject-introspection (>= 1.30.0),
gtk-doc-tools,
libdbus-1-dev,
libgirepository1.0-dev (>= 1.30.0),
libglib2.0-dev (>= 2.34),
pkg-config
pkg-config,
valac
Standards-Version: 3.9.5
Homepage: https://01.org/gsso
Vcs-Git: https://gitlab.com/accounts-sso/libgsignon-glib.git
......@@ -17,7 +19,8 @@ Vcs-Browser: https://gitlab.com/accounts-sso/libgsignon-glib/tree/master
Package: libgsignon-glib1
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Multi-Arch: same
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: gSSO client library
gSSO is a single sign-on framework, providing secure storage and single sign-on service.
......@@ -49,6 +52,7 @@ Description: GLib-based Single Sign On framework -- debugging symbols
Package: libgsignon-glib-doc
Section: doc
Suggests: devhelp
Architecture: all
Depends: ${misc:Depends}
Description: GLib-based Single Sign On framework -- documentation
......@@ -60,9 +64,7 @@ Description: GLib-based Single Sign On framework -- documentation
Package: gir1.2-gsignon-1.0
Section: introspection
Architecture: any
Depends: ${gir:Depends},
${misc:Depends},
${shlibs:Depends}
Depends: ${gir:Depends}, ${misc:Depends}, ${shlibs:Depends}
Description: GLib-based Single Sign On framework -- gir bindings
gSSO is a single sign-on framework, providing secure storage and single sign-on
service.
......
......@@ -10,6 +10,7 @@ License: LGPL-2.1+
Files: debian/*
Copyright: 2013 Jussi Laako <jussi.laako@linux.intel.com>
2013 Rico Tzschichholz <ricotz@ubuntu.com>
License: LGPL-2.1+
License: LGPL-2.1+
......
/usr/lib/*/girepository-1.0/gSignon-1.0.typelib
\ No newline at end of file
/usr/lib/*/girepository-1.0/gSignon-1.0.typelib
......@@ -2,4 +2,5 @@
/usr/include/libgsignon-glib/*
/usr/lib/*/libgsignon-glib.so
/usr/lib/*/pkgconfig/libgsignon-glib.pc
/usr/share/vala/vapi/libgsignon-glib.vapi
\ No newline at end of file
/usr/share/gir-1.0/*
/usr/share/vala/vapi/*
/usr/lib/*/libgsignon-glib.so.*
\ No newline at end of file
/usr/lib/*/libgsignon-glib.so.*
#!/bin/sh
# postinst script for libgsignon-glib
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <postinst> `abort-remove'
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
configure)
ldconfig
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
#!/bin/sh
# postrm script for libgsignon-glib
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <overwriter>
# <overwriter-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
ldconfig
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
#!/bin/sh
# preinst script for libgsignon-glib
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <new-preinst> `install'
# * <new-preinst> `install' <old-version>
# * <new-preinst> `upgrade' <old-version>
# * <old-preinst> `abort-upgrade' <new-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
install)
;;
upgrade)
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
#!/bin/sh
# prerm script for libgsignon-glib
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
remove|upgrade|deconfigure)
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
#!/usr/bin/make -f
# -*- makefile -*-
DEB_CONFIGURE_EXTRA_FLAGS += --enable-dbus-type=session
# Optionally build a debug version
#DEB_CONFIGURE_EXTRA_FLAGS += --enable-debug
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
# This has to be exported to make some magic below work.
export DH_OPTIONS
#export DH_VERBOSE=1
%:
dh $@ --parallel
dh $@ --with autoreconf --parallel
override_dh_autoreconf:
NOCONFIGURE=1 dh_autoreconf ./autogen.sh
override_dh_auto_configure:
dh_auto_configure -- --enable-dbus-type=session --enable-gtk-doc --enable-introspection=yes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment