[Tizen-submit] 3113: New package Tizen:2.1:Main/locales-init

noreply at tizen.org noreply at tizen.org
Wed Apr 24 23:31:02 GMT 2013


Hi,
Adding new package locales-init in project Tizen:2.1:Main. Please review and accept ASAP.

Justification for this new package:

Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/system/locales-init
Tag: submit/tizen_2.1/20130424.233125
Commit: 748a2f5 Tizen 2.1 base

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #3113

  submit:       Tizen:2.1:Main:build/locales-init(cleanup) -> Tizen:2.1:Main


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/system/locales-init
Tag: submit/tizen_2.1/20130424.233125
Commit: 748a2f5 Tizen 2.1 base

State:   new        2013-04-24T16:01:41 tizenrobot
Comment: <no comment>
new:
----
  locales-init-1.1.tar.gz
  locales-init.spec

spec files:
-----------

++++++ new spec file:
--- locales-init.spec
+++ locales-init.spec
@@ -0,0 +1,36 @@
+Name:       locales-init
+Summary:    Locales selection
+Version:    1.1
+Release:    1
+VCS:        framework/system/locales-init#2.1_release-0-g748a2f5
+Group:      TO_BE/FILLED_IN
+License:    Apache License, Version 2.0
+Source0:    %{name}-%{version}.tar.gz
+Requires(post): eglibc-common
+Requires(post): findutils
+
+%description
+Locales selection
+
+%build
+echo "generating locales.."
+
+%prep
+
+%install
+
+%post
+LOCALE_REGEXP="(az_AZ|eu_ES|bg_BG|ca_ES|zh_CN|zh_HK|zh_TW|hr_HR|cs_CZ|da_DK|nl_NL|en_GB|en_US|et_EE|fi_FI|fr_FR|gl_ES|ka_GE|de_DE|el_GR|hu_HU|is_IS|ga_IE|it_IT|ja_JP|kk_KZ|ko_KR|lv_LV|lt_LT|mk_MK|nb_NO|pl_PL|pt_PT|pt_BR|ro_RO|ru_RU|sk_SK|sl_SI|es_ES|es_US|sv_SE|tr_TR|uk_UA|uz_UZ|ar_AE|zh_SG|en_PH|fr_CA|he_IL|id_ID|ms_MY|th_TH).utf8|(hy_AM|sr_RS|hi_IN|fa_Ir|ur_PK|vi_VN)$"
+LOCALE_DIR="/usr/lib/locale"
+
+find "$LOCALE_DIR" -maxdepth 1 -mindepth 1 | grep -Ev "$LOCALE_REGEXP" |
+while read line
+do
+        rm -rf "$line"
+done
+
+%files
+
+%changelog
+* Sun Jul 15 2012 - Hyungdeuk Kim <hd3.kim at samsung.com>
+- Add required pkg(findutils) for postinst at spec file

other changes:
--------------

++++++ locales-init-1.1.tar.gz (new)


More information about the Tizen-submit mailing list