updaetd disto specific files/folders 36/4036/1 accepted/tizen/20130617.174614 submit/tizen/20130617.153044
authorImran Zaman <imran.zaman@intel.com>
Mon, 17 Jun 2013 15:24:41 +0000 (18:24 +0300)
committerImran Zaman <imran.zaman@intel.com>
Mon, 17 Jun 2013 15:24:41 +0000 (18:24 +0300)
12 files changed:
ChangeLog
Makefile.am
Makefile.in
dists/rpm/libgsignon-glib-suse.spec [new file with mode: 0644]
dists/rpm/libgsignon-glib-tizen.changes [new file with mode: 0644]
dists/rpm/libgsignon-glib-tizen.spec [new file with mode: 0644]
docs/reference/html/gdbus-com.google.code.AccountsSSO.gSingleSignOn.AuthSession.html
docs/reference/html/gdbus-com.google.code.AccountsSSO.gSingleSignOn.Identity.html
packaging/libgsignon-glib.changes
packaging/libgsignon-glib.spec
tools/archive.sh [new file with mode: 0755]
tools/prepare-tizen.sh [new file with mode: 0755]

index 3732748..e8a738b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2013-06-17  Imran Zaman  <imran.zaman@intel.com>
+
+updated spec files
+
+2013-06-17  Imran Zaman  <imran.zaman@intel.com>
+
+changes made to distribution specific files
+
+2013-06-14  Imran Zaman  <imran.zaman@intel.com>
+
+added docs to tizen spec file
+
 2013-06-13  Imran Zaman  <imran.zaman@intel.com>
 
 added spec file for tizen
index 7c81d2e..b31445a 100644 (file)
@@ -36,6 +36,6 @@ DISTCLEANFILES = \
 valgrind:
        cd tests; make valgrind
 
-EXTRA_DIST = packaging
+EXTRA_DIST = dists tools
 
 .PHONY:  git-changelog-hook
index 7b56fd6..9c457e7 100644 (file)
@@ -313,7 +313,7 @@ dist_noinst_DATA = \
 DISTCLEANFILES = \
        $(pkgconfig_DATA)
 
-EXTRA_DIST = packaging
+EXTRA_DIST = dists tools
 all: config.h
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
 
