diff --git a/README b/README
index fcc233d..3938a15 100644
--- a/README
+++ b/README
@@ -1,9 +1,10 @@
-brise is deprecated since plum comes out.
+brise is deprecated by plum.
-the standard [plum](https://github.com/rime/plum) is developed in bash. openSUSE uses [rime-plum-go](https://github.com/marguerite/rime-plum-go).
+the standard [plum](https://github.com/rime/plum) is developed in bash. openSUSE uses [rime-plum-go](https://github.com/marguerite/rime-plum-go). the golang version is 100% compatible with the bash version, and respects https_proxy environment variable for those behind firewall.
brise in openSUSE is just a checkout of :all
- mkdir brise-0.38
+ mkdir brise
+ export GO111MODULE=on
go build rime-plum-go/plum.go
rime-plum-go/plum -d brise -b -r :all
diff --git a/_service b/_service
new file mode 100644
index 0000000..0a1a746
--- /dev/null
+++ b/_service
@@ -0,0 +1,14 @@
+
+
+ https://github.com/marguerite/rime-plum-go
+ git
+ %cs+git.%h
+ master
+ rime-plum-go
+
+
+ *.tar
+ xz
+
+
+
diff --git a/brise-0.39+git20190120.8d5bc2e.tar.xz b/brise-0.39+git20190120.8d5bc2e.tar.xz
deleted file mode 100644
index 0fbdef8..0000000
--- a/brise-0.39+git20190120.8d5bc2e.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c8d182e16003d2d55030ffcf7fa9f01f912ec05ae2f89980ac11a57fc029620f
-size 21962300
diff --git a/brise-20201009+git.3e1838a.tar.xz b/brise-20201009+git.3e1838a.tar.xz
new file mode 100644
index 0000000..5b4bbb1
--- /dev/null
+++ b/brise-20201009+git.3e1838a.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7857310de52736667e3b5adfe2825032860e9bc377dd43161797142d4e65cfdd
+size 22226624
diff --git a/brise.changes b/brise.changes
index 480632d..395cea2 100644
--- a/brise.changes
+++ b/brise.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Sat Oct 10 09:50:38 UTC 2020 - Marguerite Su
+
+- split brise to rime-schema-*
+
-------------------------------------------------------------------
Sun Sep 27 10:28:06 UTC 2020 - Marguerite Su
diff --git a/brise.spec b/brise.spec
index fba3b00..dff2c31 100644
--- a/brise.spec
+++ b/brise.spec
@@ -1,7 +1,7 @@
#
# spec file for package brise
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,22 +12,21 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: brise
-Version: 0.39+git20190120.8d5bc2e
+Version: 20201009+git.3e1838a
Release: 0
Summary: Rime Input Schemas Collection
-License: GPL-3.0+
+License: GPL-3.0-or-later
Group: System/I18n/Chinese
-Url: https://github.com/rime/brise
+URL: https://github.com/rime/brise
Source: brise-%{version}.tar.xz
-Source1: rime-plum-go.tar.xz
+Source1: rime-plum-go-%{version}.tar.xz
Source99: README
BuildRequires: go
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Rime is an Traditional Chinese input method engine.
@@ -37,37 +36,389 @@ Mainly it's about to express your thinking with your keystrokes.
Brise is the input schemas collection of Rime.
%package -n rime-plum
-Summary: Rime's configuration manager
-Group: System/I18n/Chinese
+Summary: Rime's configuration manager
+Group: System/I18n/Chinese
%description -n rime-plum
Plum is rime's configuration manager.
+%package -n rime-schema-default
+Summary: Default/Preset collection of rime schemas
+Group: System/I18n/Chinese
+BuildArch: noarch
+Requires: rime-schema-bopomofo
+Requires: rime-schema-cangjie
+Requires: rime-schema-essay
+Requires: rime-schema-luna-pinyin
+Requires: rime-schema-prelude
+Requires: rime-schema-stroke
+Requires: rime-schema-terra-pinyin
+
+%description -n rime-schema-default
+Default/Preset collection of rime schemas.
+
+%package -n rime-schema-extra
+Summary: Extra collection of rime schemas
+Group: System/I18n/Chinese
+BuildArch: noarch
+Requires: rime-schema-array
+Requires: rime-schema-cantonese
+Requires: rime-schema-combo-pinyin
+Requires: rime-schema-double-pinyin
+Requires: rime-schema-emoji
+Requires: rime-schema-ipa
+Requires: rime-schema-jyutping
+Requires: rime-schema-middle-chinese
+Requires: rime-schema-pinyin-simp
+Requires: rime-schema-quick
+Requires: rime-schema-scj
+Requires: rime-schema-soutzoe
+Requires: rime-schema-stenotype
+Requires: rime-schema-wubi
+Requires: rime-schema-wugniu
+
+%description -n rime-schema-extra
+Extra collection of rime schemas.
+
+%package -n rime-schema-all
+Summary: All rime input schemas
+Group: System/I18n/Chinese
+BuildArch: noarch
+Requires: rime-schema-default
+Requires: rime-schema-extra
+Provides: brise = %{version}
+Obsoletes: brise <= 0.39
+
+%description -n rime-schema-all
+All rime input schemas.
+
+%package -n rime-schema-bopomofo
+Summary: bopomofo input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-bopomofo
+bopomofoinput schema for rime.
+
+%package -n rime-schema-cangjie
+Summary: cangjie input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-cangjie
+cangjieinput schema for rime.
+
+%package -n rime-schema-essay
+Summary: essay input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-essay
+essayinput schema for rime.
+
+%package -n rime-schema-luna-pinyin
+Summary: luna-pinyin input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-luna-pinyin
+luna-pinyininput schema for rime.
+
+%package -n rime-schema-prelude
+Summary: prelude input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-prelude
+preludeinput schema for rime.
+
+%package -n rime-schema-stroke
+Summary: stroke input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-stroke
+strokeinput schema for rime.
+
+%package -n rime-schema-terra-pinyin
+Summary: terra-pinyin input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-terra-pinyin
+terra-pinyininput schema for rime.
+
+%package -n rime-schema-array
+Summary: array input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-array
+arrayinput schema for rime.
+
+%package -n rime-schema-cantonese
+Summary: cantonese input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-cantonese
+cantoneseinput schema for rime.
+
+%package -n rime-schema-combo-pinyin
+Summary: combo-pinyin input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-combo-pinyin
+combo-pinyininput schema for rime.
+
+%package -n rime-schema-double-pinyin
+Summary: double-pinyin input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-double-pinyin
+double-pinyininput schema for rime.
+
+%package -n rime-schema-emoji
+Summary: emoji input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-emoji
+emojiinput schema for rime.
+
+%package -n rime-schema-ipa
+Summary: ipa input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-ipa
+ipainput schema for rime.
+
+%package -n rime-schema-jyutping
+Summary: jyutping input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-jyutping
+jyutpinginput schema for rime.
+
+%package -n rime-schema-middle-chinese
+Summary: middle-chinese input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-middle-chinese
+middle-chineseinput schema for rime.
+
+%package -n rime-schema-pinyin-simp
+Summary: pinyin-simp input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-pinyin-simp
+pinyin-simpinput schema for rime.
+
+%package -n rime-schema-quick
+Summary: quick input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-quick
+quickinput schema for rime.
+
+%package -n rime-schema-scj
+Summary: scj input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-scj
+scjinput schema for rime.
+
+%package -n rime-schema-soutzoe
+Summary: soutzoe input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-soutzoe
+soutzoeinput schema for rime.
+
+%package -n rime-schema-stenotype
+Summary: stenotype input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-stenotype
+stenotypeinput schema for rime.
+
+%package -n rime-schema-wubi
+Summary: wubi input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-wubi
+wubiinput schema for rime.
+
+%package -n rime-schema-wugniu
+Summary: wugniu input schema for rime
+Group: System/I18n/Chinese
+BuildArch: noarch
+
+%description -n rime-schema-wugniu
+wugniuinput schema for rime.
+
%prep
%setup -q
echo %{_builddir}
mkdir -p %{_builddir}/go/src/github.com/marguerite
-tar -xf %{S:1} -C %{_builddir}/go/src/github.com/marguerite
-cp -r %{_builddir}/go/src/github.com/marguerite/rime-plum-go/vendor/* %{_builddir}/go/src/
+tar -xf %{SOURCE1} -C %{_builddir}/go/src/github.com/marguerite
+cp -r %{_builddir}/go/src/github.com/marguerite/rime-plum-go-%{version}/vendor/* %{_builddir}/go/src/
%build
-pushd %{_builddir}/go/src/github.com/marguerite/rime-plum-go
+pushd %{_builddir}/go/src/github.com/marguerite/rime-plum-go-%{version}
export GOPATH=%{_builddir}/go
go build plum.go
popd
%install
mkdir -p %{buildroot}%{_bindir}
-install -m 0755 %{_builddir}/go/src/github.com/marguerite/rime-plum-go/plum %{buildroot}%{_bindir}/rime-plum
+install -m 0755 %{_builddir}/go/src/github.com/marguerite/rime-plum-go-%{version}/plum %{buildroot}%{_bindir}/rime-plum
mkdir -p %{buildroot}%{_datadir}/rime-data
rm -rf package
+rm -rf config.txt
+#touch %{buildroot}%{_datadir}/rime-data/presets
cp -r * %{buildroot}%{_datadir}/rime-data
-%files
-%defattr(-,root,root)
-%{_datadir}/rime-data/
-
%files -n rime-plum
%{_bindir}/rime-plum
+%files -n rime-schema-default
+%dir %{_datadir}/rime-data
+%dir %{_datadir}/rime-data/build
+
+%files -n rime-schema-extra
+%dir %{_datadir}/rime-data
+%dir %{_datadir}/rime-data/build
+
+%files -n rime-schema-all
+%dir %{_datadir}/rime-data
+%dir %{_datadir}/rime-data/build
+
+%files -n rime-schema-bopomofo
+%dir %{_datadir}/rime-data
+%dir %{_datadir}/rime-data/build
+%{_datadir}/rime-data/bopomofo*.yaml
+%{_datadir}/rime-data/build/bopomofo*.bin
+%{_datadir}/rime-data/build/bopomofo*.yaml
+
+%files -n rime-schema-cangjie
+%dir %{_datadir}/rime-data
+%dir %{_datadir}/rime-data/build
+%{_datadir}/rime-data/cangjie*.yaml
+%{_datadir}/rime-data/build/cangjie*.bin
+%{_datadir}/rime-data/build/cangjie*.yaml
+
+%files -n rime-schema-essay
+%dir %{_datadir}/rime-data
+%dir %{_datadir}/rime-data/build
+%{_datadir}/rime-data/essay.txt
+
+%files -n rime-schema-luna-pinyin
+%dir %{_datadir}/rime-data
+%dir %{_datadir}/rime-data/build
+%{_datadir}/rime-data/luna_pinyin*.yaml
+%{_datadir}/rime-data/luna_quanpin*.yaml
+%{_datadir}/rime-data/build/luna_pinyin*.bin
+%{_datadir}/rime-data/build/luna_pinyin*.yaml
+%{_datadir}/rime-data/build/luna_quanpin*.bin
+%{_datadir}/rime-data/build/luna_quanpin*.yaml
+
+%files -n rime-schema-prelude
+%dir %{_datadir}/rime-data
+%dir %{_datadir}/rime-data/build
+%{_datadir}/rime-data/default.yaml
+%{_datadir}/rime-data/key_bindings.yaml
+%{_datadir}/rime-data/punctuation.yaml
+%{_datadir}/rime-data/symbols.yaml
+%{_datadir}/rime-data/build/default.yaml
+
+%files -n rime-schema-stroke
+%dir %{_datadir}/rime-data
+%dir %{_datadir}/rime-data/build
+%{_datadir}/rime-data/stroke*.yaml
+%{_datadir}/rime-data/build/stroke*.bin
+%{_datadir}/rime-data/build/stroke*.yaml
+
+%files -n rime-schema-terra-pinyin
+%dir %{_datadir}/rime-data
+%dir %{_datadir}/rime-data/build
+%{_datadir}/rime-data/terra_pinyin*.yaml
+%{_datadir}/rime-data/build/terra_pinyin*.bin
+%{_datadir}/rime-data/build/terra_pinyin*.yaml
+
+%files -n rime-schema-array
+%dir %{_datadir}/rime-data
+%{_datadir}/rime-data/array*.yaml
+
+%files -n rime-schema-cantonese
+%dir %{_datadir}/rime-data
+%{_datadir}/rime-data/jyut6ping3*.yaml
+%{_datadir}/rime-data/symbols_cantonese.yaml
+
+%files -n rime-schema-combo-pinyin
+%dir %{_datadir}/rime-data
+%{_datadir}/rime-data/combo_pinyin*.yaml
+
+%files -n rime-schema-double-pinyin
+%dir %{_datadir}/rime-data
+%{_datadir}/rime-data/double_pinyin*.yaml
+
+%files -n rime-schema-emoji
+%dir %{_datadir}/rime-data
+%{_datadir}/rime-data/emoji*.yaml
+
+%files -n rime-schema-ipa
+%dir %{_datadir}/rime-data
+%{_datadir}/rime-data/ipa*.yaml
+
+%files -n rime-schema-jyutping
+%dir %{_datadir}/rime-data
+%{_datadir}/rime-data/jyutping*.yaml
+%{_datadir}/rime-data/yale*.yaml
+%{_datadir}/rime-data/hkcantonese*.yaml
+
+%files -n rime-schema-middle-chinese
+%dir %{_datadir}/rime-data
+%{_datadir}/rime-data/sampheng*.yaml
+%{_datadir}/rime-data/zyenpheng*.yaml
+
+%files -n rime-schema-pinyin-simp
+%dir %{_datadir}/rime-data
+%{_datadir}/rime-data/pinyin_simp*.yaml
+
+%files -n rime-schema-quick
+%dir %{_datadir}/rime-data
+%{_datadir}/rime-data/quick*.yaml
+
+%files -n rime-schema-scj
+%dir %{_datadir}/rime-data
+%{_datadir}/rime-data/scj*.yaml
+
+%files -n rime-schema-soutzoe
+%dir %{_datadir}/rime-data
+%{_datadir}/rime-data/soutzoe*.yaml
+
+%files -n rime-schema-stenotype
+%dir %{_datadir}/rime-data
+%{_datadir}/rime-data/stenotype*.yaml
+
+%files -n rime-schema-wubi
+%dir %{_datadir}/rime-data
+%{_datadir}/rime-data/wubi*.yaml
+
+%files -n rime-schema-wugniu
+%dir %{_datadir}/rime-data
+%{_datadir}/rime-data/wugniu*.yaml
+
%changelog
diff --git a/rime-plum-go-20201009+git.3e1838a.tar.xz b/rime-plum-go-20201009+git.3e1838a.tar.xz
new file mode 100644
index 0000000..d74108b
--- /dev/null
+++ b/rime-plum-go-20201009+git.3e1838a.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6a2eb95728ae6ac85bbbef12be21f5038abc4562d106221739fb28b0a599216b
+size 827008
diff --git a/rime-plum-go.tar.xz b/rime-plum-go.tar.xz
deleted file mode 100644
index 766d735..0000000
--- a/rime-plum-go.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:64de1b5a26ae48378c80bf356c78af29d15875821bbf6a8e3e4be71c8bbcecf2
-size 5037164