tizen: fix build/release script and package group
authorImran Zaman <imran.zaman@intel.com>
Fri, 7 Mar 2014 12:06:05 +0000 (14:06 +0200)
committerJussi Laako <jussi.laako@linux.intel.com>
Tue, 18 Mar 2014 15:44:56 +0000 (17:44 +0200)
dists/rpm/libgsignon-glib-tizen.spec
tools/prepare-tizen.sh

index 1d4821889b2db34c81e4514b405cdfb87db06c35..5645423e36c0323a1b67a27b94cdeec050a2ebf8 100644 (file)
@@ -4,8 +4,8 @@
 Name:       libgsignon-glib
 Summary:    GLib API for the SSO framework
 Version:    2.1.0
-Release:    1
-Group:      System/Libraries
+Release:    2
+Group:      Security/Accounts
 License:    LGPL-2.1
 Source:            %{name}-%{version}.tar.gz
 URL: https://01.org/gsso
@@ -17,7 +17,6 @@ BuildRequires:  pkgconfig(check)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(gobject-2.0)
 BuildRequires:  pkgconfig(gio-2.0)
-BuildRequires:  gobject-introspection
 
 %description
 %{summary}.
@@ -34,12 +33,6 @@ Requires:   %{name} = %{version}-%{release}
 
 %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
index 16632983045aa28bd07dc7c7321e878007d922b6..f1fa04ea811f0a026003a4d186e926688227a219 100755 (executable)
@@ -4,20 +4,16 @@
 
 if [ $# -ne 2 -o -z "$1" -o -z "$2" ]; then
     echo "Invalid arguments supplied"
-    echo "Usage: ./prepare-tizen.sh libgsignon-glib-<version>.tar.gz /absolute/path/to/destfolder"
+    echo "Usage: ./prepare-tizen.sh <arcive> <destination>"
     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 && \
 cd $2 && \
-git rm -r *; rm -rf packaging;
-tar -xzvf $currdir/$1 -C $2 --strip-components 1 && \
+git rm -f -r *; rm -rf packaging;
+tar -xzvf $1 -C $2 --strip-components 1 && \
 mkdir -p packaging && \
 cp -f dists/rpm/libgsignon-glib-tizen.spec packaging/libgsignon-glib.spec && \
 cp -f dists/rpm/libgsignon-glib-tizen.changes packaging/libgsignon-glib.changes && \
-cp $currdir/.gitignore $2/ && \
 git add -f *;