diff --git a/dists/rpm/libgsignon-glib-suse.spec b/dists/rpm/libgsignon-glib-suse.spec
new file mode 100644 (file)
index 0000000..78d33e4
--- /dev/null
@@ -0,0 +1,81 @@
+#define dbus bus type to use [p2p, session, system]
+%define dbus_type session
+
+Name:       libgsignon-glib
+Summary:    GLib API for the SSO framework
+Version:    2.0.0
+Release:    1
+Group:      System/Libraries
+License:    LGPL
+Source:            %{name}-%{version}.tar.gz
+Requires: dbus-1
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires:  pkgconfig(gtk-doc)
+BuildRequires:  pkgconfig(check)
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(gobject-2.0)
+BuildRequires:  pkgconfig(gio-2.0)
+BuildRequires:  gobject-introspection
+
+%description
+%{summary}.
+
+
+%package devel
+Summary:    Development files for %{name}
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+gtkdocize
+autoreconf -f -i
+
+
+%build
+%configure \
+       --enable-gtk-doc \
+       --enable-gtk-doc-html \
+       --enable-python \
+       --enable-dbus-type=%{dbus_type}
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
+%{_libdir}/%{name}.so.*
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/%{name}/*.h
+%{_libdir}/%{name}.so
+%{_libdir}/%{name}.la
+%{_libdir}/pkgconfig/%{name}.pc
+%{_libdir}/girepository-1.0/gSignon-1.0.typelib
+%{_datadir}/gir-1.0/gSignon-1.0.gir
+#%{_datadir}/vala/vapi/gsignon.vapi
+%{_datadir}/gtk-doc/html/%{name}/*
+
+
+%changelog
+* Mon Feb 11 2013 Jussi Laako <jussi.laako@linux.intel.com> - 2.0
+- Refresh for the libgsignon-glib
+
diff --git a/dists/rpm/libgsignon-glib-tizen.changes b/dists/rpm/libgsignon-glib-tizen.changes
new file mode 100644 (file)
index 0000000..84b5b79
--- /dev/null
@@ -0,0 +1,2 @@
+* Mon Jun 17 2013 Imran Zaman <imran.zaman@.intel.com> - 2.0.0
+- Prepare for first release of libgsignon-glib 2.0.0
diff --git a/dists/rpm/libgsignon-glib-tizen.spec b/dists/rpm/libgsignon-glib-tizen.spec
new file mode 100644 (file)
index 0000000..25b0c65
--- /dev/null
@@ -0,0 +1,71 @@
+#define dbus bus type to use [p2p, session, system]
+%define dbus_type session
+
+Name:       libgsignon-glib
+Summary:    GLib API for the SSO framework
+Version:    2.0.0
+Release:    1
+Group:      System/Libraries
+License:    LGPL
+Source:            %{name}-%{version}.tar.gz
+Requires: dbus-1
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires:  pkgconfig(check)
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(gobject-2.0)
+BuildRequires:  pkgconfig(gio-2.0)
+BuildRequires:  gobject-introspection
+
+%description
+%{summary}.
+
+
+%package devel
+Summary:    Development files for %{name}
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+if [ -f = "gtk-doc.make" ]
+then
+rm gtk-doc.make
+fi
+touch gtk-doc.make
+autoreconf -f -i
+
+
+%build
+%configure --enable-dbus-type=%{dbus_type}
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+%post -p /sbin/ldconfig
+
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
+%{_libdir}/%{name}.so.*
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/%{name}/*.h
+%{_libdir}/%{name}.so
+%{_libdir}/pkgconfig/%{name}.pc
+%{_datadir}/gtk-doc/html/%{name}/*
+
index b63d657..3b74818 100644 (file)
@@ -49,7 +49,7 @@
 </pre>
 </div>
 <div class="refsect1">
-<a name="idp10065600"></a><h2>Signals</h2>
+<a name="idp35913312"></a><h2>Signals</h2>
 <pre class="synopsis">
 <a class="link" href="gdbus-com.google.code.AccountsSSO.gSingleSignOn.AuthSession.html#gdbus-signal-com-google-code-AccountsSSO-gSingleSignOn-AuthSession.stateChanged" title='The "stateChanged" signal'>stateChanged</a> (i state,
               s message);
index 2cbf795..3adc38b 100644 (file)
@@ -60,7 +60,7 @@
 </pre>
 </div>
 <div class="refsect1">
-<a name="idp7584976"></a><h2>Signals</h2>
+<a name="idp33809328"></a><h2>Signals</h2>
 <pre class="synopsis">
 <a class="link" href="gdbus-com.google.code.AccountsSSO.gSingleSignOn.Identity.html#gdbus-signal-com-google-code-AccountsSSO-gSingleSignOn-Identity.unregistered" title='The "unregistered" signal'>unregistered</a> ();
 <a class="link" href="gdbus-com.google.code.AccountsSSO.gSingleSignOn.Identity.html#gdbus-signal-com-google-code-AccountsSSO-gSingleSignOn-Identity.infoUpdated" title='The "infoUpdated" signal'>infoUpdated</a>  (i unnamed_arg0);
index 339b803..84b5b79 100644 (file)
@@ -1,3 +1,2 @@
-* Fri Jun 14 2013 Imran Zaman <imran.zaman@intel.com> submit/trunk/20130614.152325@0a8ca26
-- libgsignon-glib first release 2.0.0
-
+* Mon Jun 17 2013 Imran Zaman <imran.zaman@.intel.com> - 2.0.0
+- Prepare for first release of libgsignon-glib 2.0.0
index f1c3bae..25b0c65 100644 (file)
@@ -69,8 +69,3 @@ rm -rf %{buildroot}
 %{_libdir}/pkgconfig/%{name}.pc
 %{_datadir}/gtk-doc/html/%{name}/*
 
-
-%changelog
-* Mon Feb 11 2013 Jussi Laako <jussi.laako@linux.intel.com> - 2.0
-- Refresh for the libgsignon-glib
-
diff --git a/tools/archive.sh b/tools/archive.sh
new file mode 100755 (executable)
index 0000000..3fdf34c
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+#
+git archive --format=tar --prefix=libgsignon-glib-2.0.0/ -o ../libgsignon-glib-2.0.0.tar master
+bzip2 ../libgsignon-glib-2.0.0.tar
+mv ../libgsignon-glib-2.0.0.tar.bz2 ~/rpmbuild/SOURCES/
+
diff --git a/tools/prepare-tizen.sh b/tools/prepare-tizen.sh
new file mode 100755 (executable)
index 0000000..fe45be4
--- /dev/null
@@ -0,0 +1,22 @@
+# $1 corresponds to libgsignon-glib-<ver>.tar.gz 
+# $2 is the destination folder
+# NOTE: all the files will be extracted under destination folder (instead of destfolder/libgsignon-glib-<version>)
+
+if [ $# -ne 2 -o -z "$1" -o -z "$2" ]; then
+    echo "Invalid arguments supplied"
+    echo "Usage: ./prepare-tizen.sh libgsignon-glib-<version>.tar.gz destfolder"
+    echo "NOTE: All the files will be extracted under destfolder (instead of destfolder/libgsignon-glib-<version>)"
+    exit
+fi
+
+currdir = `pwd`;
+echo "CURR dir = $currdir"
+
+mkdir -p $2 && \
+tar -xzvf $1 -C $2 --strip-components 1 && \
+cd $2 && \
+mkdir -p packaging && \
+cd packaging && \
+cp -f ../dists/rpm/libgsignon-glib-tizen.spec libgsignon-glib.spec &&
+cp -f ../dists/rpm/libgsignon-glib-tizen.changes libgsignon-glib.changes;
+