summaryrefslogtreecommitdiff
path: root/dists
diff options
context:
space:
mode:
authorImran Zaman <imran.zaman@intel.com>2013-11-22 15:27:57 +0200
committerImran Zaman <imran.zaman@intel.com>2013-11-22 15:28:38 +0200
commitfa895b6661a57600a19f9b3862d3ebfc817fc796 (patch)
tree3311e4f463971238e91610151f587073359beaea /dists
parentdc4f4f2b455dced5b0f13030dc9813c9856bdd9f (diff)
downloadlibgsignon-glib-fa895b6661a57600a19f9b3862d3ebfc817fc796.tar.gz
libgsignon-glib-fa895b6661a57600a19f9b3862d3ebfc817fc796.tar.bz2
libgsignon-glib-fa895b6661a57600a19f9b3862d3ebfc817fc796.zip
Change-Id: I715eafff33c69635b8f4567bc575f53bc4554af1
Diffstat (limited to 'dists')
-rw-r--r--dists/debian/README.Debian6
-rw-r--r--dists/debian/changelog11
-rw-r--r--dists/debian/compat1
-rw-r--r--dists/debian/control33
-rw-r--r--dists/debian/copyright33
-rw-r--r--dists/debian/docs3
-rw-r--r--dists/debian/install1
-rw-r--r--dists/debian/libgsignon-glib-dev.install5
-rw-r--r--dists/debian/libgsignon-glib-doc.docs1
-rw-r--r--dists/debian/libgsignon-glib-doc.install1
-rw-r--r--dists/debian/postinst40
-rw-r--r--dists/debian/postrm38
-rw-r--r--dists/debian/preinst37
-rw-r--r--dists/debian/prerm38
-rw-r--r--dists/debian/rules25
-rw-r--r--dists/debian/source/format1
-rw-r--r--dists/rpm/libgsignon-glib-suse.spec15
-rw-r--r--dists/rpm/libgsignon-glib-tizen.changes3
-rw-r--r--dists/rpm/libgsignon-glib-tizen.spec11
19 files changed, 297 insertions, 6 deletions
diff --git a/dists/debian/README.Debian b/dists/debian/README.Debian
new file mode 100644
index 0000000..cf44e12
--- /dev/null
+++ b/dists/debian/README.Debian
@@ -0,0 +1,6 @@
+The Debian Package libgsignon-glib
+----------------------------------
+
+This is default Debian packaging for libgsignon-glib.
+
+ -- Jussi Laako <jussi.laako@linux.intel.com> Thu, 04 Jul 2013 15:28:50 +0300
diff --git a/dists/debian/changelog b/dists/debian/changelog
new file mode 100644
index 0000000..f6b07ef
--- /dev/null
+++ b/dists/debian/changelog
@@ -0,0 +1,11 @@
+libgsignon-glib (2.0.1-2) unstable; urgency=low
+
+ * Produce a separate debug symbols package
+
+ -- Jussi Laako <jussi.laako@linux.intel.com> Wed, 10 Jul 2013 15:08:00 +0300
+
+libgsignon-glib (2.0.1-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Jussi Laako <jussi.laako@linux.intel.com> Thu, 04 Jul 2013 15:28:50 +0300
diff --git a/dists/debian/compat b/dists/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/dists/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/dists/debian/control b/dists/debian/control
new file mode 100644
index 0000000..c8da4c4
--- /dev/null
+++ b/dists/debian/control
@@ -0,0 +1,33 @@
+Source: libgsignon-glib
+Section: net
+Priority: extra
+Maintainer: Jussi Laako <jussi.laako@linux.intel.com>
+Build-Depends: debhelper (>= 8.0.0), autotools-dev, pkg-config, libdbus-1-dev, gtk-doc-tools, gobject-introspection, libglib2.0-dev, libgirepository1.0-dev
+Standards-Version: 3.9.2
+Homepage: https://01.org/gsso
+Vcs-Git: http://code.google.com/p/accounts-sso.libgsignon-glib/
+Vcs-Browser: http://code.google.com/p/accounts-sso/source/browse/?repo=libgsignon-glib
+
+Package: libgsignon-glib
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: gSSO client library
+ gSSO is a single sign-on framework, providing secure storage and single sign-on service.
+
+Package: libgsignon-glib-dev
+Architecture: any
+Depends: libgsignon-glib (= ${binary:Version}), ${misc:Depends}
+Description: development files for libgsignon-glib
+ Headers and libraries necessary for developing applications using gSSO.
+
+Package: libgsignon-glib-dbg
+Architecture: any
+Depends: libgsignon-glib (= ${binary:Version}), ${misc:Depends}
+Description: debug symbols for libgsignon-glib
+ Debug symbols necessary for debugging applications using gSSO.
+
+Package: libgsignon-glib-doc
+Architecture: all
+Description: documentation for libgsignon-glib
+ Developer documentation for developing applications using gSSO.
+
diff --git a/dists/debian/copyright b/dists/debian/copyright
new file mode 100644
index 0000000..13542e8
--- /dev/null
+++ b/dists/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: libgsignon-glib
+Source: http://code.google.com/p/accounts-sso/source/checkout?repo=libgsignon-glib
+
+Files: *
+Copyright: 2009 - 2010 Nokia Corporation
+ 2012 - 2013 Intel Corporation
+ 2012 - 2013 Canonical Ltd
+License: LGPL-2.1+
+
+Files: debian/*
+Copyright: 2013 Jussi Laako <jussi.laako@linux.intel.com>
+License: LGPL-2.1+
+
+License: LGPL-2.1+
+ This package 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 2.1 of the License, or (at your option) any later version.
+ .
+ This package 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 can be found in "/usr/share/common-licenses/LGPL-2.1".
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
diff --git a/dists/debian/docs b/dists/debian/docs
new file mode 100644
index 0000000..6f83607
--- /dev/null
+++ b/dists/debian/docs
@@ -0,0 +1,3 @@
+AUTHORS
+NEWS
+README
diff --git a/dists/debian/install b/dists/debian/install
new file mode 100644
index 0000000..e74280f
--- /dev/null
+++ b/dists/debian/install
@@ -0,0 +1 @@
+/usr/lib/libgsignon-glib.so.*
diff --git a/dists/debian/libgsignon-glib-dev.install b/dists/debian/libgsignon-glib-dev.install
new file mode 100644
index 0000000..88332b2
--- /dev/null
+++ b/dists/debian/libgsignon-glib-dev.install
@@ -0,0 +1,5 @@
+/usr/include/libgsignon-glib/*
+/usr/lib/libgsignon-glib.so
+/usr/lib/libgsignon-glib*.la
+/usr/lib/pkgconfig/libgsignon-glib.pc
+/usr/lib/girepository-1.0/gSignon-1.0.typelib
diff --git a/dists/debian/libgsignon-glib-doc.docs b/dists/debian/libgsignon-glib-doc.docs
new file mode 100644
index 0000000..d4f4542
--- /dev/null
+++ b/dists/debian/libgsignon-glib-doc.docs
@@ -0,0 +1 @@
+#DOCS#
diff --git a/dists/debian/libgsignon-glib-doc.install b/dists/debian/libgsignon-glib-doc.install
new file mode 100644
index 0000000..c3de110
--- /dev/null
+++ b/dists/debian/libgsignon-glib-doc.install
@@ -0,0 +1 @@
+/usr/share/gtk-doc/html/libgsignon-glib/*
diff --git a/dists/debian/postinst b/dists/debian/postinst
new file mode 100644
index 0000000..f6b7327
--- /dev/null
+++ b/dists/debian/postinst
@@ -0,0 +1,40 @@
+#!/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
diff --git a/dists/debian/postrm b/dists/debian/postrm
new file mode 100644
index 0000000..756665a
--- /dev/null
+++ b/dists/debian/postrm
@@ -0,0 +1,38 @@
+#!/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
diff --git a/dists/debian/preinst b/dists/debian/preinst
new file mode 100644
index 0000000..2833b93
--- /dev/null
+++ b/dists/debian/preinst
@@ -0,0 +1,37 @@
+#!/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
diff --git a/dists/debian/prerm b/dists/debian/prerm
new file mode 100644
index 0000000..1d1747f
--- /dev/null
+++ b/dists/debian/prerm
@@ -0,0 +1,38 @@
+#!/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
diff --git a/dists/debian/rules b/dists/debian/rules
new file mode 100644
index 0000000..d4d423c
--- /dev/null
+++ b/dists/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+DEB_CONFIGURE_EXTRA_FLAGS += --enable-dbus-type=session
+
+# 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
+
+%:
+ dh $@ --parallel
+
+override_dh_auto_configure:
+ dh_auto_configure -- --enable-dbus-type=session --enable-gtk-doc --enable-introspection=yes
+
+.PHONY: override_dh_auto_test
+override_dh_auto_test:
+ true
+
+.PHONY: override_dh_strip
+override_dh_strip:
+ dh_strip --dbg-package=libgsignon-glib-dbg
+
diff --git a/dists/debian/source/format b/dists/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/dists/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/dists/rpm/libgsignon-glib-suse.spec b/dists/rpm/libgsignon-glib-suse.spec
index 9f83df5..c8cb082 100644
--- a/dists/rpm/libgsignon-glib-suse.spec
+++ b/dists/rpm/libgsignon-glib-suse.spec
@@ -3,12 +3,14 @@
Name: libgsignon-glib
Summary: GLib API for the SSO framework
-Version: 2.0.1
-Release: 1
+Version: 2.0.2
+Release: 4
Group: System/Libraries
-License: LGPL
+License: LGPL-2.1+
Source: %{name}-%{version}.tar.gz
+URL: https://01.org/gsso
Requires: dbus-1
+Requires: gsignon
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(gtk-doc)
@@ -31,6 +33,9 @@ Requires: %{name} = %{version}-%{release}
%{summary}.
+%debug_package
+
+
%prep
%setup -q -n %{name}-%{version}
gtkdocize
@@ -73,9 +78,13 @@ rm -rf %{buildroot}
%{_datadir}/gir-1.0/gSignon-1.0.gir
#%{_datadir}/vala/vapi/gsignon.vapi
%{_datadir}/gtk-doc/html/%{name}/*
+%{_bindir}/gsso-example
%changelog
+* Fri Nov 22 2013 Imran Zaman <imran.zaman@intel.com>
+- Release 2.0.2 that fixes package licensing info and added docs
+
* Mon Jun 24 2013 Imran Zaman <imran.zaman@intel.com>
- Release 2.0.1 that comprises of bug fixes
diff --git a/dists/rpm/libgsignon-glib-tizen.changes b/dists/rpm/libgsignon-glib-tizen.changes
index 582ec12..6ed2244 100644
--- a/dists/rpm/libgsignon-glib-tizen.changes
+++ b/dists/rpm/libgsignon-glib-tizen.changes
@@ -1,3 +1,6 @@
+* Fri Nov 22 2013 Imran Zaman <imran.zaman@intel.com>
+- Release 2.0.2 that fixes package licensing info and added docs
+
* Mon Jun 24 2013 Imran Zaman <imran.zaman@intel.com>
- Release 2.0.1 that comprises of bug fixes
diff --git a/dists/rpm/libgsignon-glib-tizen.spec b/dists/rpm/libgsignon-glib-tizen.spec
index 3b027fc..51c76cd 100644
--- a/dists/rpm/libgsignon-glib-tizen.spec
+++ b/dists/rpm/libgsignon-glib-tizen.spec
@@ -3,12 +3,14 @@
Name: libgsignon-glib
Summary: GLib API for the SSO framework
-Version: 2.0.1
-Release: 1
+Version: 2.0.2
+Release: 4
Group: System/Libraries
-License: LGPL
+License: LGPL-2.1+
Source: %{name}-%{version}.tar.gz
+URL: https://01.org/gsso
Requires: dbus-1
+Requires: gsignon
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(check)
@@ -67,5 +69,8 @@ rm -rf %{buildroot}
%{_includedir}/%{name}/*.h
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
+%{_libdir}/girepository-1.0/gSignon-1.0.typelib
+%{_datadir}/gir-1.0/gSignon-1.0.gir
%{_datadir}/gtk-doc/html/%{name}/*
+%{_bindir}/gsso-example