Accepting request 891031 from home:fusionfuture:branches:M17N

[2/2] Remove rime-plum in package brise and ready to move it into a new package for easier maintenance

OBS-URL: https://build.opensuse.org/request/show/891031
OBS-URL: https://build.opensuse.org/package/show/M17N/brise?expand=0&rev=16
This commit is contained in:
Hillwood Yang 2021-05-08 13:32:43 +00:00 committed by Git OBS Bridge
parent 2b102ed2b3
commit 99e59721eb
3 changed files with 5 additions and 25 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 6 12:33:23 UTC 2021 - Fusion Future <qydwhotmail@gmail.com>
- remove rime-plum in package brise and ready to move it into a new package for easier maintenance
-------------------------------------------------------------------
Sat Oct 10 09:50:38 UTC 2020 - Marguerite Su <i@marguerite.su>

View File

@ -24,9 +24,7 @@ License: GPL-3.0-or-later
Group: System/I18n/Chinese
URL: https://github.com/rime/brise
Source: brise-%{version}.tar.xz
Source1: rime-plum-go-%{version}.tar.xz
Source99: README
BuildRequires: go
%description
Rime is an Traditional Chinese input method engine.
@ -35,13 +33,6 @@ 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
%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
@ -270,29 +261,16 @@ wugniuinput schema for rime.
%prep
%setup -q
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
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-%{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 -n rime-plum
%{_bindir}/rime-plum
%files -n rime-schema-default
%dir %{_datadir}/rime-data
%dir %{_datadir}/rime-data/build

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6a2eb95728ae6ac85bbbef12be21f5038abc4562d106221739fb28b0a599216b
size 827008