forked from pool/brise
Compare commits
6 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
54aaf0624b | ||
b888df681e | |||
|
47b4bb70ec | ||
|
d62a9a30c2 | ||
|
bf4eef709f | ||
08d31efba1 |
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 2 18:18:06 UTC 2025 - Cliff Zhao <qzhao@suse.com>
|
||||||
|
|
||||||
|
- Split rime-plum-go out of brise:
|
||||||
|
* go-git is rime-plum-go's component, it meet security issue of
|
||||||
|
the argument injection vulnerability, when rime-plum-go deliver
|
||||||
|
under brise's source code, it is hard to update seperately.
|
||||||
|
* rime-plum-go is a separate project and has a different upstream.
|
||||||
|
* I have done my best to keep the original code the same in
|
||||||
|
respect of Marguerite's hard work.
|
||||||
|
(CVE-2025-21613, bsc#1235573, CVE-2024-45337, bsc#1234597)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 4 18:18:06 UTC 2023 - Cliff Zhao <qzhao@suse.com>
|
Mon Sep 4 18:18:06 UTC 2023 - Cliff Zhao <qzhao@suse.com>
|
||||||
|
|
||||||
@ -163,4 +175,3 @@ Sat Jul 21 22:37:03 UTC 2012 - i@marguerite.su
|
|||||||
* librime package: include 'brise', a collection of preset schemata in the package.
|
* librime package: include 'brise', a collection of preset schemata in the package.
|
||||||
* new schema: Middle Chinese Phonetic Transcription.
|
* new schema: Middle Chinese Phonetic Transcription.
|
||||||
* new schema: IPA input method in X-SAMPA.
|
* new schema: IPA input method in X-SAMPA.
|
||||||
|
|
||||||
|
22
brise.spec
22
brise.spec
@ -15,7 +15,6 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: brise
|
Name: brise
|
||||||
Version: 20230603+git.5fdd2d6
|
Version: 20230603+git.5fdd2d6
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -24,11 +23,9 @@ License: GPL-3.0-or-later
|
|||||||
Group: System/I18n/Chinese
|
Group: System/I18n/Chinese
|
||||||
URL: https://github.com/rime/brise
|
URL: https://github.com/rime/brise
|
||||||
Source: brise-%{version}.tar.xz
|
Source: brise-%{version}.tar.xz
|
||||||
Source1: rime-plum-go-%{version}.tar.xz
|
|
||||||
Source99: README
|
Source99: README
|
||||||
BuildRequires: golang(API) >= 1.17
|
BuildRequires: golang(API) >= 1.17
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Rime is an Traditional Chinese input method engine.
|
Rime is an Traditional Chinese input method engine.
|
||||||
Its idea comes from ancient Chinese brush and carving art.
|
Its idea comes from ancient Chinese brush and carving art.
|
||||||
@ -36,13 +33,6 @@ Mainly it's about to express your thinking with your keystrokes.
|
|||||||
|
|
||||||
Brise is the input schemas collection of Rime.
|
Brise is the input schemas collection of Rime.
|
||||||
|
|
||||||
%package -n rime-plum
|
|
||||||
Summary: Rime's configuration manager
|
|
||||||
Group: System/I18n/Chinese
|
|
||||||
|
|
||||||
%description -n rime-plum
|
|
||||||
Plum is rime's configuration manager.
|
|
||||||
|
|
||||||
%package -n rime-schema-default
|
%package -n rime-schema-default
|
||||||
Summary: Default/Preset collection of rime schemas
|
Summary: Default/Preset collection of rime schemas
|
||||||
Group: System/I18n/Chinese
|
Group: System/I18n/Chinese
|
||||||
@ -329,28 +319,16 @@ wugniu input schema for rime.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
echo %{_builddir}
|
echo %{_builddir}
|
||||||
mkdir -p %{_builddir}/go/src/github.com/marguerite
|
|
||||||
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
|
%build
|
||||||
pushd %{_builddir}/go/src/github.com/marguerite/rime-plum-go-%{version}
|
|
||||||
export GOPATH=%{_builddir}/go
|
|
||||||
go build
|
|
||||||
popd
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
|
||||||
install -m 0755 %{_builddir}/go/src/github.com/marguerite/rime-plum-go-%{version}/rime-plum-go %{buildroot}%{_bindir}/rime-plum
|
|
||||||
mkdir -p %{buildroot}%{_datadir}/rime-data
|
mkdir -p %{buildroot}%{_datadir}/rime-data
|
||||||
cp -r package/rime/custom/*.recipe.yaml %{buildroot}%{_datadir}/rime-data
|
cp -r package/rime/custom/*.recipe.yaml %{buildroot}%{_datadir}/rime-data
|
||||||
rm -rf package
|
rm -rf package
|
||||||
rm -rf config.txt
|
rm -rf config.txt
|
||||||
cp -r * %{buildroot}%{_datadir}/rime-data
|
cp -r * %{buildroot}%{_datadir}/rime-data
|
||||||
|
|
||||||
%files -n rime-plum
|
|
||||||
%{_bindir}/rime-plum
|
|
||||||
|
|
||||||
%files -n rime-schema-default
|
%files -n rime-schema-default
|
||||||
%dir %{_datadir}/rime-data
|
%dir %{_datadir}/rime-data
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:10529dc884c089f8f278129761752b791c5f15c18c6692639b8ec16ed144b542
|
|
||||||
size 2522912
|
|
Loading…
x
Reference in New Issue
Block a user