Compare commits
No commits in common. "c8" and "c10s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
22
.gitignore
vendored
22
.gitignore
vendored
@ -1,2 +1,20 @@
|
|||||||
SOURCES/inscript2-20160423.tar.gz
|
m17n-db-1.6.1.tar.gz
|
||||||
SOURCES/m17n-db-1.8.0.tar.gz
|
/m17n-db-1.6.2.tar.gz
|
||||||
|
/m17n-db-1.6.3.tar.gz
|
||||||
|
/m17n-db-1.6.4.tar.gz
|
||||||
|
/m17n-db-1.6.5.tar.gz
|
||||||
|
/inscript2-20120320.tar.gz
|
||||||
|
/m17n-db-1.7.0.tar.gz
|
||||||
|
/inscript2-20160423.tar.gz
|
||||||
|
/m17n-db-1.8.0RC.tar.gz
|
||||||
|
/m17n-db-1.8.0.tar.gz
|
||||||
|
/m17n-db-sayura-1.0.0.tar.gz
|
||||||
|
/inscript2-20210803.tar.gz
|
||||||
|
/inscript2-20210809.tar.gz
|
||||||
|
/inscript2-20210812.tar.gz
|
||||||
|
/inscript2-20210820.tar.gz
|
||||||
|
/m17n-db-1.8.1.tar.gz
|
||||||
|
/m17n-db-1.8.2.tar.gz
|
||||||
|
/m17n-db-1.8.3.tar.gz
|
||||||
|
/m17n-db-1.8.4.tar.gz
|
||||||
|
/m17n-db-1.8.5.tar.gz
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
ed1e419adb26fc79c1b3b9de8a3ac3a089e35b51 SOURCES/inscript2-20160423.tar.gz
|
|
||||||
b314d22e726b06676f405ac1e06cad2823868bc3 SOURCES/m17n-db-1.8.0.tar.gz
|
|
@ -1,48 +0,0 @@
|
|||||||
--- MIM/bn-itrans.mim.orig 2013-05-23 18:22:04.000000000 +0530
|
|
||||||
+++ MIM/bn-itrans.mim 2014-01-27 19:27:28.818981529 +0530
|
|
||||||
@@ -127,16 +127,10 @@
|
|
||||||
("U" "ঊ")
|
|
||||||
("RRi" "ঋ")
|
|
||||||
("R^i" "ঋ")
|
|
||||||
- ("LLi" "ঌ") ; not in ITRANS Bengali table
|
|
||||||
- ("L^i" "ঌ") ; not in ITRANS Bengali table
|
|
||||||
("e" "এ")
|
|
||||||
("ai" "ঐ")
|
|
||||||
("o" "ও")
|
|
||||||
("au" "ঔ")
|
|
||||||
- ("RRI" "ৠ") ; not in ITRANS Bengali table
|
|
||||||
- ("R^I" "ৠ") ; not in ITRANS Bengali table
|
|
||||||
- ("LLI" "ৡ") ; not in ITRANS Bengali table
|
|
||||||
- ("L^I" "ৡ") ; not in ITRANS Bengali table
|
|
||||||
(".N" "ঁ")
|
|
||||||
(".n" "ং")
|
|
||||||
("M" "ং") ; not in ITRANS Bengali table
|
|
||||||
@@ -153,10 +147,6 @@
|
|
||||||
("7" "৭")
|
|
||||||
("8" "৮")
|
|
||||||
("9" "৯")
|
|
||||||
- ("#" "্র") ; not in ITRANS Bengali table
|
|
||||||
- ("$" "র্") ; not in ITRANS Bengali table
|
|
||||||
- ("^" "ত্র") ; not in ITRANS Bengali table
|
|
||||||
- ("*" "শ্র") ; not in ITRANS Bengali table
|
|
||||||
("]" "়") ; not in ITRANS Bengali table
|
|
||||||
((KP_1) "১")
|
|
||||||
((KP_2) "২")
|
|
||||||
@@ -183,16 +173,10 @@
|
|
||||||
("U" (delete @-) "ূ")
|
|
||||||
("RRi" (delete @-) "ৃ")
|
|
||||||
("R^i" (delete @-) "ৃ")
|
|
||||||
- ("LLi" (delete @-) "ৢ") ; not in ITRANS Bengali table
|
|
||||||
- ("L^i" (delete @-) "ৢ") ; not in ITRANS Bengali table
|
|
||||||
("e" (delete @-) "ে")
|
|
||||||
("ai" (delete @-) "ৈ")
|
|
||||||
("o" (delete @-) "ো")
|
|
||||||
- ("au" (delete @-) "ৌ")
|
|
||||||
- ("RRI" (delete @-) "ৄ") ; not in ITRANS Bengali table
|
|
||||||
- ("R^I" (delete @-) "ৄ") ; not in ITRANS Bengali table
|
|
||||||
- ("LLI" (delete @-) "ৣ") ; not in ITRANS Bengali table
|
|
||||||
- ("L^I" (delete @-) "ৣ")) ; not in ITRANS Bengali table
|
|
||||||
+ ("au" (delete @-) "ৌ"))
|
|
||||||
|
|
||||||
(return
|
|
||||||
((Return)))
|
|
@ -1,21 +0,0 @@
|
|||||||
--- MIM/kn-inscript.mim.orig 2013-05-23 18:22:04.000000000 +0530
|
|
||||||
+++ MIM/kn-inscript.mim 2014-01-27 14:55:52.000000000 +0530
|
|
||||||
@@ -59,6 +59,9 @@
|
|
||||||
\"ಜ್ಞ\" : ಜ + ್ + ಞ
|
|
||||||
p + d + } [OR] %
|
|
||||||
|
|
||||||
+9) ZWNJ is assigned to key 'V'
|
|
||||||
+ ZWJ is assigned to key '\\\\'
|
|
||||||
+
|
|
||||||
Key summary: Shankar Prasad <svenkate@redhat.com>
|
|
||||||
|
|
||||||
")
|
|
||||||
@@ -161,7 +164,7 @@
|
|
||||||
("X" "")
|
|
||||||
("C" ?ಣ)
|
|
||||||
("c" ?ಮ)
|
|
||||||
-;; V
|
|
||||||
+ ("V" "")
|
|
||||||
("v" ?ನ)
|
|
||||||
;; B
|
|
||||||
("b" ?ವ)
|
|
@ -1,48 +0,0 @@
|
|||||||
--- MIM/kn-itrans.mim.orig 2013-08-20 14:55:29.000000000 +0530
|
|
||||||
+++ MIM/kn-itrans.mim 2014-01-27 19:36:23.056606114 +0530
|
|
||||||
@@ -46,8 +46,44 @@
|
|
||||||
Kannada l10n Team, kannada.l10n@gmail.com
|
|
||||||
<http://kannada.sourceforge.net>
|
|
||||||
on 18 Aug 2005.
|
|
||||||
-")
|
|
||||||
|
|
||||||
+Key summary :
|
|
||||||
+
|
|
||||||
+1) \"praa\" = pa + halant + raa
|
|
||||||
+ \"ಪ್ರಾ\" = ಪ + ್ + ರ + ಾ
|
|
||||||
+ p + r + A
|
|
||||||
+
|
|
||||||
+2) \"ska\" = sa+halant+ka
|
|
||||||
+ \"ಸ್ಕ\" = ಸ + ್ + ಕ
|
|
||||||
+ s + k + a
|
|
||||||
+
|
|
||||||
+3) \"ththhaa\" = th + halanth + thhaa
|
|
||||||
+ \" ತ್ಥಾ\" = ತ + ್ +ಥ + ಾ
|
|
||||||
+ t + th + A
|
|
||||||
+
|
|
||||||
+4) \"shhtya\" : shh + halat + T + halant + ya
|
|
||||||
+ \"ಷ್ಟ್ಯ\" = ಷ +್ + ಟ + ್ + ಯ
|
|
||||||
+ S + h + T + ya
|
|
||||||
+
|
|
||||||
+5) \"dgaa\" : d + halant + gaa
|
|
||||||
+ \"ದ್ಗಾ\" : ದ + ್ + ಗ +ಾ
|
|
||||||
+ d + g + aa
|
|
||||||
+
|
|
||||||
+6) \"ksha\" : k + halant + sha
|
|
||||||
+ \"ಕ್ಷ\" : ಕ + ್ + ಷ
|
|
||||||
+ k + Sh + a [OR] x
|
|
||||||
+
|
|
||||||
+7) \"thra\": th + halant + r + a
|
|
||||||
+ \"ತ್ರ\" : ತ + ್ +ರ
|
|
||||||
+ t + r + a
|
|
||||||
+
|
|
||||||
+8) \"jna\" : j + halant + na
|
|
||||||
+ \"ಜ್ಞ\" : ಜ + ್ + ಞ
|
|
||||||
+ G + Y + a
|
|
||||||
+
|
|
||||||
+Key summary: Shankar Prasad <svenkate@redhat.com>
|
|
||||||
+
|
|
||||||
+")
|
|
||||||
(title "ಕ")
|
|
||||||
|
|
||||||
(map
|
|
@ -1,137 +0,0 @@
|
|||||||
diff -urN MIM/as-itrans.mim.old MIM/as-itrans.mim
|
|
||||||
--- MIM/as-itrans.mim.old 2013-05-23 18:22:04.000000000 +0530
|
|
||||||
+++ MIM/as-itrans.mim 2014-01-27 19:43:43.608461146 +0530
|
|
||||||
@@ -142,6 +142,11 @@
|
|
||||||
((KP_8) "৮")
|
|
||||||
((KP_9) "৯")
|
|
||||||
((KP_0) "০")
|
|
||||||
+ ((KP_Decimal) ".")
|
|
||||||
+ ((KP_Divide) "/")
|
|
||||||
+ ((KP_Multiply) "*")
|
|
||||||
+ ((KP_Add) "+")
|
|
||||||
+ ((KP_Subtract) "-")
|
|
||||||
((S-\ ) "")
|
|
||||||
((C-@) ""))
|
|
||||||
|
|
||||||
diff -urN MIM/gu-itrans.mim.old MIM/gu-itrans.mim
|
|
||||||
--- MIM/gu-itrans.mim.old 2013-05-23 18:22:04.000000000 +0530
|
|
||||||
+++ MIM/gu-itrans.mim 2014-01-27 19:44:15.069380103 +0530
|
|
||||||
@@ -143,6 +143,11 @@
|
|
||||||
((KP_8) "૮")
|
|
||||||
((KP_9) "૯")
|
|
||||||
((KP_0) "૦")
|
|
||||||
+ ((KP_Decimal) ".")
|
|
||||||
+ ((KP_Divide) "/")
|
|
||||||
+ ((KP_Multiply) "*")
|
|
||||||
+ ((KP_Add) "+")
|
|
||||||
+ ((KP_Subtract) "-")
|
|
||||||
((S-\ ) "") ; not in ITRANS Gujarati table
|
|
||||||
((C-@) "")) ; not in ITRANS Gujarati table
|
|
||||||
|
|
||||||
diff -urN MIM/hi-itrans.mim.old MIM/hi-itrans.mim
|
|
||||||
--- MIM/hi-itrans.mim.old 2013-11-09 14:48:20.000000000 +0530
|
|
||||||
+++ MIM/hi-itrans.mim 2014-01-27 19:50:10.952215133 +0530
|
|
||||||
@@ -229,7 +229,12 @@
|
|
||||||
((KP_6) "६")
|
|
||||||
((KP_7) "७")
|
|
||||||
((KP_8) "८")
|
|
||||||
- ((KP_9) "९"))
|
|
||||||
+ ((KP_9) "९")
|
|
||||||
+ ((KP_Decimal) ".")
|
|
||||||
+ ((KP_Divide) "/")
|
|
||||||
+ ((KP_Multiply) "*")
|
|
||||||
+ ((KP_Add) "+")
|
|
||||||
+ ((KP_Subtract) "-"))
|
|
||||||
|
|
||||||
(dependent
|
|
||||||
("a" (delete @-) "")
|
|
||||||
diff -urN MIM/kn-itrans.mim.old MIM/kn-itrans.mim
|
|
||||||
--- MIM/kn-itrans.mim.old 2014-01-27 19:51:21.086953700 +0530
|
|
||||||
+++ MIM/kn-itrans.mim 2014-01-27 19:47:10.035916349 +0530
|
|
||||||
@@ -251,6 +251,11 @@
|
|
||||||
((KP_8) "೮")
|
|
||||||
((KP_9) "೯")
|
|
||||||
((KP_0) "೦")
|
|
||||||
+ ((KP_Decimal) ".")
|
|
||||||
+ ((KP_Divide) "/")
|
|
||||||
+ ((KP_Multiply) "*")
|
|
||||||
+ ((KP_Add) "+")
|
|
||||||
+ ((KP_Subtract) "-")
|
|
||||||
((S-\ ) "") ; not in ITRANS Kannada table
|
|
||||||
((C-@) "")) ; not in ITRANS Kannada table
|
|
||||||
|
|
||||||
diff -urN MIM/ml-itrans.mim.old MIM/ml-itrans.mim
|
|
||||||
--- MIM/ml-itrans.mim.old 2013-05-23 18:22:04.000000000 +0530
|
|
||||||
+++ MIM/ml-itrans.mim 2014-01-27 19:46:50.472981057 +0530
|
|
||||||
@@ -175,6 +175,11 @@
|
|
||||||
((KP_8) "൮")
|
|
||||||
((KP_9) "൯")
|
|
||||||
((KP_0) "൦")
|
|
||||||
+ ((KP_Decimal) ".")
|
|
||||||
+ ((KP_Divide) "/")
|
|
||||||
+ ((KP_Multiply) "*")
|
|
||||||
+ ((KP_Add) "+")
|
|
||||||
+ ((KP_Subtract) "-")
|
|
||||||
((S-\ ) "")
|
|
||||||
((C-@) ""))
|
|
||||||
|
|
||||||
diff -urN MIM/or-itrans.mim.old MIM/or-itrans.mim
|
|
||||||
--- MIM/or-itrans.mim.old 2013-05-23 18:22:04.000000000 +0530
|
|
||||||
+++ MIM/or-itrans.mim 2014-01-27 19:46:33.923023456 +0530
|
|
||||||
@@ -143,6 +143,11 @@
|
|
||||||
((KP_8) "୮")
|
|
||||||
((KP_9) "୯")
|
|
||||||
((KP_0) "୦")
|
|
||||||
+ ((KP_Decimal) ".")
|
|
||||||
+ ((KP_Divide) "/")
|
|
||||||
+ ((KP_Multiply) "*")
|
|
||||||
+ ((KP_Add) "+")
|
|
||||||
+ ((KP_Subtract) "-")
|
|
||||||
((S-\ ) "")
|
|
||||||
((C-@) ""))
|
|
||||||
|
|
||||||
diff -urN MIM/pa-itrans.mim.old MIM/pa-itrans.mim
|
|
||||||
--- MIM/pa-itrans.mim.old 2013-05-23 18:22:04.000000000 +0530
|
|
||||||
+++ MIM/pa-itrans.mim 2014-01-27 19:46:13.724075235 +0530
|
|
||||||
@@ -136,6 +136,11 @@
|
|
||||||
((KP_8) "੮")
|
|
||||||
((KP_9) "੯")
|
|
||||||
((KP_0) "੦")
|
|
||||||
+ ((KP_Decimal) ".")
|
|
||||||
+ ((KP_Divide) "/")
|
|
||||||
+ ((KP_Multiply) "*")
|
|
||||||
+ ((KP_Add) "+")
|
|
||||||
+ ((KP_Subtract) "-")
|
|
||||||
((S-\ ) "") ; not in ITRANS Gurmukhi table
|
|
||||||
((C-@) "")) ; not in ITRANS Gurmukhi table
|
|
||||||
|
|
||||||
diff -urN MIM/ta-itrans.mim.old MIM/ta-itrans.mim
|
|
||||||
--- MIM/ta-itrans.mim.old 2013-05-23 18:22:04.000000000 +0530
|
|
||||||
+++ MIM/ta-itrans.mim 2014-01-27 19:45:52.657129275 +0530
|
|
||||||
@@ -130,6 +130,11 @@
|
|
||||||
((KP_8) "௮")
|
|
||||||
((KP_9) "௯")
|
|
||||||
((KP_0) "௦")
|
|
||||||
+ ((KP_Decimal) ".")
|
|
||||||
+ ((KP_Divide) "/")
|
|
||||||
+ ((KP_Multiply) "*")
|
|
||||||
+ ((KP_Add) "+")
|
|
||||||
+ ((KP_Subtract) "-")
|
|
||||||
((S-\ ) "") ; not in ITRANS Tamil table
|
|
||||||
((C-@) "") ; not in ITRANS Tamil table
|
|
||||||
("SRI" "ஶ்ரீ"))
|
|
||||||
diff -urN MIM/te-itrans.mim.old MIM/te-itrans.mim
|
|
||||||
--- MIM/te-itrans.mim.old 2013-05-23 18:22:04.000000000 +0530
|
|
||||||
+++ MIM/te-itrans.mim 2014-01-27 19:44:51.452286491 +0530
|
|
||||||
@@ -146,6 +146,11 @@
|
|
||||||
((KP_8) "౮")
|
|
||||||
((KP_9) "౯")
|
|
||||||
((KP_0) "౦")
|
|
||||||
+ ((KP_Decimal) ".")
|
|
||||||
+ ((KP_Divide) "/")
|
|
||||||
+ ((KP_Multiply) "*")
|
|
||||||
+ ((KP_Add) "+")
|
|
||||||
+ ((KP_Subtract) "-")
|
|
||||||
((S-\ ) "") ; not in ITRANS Telugu table
|
|
||||||
((C-@) "")) ; not in ITRANS Telugu table
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
|||||||
diff -urN MIM/gu-itrans.mim.old MIM/gu-itrans.mim
|
|
||||||
--- MIM/gu-itrans.mim.old 2015-08-24 22:30:15.723875911 +0530
|
|
||||||
+++ MIM/gu-itrans.mim 2015-08-24 22:32:56.198910959 +0530
|
|
||||||
@@ -166,11 +166,13 @@
|
|
||||||
("RRI" (delete @-) "ૄ") ; not in ITRANS Gujarati table
|
|
||||||
("R^I" (delete @-) "ૄ") ; not in ITRANS Gujarati table
|
|
||||||
(".c" (delete @-) "ૅ")
|
|
||||||
+ ("e." (delete @-) "ે.") ; not in ITRANS Gujarati table
|
|
||||||
("e.c" (delete @-) "ૅ") ; not in ITRANS Gujarati table
|
|
||||||
("e" (delete @-) "ે")
|
|
||||||
("ai" (delete @-) "ૈ")
|
|
||||||
- ("o.c" (delete @-) "ૉ")
|
|
||||||
("o" (delete @-) "ો")
|
|
||||||
+ ("o." (delete @-) "ો.") ; not in ITRANS Gujarati table
|
|
||||||
+ ("o.c" (delete @-) "ૉ")
|
|
||||||
("au" (delete @-) "ૌ"))
|
|
||||||
|
|
||||||
|
|
@ -1,140 +1,204 @@
|
|||||||
Name: m17n-db
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.8.5-4
|
||||||
Summary: Multilingualization datafiles for m17n-lib
|
- Bump release for June 2024 mass rebuild
|
||||||
Version: 1.8.0
|
|
||||||
Release: 3%{?dist}
|
|
||||||
License: LGPLv2+
|
|
||||||
URL: http://www.nongnu.org/m17n
|
|
||||||
|
|
||||||
Source0: http://download-mirror.savannah.gnu.org/releases/m17n/%{name}-%{version}.tar.gz
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.5-3
|
||||||
## Till the Inscript2 gets upstreamed in m17n-db, use this source
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
Source1: http://releases.pagure.org/inscript2/inscript2-20160423.tar.gz
|
|
||||||
# Following is awaiting for upstream commit
|
|
||||||
Source2: https://raw.githubusercontent.com/gnuman/m17n-inglish-mims/master/minglish/minglish.mim
|
|
||||||
|
|
||||||
BuildArch: noarch
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.5-2
|
||||||
BuildRequires: gettext
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
BuildRequires: glibc-locale-source
|
|
||||||
BuildRequires: gcc
|
|
||||||
|
|
||||||
Obsoletes: m17n-contrib < 1.1.14-4.fc20
|
* Tue Nov 07 2023 Mike FABIAN <mfabian@redhat.com> - 1.8.5-1
|
||||||
Provides: m17n-contrib = 1.1.14-4.fc20
|
- Update to 1.8.5
|
||||||
|
- new-newa-traditional-extended: New input method by Swornim Nakarmi <svarnim.nakahmi1.618@gmail.com>
|
||||||
|
- ml-pn-c: New input method for Malayalam by Ajith R <ajithramayyan at yahoo dot co dot in>
|
||||||
|
- en-pn-eqf: This is a slightly modified version of the QWERTY English layout to be used along with the ml-pn-c input method
|
||||||
|
|
||||||
# Fedora speicifc patches
|
* Mon Sep 25 2023 Mike FABIAN <mfabian@redhat.com> - 1.8.4-1
|
||||||
Patch0: %{name}-1.6.5-bn-itrans-bug182227.patch
|
- Update to 1.8.4
|
||||||
Patch1: %{name}-1.6.5-kn-itrans_key-summary_bug228806.patch
|
- New input methods from https://github.com/indic-transliteration/m17n-db-indic "विश्वासो वासुकिजः (Vishvas Vasuki)"
|
||||||
Patch2: %{name}-1.6.5-kn-inscript-ZWNJ-bug440007.patch
|
sa-vedic-itrans, dra-iso-15919-itrans, hi-brahmi-itrans, ks-sharada-itrans,
|
||||||
Patch3: %{name}-1.6.5-number_pad_itrans-222634.patch
|
mr-modi-itrans, sa-brahmi-itrans, sa-grantha-itrans, sa-iso-15919-itrans,
|
||||||
Patch4: %{name}-1.7.0-fix-e-o-mappings.patch
|
sa-sharada-itrans, sa-inscript, sa-iast-vedic
|
||||||
|
- hi-itrans: Updates from "विश्वासो वासुकिजः (Vishvas Vasuki)" <vishvas.vasuki@gmail.com>
|
||||||
|
- ne-trad-ttf: Update from author, Santosh Pradhan <sapradhan8@gmail.com>
|
||||||
|
- ja-trycode: Add icon.
|
||||||
|
- ks-inscript: Add icon.
|
||||||
|
- mai-inscript: Add icon.
|
||||||
|
- ml-enhanced-inscript: Add icon.
|
||||||
|
- mr-itrans: Add icon.
|
||||||
|
- hi-remington: Add icon.
|
||||||
|
- mr-typewriter: Add icon.
|
||||||
|
- mr-phonetic: Add icon.
|
||||||
|
- ne-rom-translit: Add icon.
|
||||||
|
- zh-pinyin-yi: Add icon.
|
||||||
|
- unicode: Add icon.
|
||||||
|
- da-post: Add icon.
|
||||||
|
- bo-ewts: Add icon.
|
||||||
|
- bo-tcrc: Add icon.
|
||||||
|
- kn-typewriter: Add icon.
|
||||||
|
- grc-mizuochi: Add icon.
|
||||||
|
- fr-azerty: Add icon.
|
||||||
|
- hi-optitransv2: Updates from https://github.com/indic-transliteration/m17n-db-indic "विश्वासो वासुकिजः (Vishvas Vasuki)"
|
||||||
|
- kn-optitransv2: Updates from https://github.com/indic-transliteration/m17n-db-indic "विश्वासो वासुकिजः (Vishvas Vasuki)"
|
||||||
|
- sa-itrans: Updates from https://github.com/indic-transliteration/m17n-db-indic "विश्वासो वासुकिजः (Vishvas Vasuki)"
|
||||||
|
- kn-itrans: Updates from "विश्वासो वासुकिजः (Vishvas Vasuki)" <vishvas.vasuki@gmail.com> and some extra bug fixes.
|
||||||
|
- lsymbol: Some additions from https://github.com/indic-transliteration/m17n-db-indic "विश्वासो वासुकिजः (Vishvas Vasuki)" and
|
||||||
|
some more improvements: Use emoji presentation when possible, better grouping in groups of 6, better description
|
||||||
|
- math-latex: Updates from https://github.com/indic-transliteration/m17n-db-indic "विश्वासो वासुकिजः (Vishvas Vasuki)"
|
||||||
|
New option "with-backslash-prefix".
|
||||||
|
- ks-kbd: Fix typo in description, add icon.
|
||||||
|
- ug-kbd: Add icon.
|
||||||
|
- tai-sonla-kbd.png: Add icon.
|
||||||
|
- mni-inscript2-mtei.png: Add icon.
|
||||||
|
- sat-inscript2-olck.png: Add icon.
|
||||||
|
- or-phonetic.png: Add icon.
|
||||||
|
- sa-harvard-kyoto.png: Add icon.
|
||||||
|
- pa-anmollipi.png: Add icon.
|
||||||
|
- pa-remington.png: Add icon.
|
||||||
|
- si-singlish.png: Add icon.
|
||||||
|
- ta-lk-renganathan.png: Add icon.
|
||||||
|
- te-rts.png: Add icon.
|
||||||
|
- vi-han.png: Add icon.
|
||||||
|
- vi-nomvni: Make existing icon work.
|
||||||
|
- vi-nomtelex: Make existing icon work.
|
||||||
|
- lsymbol: Add icon.
|
||||||
|
- ssymbol: Add icon.
|
||||||
|
|
||||||
%description
|
* Mon Jul 24 2023 Mike FABIAN <mfabian@redhat.com> - 1.8.3-1
|
||||||
This package contains multilingualization (m17n) datafiles for m17n-lib
|
- Update to 1.8.3
|
||||||
which describe input maps, encoding maps, OpenType font data and
|
- kok-inscript2-deva, mr-inscript, mr-inscript2: Fix digit 0
|
||||||
font layout text rendering for languages.
|
- ta-vutam: Change the header comment to a description
|
||||||
|
- mr-gamabhana: icon resized to 48x48
|
||||||
|
- latn1-pre: add icon
|
||||||
|
- ar-translit: add icon
|
||||||
|
- ath-phonetic: add icon
|
||||||
|
- bla-phonetic: add icon
|
||||||
|
- cr-western: add icon
|
||||||
|
- iu-phonetic: add icon
|
||||||
|
- nsk-phonetic: add icon
|
||||||
|
- oj-phonetic: add icon
|
||||||
|
- uk-kbd: add icon
|
||||||
|
- eo-vi-sistemo: add icon
|
||||||
|
- Rename the .mim files of some eo input methods to improve search for the icons
|
||||||
|
- Workarounds for doxygen
|
||||||
|
|
||||||
%package extras
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-2
|
||||||
Summary: Extra m17n-db files
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
|
|
||||||
Obsoletes: m17n-contrib-extras < 1.1.14-4.fc20
|
* Mon May 08 2023 Mike FABIAN <mfabian@redhat.com> - 1.8.2-1
|
||||||
Provides: m17n-contrib-extras = 1.1.14-4.fc20
|
- Update to 1.8.2
|
||||||
|
- Remove bn-national-jatiya input method (included upstream)
|
||||||
|
- Remove si-sayura input method (included upstream)
|
||||||
|
- Remove mr-gamabhana input method (included upstream)
|
||||||
|
- Update German translations (100%)
|
||||||
|
- Remove m17n-db-1.8.0-inscript2-mni-sat.patch (included upstream)
|
||||||
|
- Remove m17n-db-1.6.5-number_pad_itrans-222634.patch
|
||||||
|
This patch is not needed, numbers are typed in language representation
|
||||||
|
when using the number pad with numlock on even without this patch.
|
||||||
|
(I.e. the problem reported in https://bugzilla.redhat.com/show_bug.cgi?id=222634
|
||||||
|
is still fixed)
|
||||||
|
- Add icon for hu-rovas-post input method
|
||||||
|
- Remove m17n-db-1.6.5-kn-itrans_key-summary_bug228806.patch
|
||||||
|
(See: https://git.savannah.nongnu.org/cgit/m17n/m17n-db.git/commit/?id=f10cfe21d49afbef40bdc681ff70563b6154eac0
|
||||||
|
after these upstream changes to kn-itrans, the summary added by the patch is wrong)
|
||||||
|
- Remove m17n-db-1.6.5-bn-itrans-bug182227.patch
|
||||||
|
(This patch removed mappings which are "not in ITRANS Bengali table", nevertheless
|
||||||
|
these mappings might be useful to some users, better keep them for the time being)
|
||||||
|
- Remove m17n-db-1.6.5-kn-inscript-ZWNJ-bug440007.patch (included upstream)
|
||||||
|
- Remove m17n-db-1.7.0-fix-e-o-mappings.patch (included upstream)
|
||||||
|
- Remvove fix for ld mapping in MIM/bo-ewts.mim (include upstream)
|
||||||
|
(See: https://bugzilla.redhat.com/show_bug.cgi?id=1487512)
|
||||||
|
- MIM/bo-ewts.mim: remove whitespace in rn and brn mapping
|
||||||
|
|
||||||
%description extras
|
* Wed May 03 2023 Mike FABIAN <mfabian@redhat.com> - 1.8.1-1
|
||||||
m17n-db extra files for input maps that are less used.
|
- Update to 1.8.1
|
||||||
|
- Remove inscript2-20210820.tar.gz because it is now included upstream
|
||||||
|
- Remove m17n-db-1.8.0-ml-mozhi-savannah-bug-59681.patch because it is included upstream
|
||||||
|
- Remove unicode.mim because the improvement is included upstream
|
||||||
|
|
||||||
%package devel
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-29
|
||||||
Summary: Development files for m17n-db
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description devel
|
* Wed Nov 30 2022 Mike FABIAN <mfabian@redhat.com> - 1.8.0-28
|
||||||
m17n-db development files
|
- Migrate license tag to SPDX
|
||||||
|
|
||||||
|
* Fri Aug 19 2022 Mike FABIAN <mfabian@redhat.com> - 1.8.0-27
|
||||||
|
- Add bn-national-jatiya.{mim,png}
|
||||||
|
- Add improved unicode.mim
|
||||||
|
|
||||||
%prep
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-26
|
||||||
%autosetup -p0
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
##extract inscript2 maps
|
* Tue Jul 12 2022 Mike FABIAN <mfabian@redhat.com> - 1.8.0-25
|
||||||
tar xzf %{SOURCE1}
|
- Add mr-gamabhana.png icon for mr-gamabhana.mim input method
|
||||||
|
|
||||||
# Following fixes https://bugzilla.redhat.com/show_bug.cgi?id=1487512
|
* Mon Jul 11 2022 Mike FABIAN <mfabian@redhat.com> - 1.8.0-24
|
||||||
sed -i 's/ ("ld" "སྡ")/ ("ld" "ལྡ")/g' MIM/bo-ewts.mim
|
- Ship the bn-unijoy.mim as well, it seems to work, maybe there
|
||||||
|
was some problem in the past. But at the moment I see no reason
|
||||||
|
to omit it.
|
||||||
|
|
||||||
%build
|
* Fri Feb 25 2022 Mike FABIAN <mfabian@redhat.com> - 1.8.0-23
|
||||||
%configure
|
- Add mr-gamabhana.mim input method
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-22
|
||||||
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
# don't ship unijoy map for now
|
* Fri Aug 20 2021 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-21
|
||||||
rm %{buildroot}%{_datadir}/m17n/bn-unijoy.mim
|
- Update inscript2 keymaps to new upstream release 20210820
|
||||||
rm %{buildroot}%{_datadir}/m17n/icons/bn-unijoy.png
|
|
||||||
|
|
||||||
#removing ispell.mim for rh#587927
|
* Thu Aug 12 2021 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-20
|
||||||
rm %{buildroot}%{_datadir}/m17n/ispell.mim
|
- Update inscript2 keymaps to new upstream release 20210812
|
||||||
|
|
||||||
#install inscript2 keymaps
|
* Mon Aug 09 2021 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-19
|
||||||
cp -p inscript2/IM/* %{buildroot}%{_datadir}/m17n/
|
- Update inscript2 keymaps to new upstream release 20210809
|
||||||
cp -p inscript2/icons/* %{buildroot}%{_datadir}/m17n/icons
|
|
||||||
|
|
||||||
# install minglish keymap
|
* Tue Aug 03 2021 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-18
|
||||||
cp -p %{SOURCE2} %{buildroot}%{_datadir}/m17n
|
- Update inscript2 keymaps to new upstream release 20210803
|
||||||
|
|
||||||
# For installing the translation files
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-17
|
||||||
%find_lang %name
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
%files
|
* Tue Jun 08 2021 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-16
|
||||||
%doc AUTHORS README
|
- Re-upload minglish.mim source to fix its permissions to 644
|
||||||
%license COPYING
|
|
||||||
%dir %{_datadir}/m17n
|
|
||||||
%{_datadir}/m17n/mdb.dir
|
|
||||||
%{_datadir}/m17n/*.tbl
|
|
||||||
%{_datadir}/m17n/scripts
|
|
||||||
%{_datadir}/m17n/*.flt
|
|
||||||
# keymaps
|
|
||||||
%{_datadir}/m17n/a*.mim
|
|
||||||
%{_datadir}/m17n/b*.mim
|
|
||||||
%{_datadir}/m17n/c*.mim
|
|
||||||
%{_datadir}/m17n/d*.mim
|
|
||||||
%{_datadir}/m17n/e*.mim
|
|
||||||
%{_datadir}/m17n/f*.mim
|
|
||||||
%{_datadir}/m17n/g*.mim
|
|
||||||
%{_datadir}/m17n/h*.mim
|
|
||||||
%{_datadir}/m17n/i*.mim
|
|
||||||
%{_datadir}/m17n/k*.mim
|
|
||||||
%{_datadir}/m17n/l*.mim
|
|
||||||
%{_datadir}/m17n/m*.mim
|
|
||||||
%{_datadir}/m17n/n*.mim
|
|
||||||
%{_datadir}/m17n/o*.mim
|
|
||||||
%{_datadir}/m17n/p*.mim
|
|
||||||
%{_datadir}/m17n/r*.mim
|
|
||||||
%{_datadir}/m17n/s*.mim
|
|
||||||
%{_datadir}/m17n/t*.mim
|
|
||||||
%{_datadir}/m17n/u*.mim
|
|
||||||
%{_datadir}/m17n/v*.mim
|
|
||||||
%{_datadir}/m17n/y*.mim
|
|
||||||
# icons for keymaps
|
|
||||||
%{_datadir}/m17n/icons/*.png
|
|
||||||
%exclude %{_datadir}/m17n/zh-*.mim
|
|
||||||
%exclude %{_datadir}/m17n/icons/zh*.png
|
|
||||||
%exclude %{_datadir}/m17n/ja-*.mim
|
|
||||||
%exclude %{_datadir}/m17n/icons/ja*.png
|
|
||||||
|
|
||||||
%files extras -f %{name}.lang
|
* Wed May 19 2021 Mike FABIAN <mfabian@redhat.com> - 1.8.0-15
|
||||||
%{_datadir}/m17n/zh-*.mim
|
- rename patch m17n-db-1.8.0-ml-mozhi-bug-59681.patch to
|
||||||
%{_datadir}/m17n/icons/zh*.png
|
m17n-db-1.8.0-ml-mozhi-savannah-bug-59681.patch and add
|
||||||
%{_datadir}/m17n/ja*.mim
|
a comment with a link to the bug.
|
||||||
%{_datadir}/m17n/icons/ja*.png
|
|
||||||
%{_datadir}/m17n/*.fst
|
|
||||||
%{_datadir}/m17n/*.map
|
|
||||||
%{_datadir}/m17n/*.tab
|
|
||||||
%{_datadir}/m17n/*.lnm
|
|
||||||
%{_datadir}/m17n/LOCALE.*
|
|
||||||
|
|
||||||
%files devel
|
* Tue May 18 2021 Mike FABIAN <mfabian@redhat.com> - 1.8.0-14
|
||||||
%{_bindir}/m17n-db
|
- Add back autopatch to apply the patches again
|
||||||
%{_datadir}/pkgconfig/m17n-db.pc
|
|
||||||
|
* Sun Apr 04 2021 Rajeesh KV <rajeeshknambiar@fedoraproject.org> - 1.8.0-13
|
||||||
|
- Malayalam Mozhi input scheme bug fix
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-12
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Mar 18 2020 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-10
|
||||||
|
- Use make_build and make_install macros
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Oct 10 2019 Mike FABIAN <mfabian@redhat.com> - 1.8.0-8
|
||||||
|
- Fix mni-inscript2-{beng,mtei}.mim and sat-inscript2-{deva,olck}.mim
|
||||||
|
|
||||||
|
* Thu Aug 29 2019 Mike FABIAN <mfabian@redhat.com> - 1.8.0-7
|
||||||
|
- Add si-sayura.mim input method
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Mon Feb 19 2018 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-3
|
* Mon Feb 19 2018 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-3
|
||||||
- Add BuildRequires: gcc as per packaging guidelines
|
- Add BuildRequires: gcc as per packaging guidelines
|
||||||
|
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-10
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
119
m17n-db.spec
Normal file
119
m17n-db.spec
Normal file
@ -0,0 +1,119 @@
|
|||||||
|
Name: m17n-db
|
||||||
|
Summary: Multilingualization datafiles for m17n-lib
|
||||||
|
Version: 1.8.5
|
||||||
|
Release: %autorelease
|
||||||
|
License: LGPL-2.1-or-later
|
||||||
|
URL: http://www.nongnu.org/m17n
|
||||||
|
|
||||||
|
Source0: http://download-mirror.savannah.gnu.org/releases/m17n/%{name}-%{version}.tar.gz
|
||||||
|
# Following is awaiting for upstream commit
|
||||||
|
Source1: https://raw.githubusercontent.com/gnuman/m17n-inglish-mims/master/minglish/minglish.mim
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: gettext
|
||||||
|
BuildRequires: glibc-locale-source
|
||||||
|
BuildRequires: gcc
|
||||||
|
|
||||||
|
Obsoletes: m17n-contrib < 1.1.14-4.fc20
|
||||||
|
Provides: m17n-contrib = 1.1.14-4.fc20
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains multilingualization (m17n) datafiles for m17n-lib
|
||||||
|
which describe input maps, encoding maps, OpenType font data and
|
||||||
|
font layout text rendering for languages.
|
||||||
|
|
||||||
|
%package extras
|
||||||
|
Summary: Extra m17n-db files
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
Obsoletes: m17n-contrib-extras < 1.1.14-4.fc20
|
||||||
|
Provides: m17n-contrib-extras = 1.1.14-4.fc20
|
||||||
|
|
||||||
|
%description extras
|
||||||
|
m17n-db extra files for input maps that are less used.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for m17n-db
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
m17n-db development files
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -N
|
||||||
|
|
||||||
|
%autopatch -p0
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
%{make_build}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{make_install}
|
||||||
|
|
||||||
|
#removing ispell.mim for rh#587927
|
||||||
|
rm %{buildroot}%{_datadir}/m17n/ispell.mim
|
||||||
|
|
||||||
|
# install minglish keymap
|
||||||
|
/usr/bin/install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/m17n
|
||||||
|
|
||||||
|
# For installing the translation files
|
||||||
|
%find_lang %name
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc AUTHORS README
|
||||||
|
%license COPYING
|
||||||
|
%dir %{_datadir}/m17n
|
||||||
|
%{_datadir}/m17n/mdb.dir
|
||||||
|
%{_datadir}/m17n/*.tbl
|
||||||
|
%{_datadir}/m17n/scripts
|
||||||
|
%{_datadir}/m17n/*.flt
|
||||||
|
# keymaps
|
||||||
|
%{_datadir}/m17n/a*.mim
|
||||||
|
%{_datadir}/m17n/b*.mim
|
||||||
|
%{_datadir}/m17n/c*.mim
|
||||||
|
%{_datadir}/m17n/d*.mim
|
||||||
|
%{_datadir}/m17n/e*.mim
|
||||||
|
%{_datadir}/m17n/f*.mim
|
||||||
|
%{_datadir}/m17n/g*.mim
|
||||||
|
%{_datadir}/m17n/h*.mim
|
||||||
|
%{_datadir}/m17n/i*.mim
|
||||||
|
%{_datadir}/m17n/k*.mim
|
||||||
|
%{_datadir}/m17n/l*.mim
|
||||||
|
%{_datadir}/m17n/m*.mim
|
||||||
|
%{_datadir}/m17n/n*.mim
|
||||||
|
%{_datadir}/m17n/o*.mim
|
||||||
|
%{_datadir}/m17n/p*.mim
|
||||||
|
%{_datadir}/m17n/r*.mim
|
||||||
|
%{_datadir}/m17n/s*.mim
|
||||||
|
%{_datadir}/m17n/t*.mim
|
||||||
|
%{_datadir}/m17n/u*.mim
|
||||||
|
%{_datadir}/m17n/v*.mim
|
||||||
|
%{_datadir}/m17n/y*.mim
|
||||||
|
# icons for keymaps
|
||||||
|
%dir %{_datadir}/m17n/icons
|
||||||
|
%{_datadir}/m17n/icons/*.png
|
||||||
|
%exclude %{_datadir}/m17n/zh-*.mim
|
||||||
|
%exclude %{_datadir}/m17n/icons/zh*.png
|
||||||
|
%exclude %{_datadir}/m17n/ja-*.mim
|
||||||
|
%exclude %{_datadir}/m17n/icons/ja*.png
|
||||||
|
|
||||||
|
%files extras -f %{name}.lang
|
||||||
|
%{_datadir}/m17n/zh-*.mim
|
||||||
|
%{_datadir}/m17n/icons/zh*.png
|
||||||
|
%{_datadir}/m17n/ja*.mim
|
||||||
|
%{_datadir}/m17n/icons/ja*.png
|
||||||
|
%{_datadir}/m17n/*.fst
|
||||||
|
%{_datadir}/m17n/*.map
|
||||||
|
%{_datadir}/m17n/*.tab
|
||||||
|
%{_datadir}/m17n/*.lnm
|
||||||
|
%{_datadir}/m17n/LOCALE.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_bindir}/m17n-db
|
||||||
|
%{_datadir}/pkgconfig/m17n-db.pc
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
%autochangelog
|
9
plans/basic.fmf
Normal file
9
plans/basic.fmf
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
summary: Basic smoke test
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
prepare:
|
||||||
|
how: shell
|
||||||
|
script:
|
||||||
|
- dnf config-manager --enable rhel-CRB --enable rhel-buildroot
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (m17n-db-1.8.5.tar.gz) = 6c3f42072b7e0a36870fd8143fb1ac7c3efc21c41869d984dfa0cbb87eb1f9958e429f1144a975b401791f0423386a03ab02531f162496531e303d9b0e049987
|
13
tests/main.fmf
Normal file
13
tests/main.fmf
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
test: ./runtest.sh
|
||||||
|
duration: 10m
|
||||||
|
framework: beakerlib
|
||||||
|
require:
|
||||||
|
- m17n-db
|
||||||
|
- m17n-db-devel
|
||||||
|
- glibc-locale-source
|
||||||
|
- rpm-build
|
||||||
|
- autoconf
|
||||||
|
- automake
|
||||||
|
- make
|
||||||
|
- gettext-devel
|
||||||
|
- gcc
|
58
tests/runtest.sh
Executable file
58
tests/runtest.sh
Executable file
@ -0,0 +1,58 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||||
|
|
||||||
|
NAME=m17n-db
|
||||||
|
|
||||||
|
rlJournalStart
|
||||||
|
rlPhaseStartSetup
|
||||||
|
rlAssertRpm ${NAME}
|
||||||
|
rlAssertRpm ${NAME}-devel
|
||||||
|
rlAssertRpm glibc-locale-source
|
||||||
|
rlShowPackageVersion ${NAME}
|
||||||
|
rlRun -t -l "VERSION=$(rpm -q ${NAME} --queryformat='%{version}')" 0 "Get VERSION"
|
||||||
|
FEDORA_VERSION=$(rlGetDistroRelease)
|
||||||
|
rlLog "FEDORA_VERSION=${DISTRO_RELEASE}"
|
||||||
|
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
|
||||||
|
rlRun "pushd $tmp"
|
||||||
|
rlFetchSrcForInstalled "${NAME}"
|
||||||
|
rlRun "rpm --define '_topdir $tmp' -i *src.rpm"
|
||||||
|
rlRun -t -l "mkdir BUILD" 0 "Creating BUILD directory"
|
||||||
|
rlRun -t -l "rpmbuild --noclean --nodeps --define '_topdir $tmp' -bp $tmp/SPECS/*spec"
|
||||||
|
if [ -d BUILD/${NAME}-${VERSION}-build ]; then
|
||||||
|
rlRun -t -l "pushd BUILD/${NAME}-${VERSION}-build/${NAME}-${VERSION}"
|
||||||
|
else
|
||||||
|
rlRun -t -l "pushd BUILD/${NAME}-${VERSION}"
|
||||||
|
fi
|
||||||
|
rlRun "set -o pipefail"
|
||||||
|
rlRun -t -l "./bootstrap.sh"
|
||||||
|
rlRun -t -l "./configure --prefix=/usr"
|
||||||
|
rlRun -t -l "make check"
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartTest
|
||||||
|
rlRun -t -l "INSTALLED_VERSION=$(m17n-db --version)" \
|
||||||
|
0 "Get installed version"
|
||||||
|
rlAssertEquals "versions should be equal" "${VERSION}" "${INSTALLED_VERSION}"
|
||||||
|
rlGetTestState
|
||||||
|
rlLog "Number of failed asserts so far: ${ECODE}"
|
||||||
|
rlRun -t -l "DIRECTORY=$(m17n-db)" \
|
||||||
|
0 "Get m17n directory"
|
||||||
|
rlAssertEquals "m17n directory should be /usr/share/m17n" "${DIRECTORY}" "/usr/share/m17n"
|
||||||
|
rlGetTestState
|
||||||
|
rlLog "Number of failed asserts so far: ${ECODE}"
|
||||||
|
for mim_file in $(ls /usr/share/m17n/*.mim)
|
||||||
|
do
|
||||||
|
rlAssertGrep "(input-method" ${mim_file}
|
||||||
|
rlGetTestState
|
||||||
|
rlLog "Number of failed asserts so far: ${ECODE}"
|
||||||
|
done
|
||||||
|
rlGetTestState
|
||||||
|
rlLog "Total number of failed asserts: ${ECODE}"
|
||||||
|
rlRun "popd" 0
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartCleanup
|
||||||
|
rlRun "popd"
|
||||||
|
rlRun "rm -r $tmp" 0 "Remove tmp directory"
|
||||||
|
rlPhaseEnd
|
||||||
|
rlJournalEnd
|
Loading…
Reference in New Issue
Block a user