diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 79 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/config | 8 | ||||
-rw-r--r-- | debian/control | 16 | ||||
-rw-r--r-- | debian/copyright | 24 | ||||
-rw-r--r-- | debian/postinst | 67 | ||||
-rwxr-xr-x | debian/rules | 3 | ||||
-rw-r--r-- | debian/templates | 4 |
8 files changed, 202 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..6d06f5b --- /dev/null +++ b/debian/changelog @@ -0,0 +1,79 @@ +samsung-locales-init (0.8-4) unstable; urgency=low + + * remove unused locale resources + * Git: slp/pkgs/s/samsung-locales-init + * Tag: samsung-locales-init_0.8-4 + + -- Hyungdeuk Kim <hd3.kim@samsung.com> Fri, 15 Jun 2012 13:20:47 +0900 + +samsung-locales-init (0.8-3) unstable; urgency=low + + * add '%files' to spec file for binary package + * Git: slp/pkgs/s/samsung-locales-init + * Tag: samsung-locales-init_0.8-3 + + -- Hyungdeuk Kim <hd3.kim@samsung.com> Fri, 23 Mar 2012 13:20:47 +0900 + +samsung-locales-init (0.8-2) unstable; urgency=low + + * pkg upload + * Git: slp/pkgs/s/samsung-locales-init + * Tag: samsung-locales-init_0.8-2 + + -- Hyungdeuk Kim <hd3.kim@samsung.com> Fri, 16 Mar 2012 01:20:47 +0900 + +samsung-locales-init (0.8-1) unstable; urgency=low + + * upload spec file + * Git: slp/pkgs/s/samsung-locales-init + * Tag: samsung-locales-init_0.8-1 + + -- Hyungdeuk Kim <hd3.kim@samsung.com> Fri, 16 Mar 2012 01:10:47 +0900 + +samsung-locales-init (0.8) unstable; urgency=low + + * Change license once more, to Apache-2.0. + + -- Rafal Krypa <r.krypa@samsung.com> Mon, 19 Dec 2011 15:10:47 +0100 + +samsung-locales-init (0.7) unstable; urgency=low + + * Change license to GPL-2+. + + -- Rafal Krypa <r.krypa@samsung.com> Thu, 15 Dec 2011 14:06:53 +0100 + +samsung-locales-init (0.6) unstable; urgency=low + + * Use debconf to configure package + + -- Karol Lewandowski <k.lewandowsk@samsung.com> Mon, 29 Nov 2010 14:10:09 +0900 + +samsung-locales-init (0.5) unstable; urgency=low + + * Provide scratchbox1-compatible glibc-common package replacement + + -- Karol Lewandowski <k.lewandowsk@samsung.com> Mon, 22 Nov 2010 15:38:12 +0900 + +samsung-locales-init (0.4) unstable; urgency=low + + * Use the proper name in the changelog as well + + -- Rafal Krypa <r.krypa@@samsung.com> Wed, 01 Sep 2010 15:44:14 +0900 + +slp-locales-init (0.3) unstable; urgency=low + + * Change package name to samsung-locales-init + + -- Rafal Krypa <r.krypa@@samsung.com> Mon, 30 Aug 2010 12:55:32 +0900 + +s3c-locales (0.2) unstable; urgency=low + + * Drop jp, ru, zh locales - keep only few popular en_* and ko locales + + -- Karol Lewandowski <k.lewandowsk@samsung.com> Wed, 26 May 2010 13:33:50 +0200 + +s3c-locales (0.1) unstable; urgency=low + + * Initial Release. + + -- Rafal Krypa <r.krypa@samsung.com> Mon, 18 Jan 2010 15:33:39 +0900 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/config b/debian/config new file mode 100644 index 0000000..1de6b90 --- /dev/null +++ b/debian/config @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_input low samsung-locales-init/locales-regex || true +db_go || true diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3056c95 --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: samsung-locales-init +Section: misc +Priority: extra +Maintainer: Rafal Krypa <r.krypa@samsung.com> +Build-Depends: cdbs, debhelper (>= 5) +Standards-Version: 3.8.3 + +Package: samsung-locales-init +Architecture: all +Depends: ${misc:Depends}, debconf-2.0, locales +Provides: glibc-common +Description: Locales selection for Samsung platforms + Enables and generates locales needed on Samsung platforms. + . + This package also provides scratchbox1-compatible 'glibc-common' + package containg exactly same set of generated locales. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..4e72f9d --- /dev/null +++ b/debian/copyright @@ -0,0 +1,24 @@ +This work was packaged for Debian by: + + Rafal Krypa <r.krypa@samsung.com> on Mon, 18 Jan 2010 15:33:39 +0900 + +Copyright: + + Copyright (C) 2010 Samsung Electronics + +License: + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +On Debian systems, the complete text of the Apache version 2.0 license +can be found in "/usr/share/common-licenses/Apache-2.0". diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..220a658 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,67 @@ +#!/bin/sh +# postinst script for samsung-locales-init +# +# 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 + +. /usr/share/debconf/confmodule + +case "$1" in + *configure) + TMP="`tempfile`" + + db_get samsung-locales-init/locales-regex + LOCALE_REGEXP="$RET" + + egrep -v '^(#|$)' /etc/locale.gen | + egrep -v "^ *$LOCALE_REGEXP" | + while read line + do + echo Disabling locale `echo $line | cut -d' ' -f1` 1>&2 + echo "-e 's|^$line\$|# $line|'" + done | + xargs sed /etc/locale.gen -r -e '' >"$TMP" + cat "$TMP" >/etc/locale.gen + + egrep "^# *$LOCALE_REGEXP" /etc/locale.gen | + sed 's/^# *//' | + while read line + do + echo Enabling locale `echo $line | cut -d' ' -f1` 1>&2 + echo "-e 's|^# *$line\$|$line|'" + done | + xargs sed /etc/locale.gen -r -e '' >"$TMP" + cat "$TMP" >/etc/locale.gen + rm "$TMP" + + locale-gen + ;; + + 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/debian/rules b/debian/rules new file mode 100755 index 0000000..e6192f6 --- /dev/null +++ b/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk diff --git a/debian/templates b/debian/templates new file mode 100644 index 0000000..49ce762 --- /dev/null +++ b/debian/templates @@ -0,0 +1,4 @@ +Template: samsung-locales-init/locales-regex +Description: Regex of locales to generate +Type: string +Default: (de_DE|el_GR|en_US|es_ES|fr_FR|it_IT|ja_JP|ko_KR|nl_NL|pt_PT|ru_RU|tr_TR|zh_CN|zh_HK|zh_TW).*UTF-8 |