SHA256
1
0
forked from pool/brise

Accepting request 717213 from home:MargueriteSu:branches:M17N

- update 0.39+git20190120.8d5ec2e
  * brise was deprecated since plum came out. openSUSE still
    provides brise but it is just a collection of ":all"
    schema set fetched by plum. the version will just
    indicate the time when maintainer updates the package
    from now on, because every schema has a separate git
    repository and no way to get a version. but we'd better
    collect some major changes from these repositories and
    list here.

OBS-URL: https://build.opensuse.org/request/show/717213
OBS-URL: https://build.opensuse.org/package/show/M17N/brise?expand=0&rev=11
This commit is contained in:
Marguerite Su 2019-07-20 13:19:40 +00:00 committed by Git OBS Bridge
parent 984d9ecfa6
commit baf12a26ad
8 changed files with 55 additions and 31 deletions

9
README Normal file
View File

@ -0,0 +1,9 @@
brise is deprecated since plum comes out.
the standard [plum](https://github.com/rime/plum) is developed in bash. openSUSE uses [rime-plum-go](https://github.com/marguerite/rime-plum-go).
brise in openSUSE is just a checkout of :all
mkdir brise-0.38
go build rime-plum-go/plum.go
rime-plum-go/plum -d brise -b -r :all

View File

@ -1,17 +0,0 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/rime/brise.git</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="versionformat">0.36+git%cd.%h</param>
<param name="revision">master</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">brise-*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled">
<param name="basename">brise</param>
</service>
</services>

View File

@ -1,4 +0,0 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/rime/brise.git</param>
<param name="changesrevision">7dbd56b9ce08f75228a7c897109ec397cb48b057</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4326d2d2ff95a7ad518f8ea5935af15295ce70db2004ef929cc3e6e13d050adf
size 4946204

View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sat Jul 20 09:56:51 UTC 2019 - Marguerite Su <i@marguerite.su>
- update 0.39+git20190120.8d5ec2e
* brise was deprecated since plum came out. openSUSE still
provides brise but it is just a collection of ":all"
schema set fetched by plum. the version will just
indicate the time when maintainer updates the package
from now on, because every schema has a separate git
repository and no way to get a version. but we'd better
collect some major changes from these repositories and
list here.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 14 19:55:18 2016 - qzhao@suse.com Wed Mar 14 19:55:18 2016 - qzhao@suse.com

View File

@ -17,15 +17,15 @@
Name: brise Name: brise
Version: 0.36+git20160221.7dbd56b Version: 0.39+git20190120.8d5bc2e
Release: 0 Release: 0
Summary: Rime Input Schemas Collection Summary: Rime Input Schemas Collection
License: GPL-3.0+ License: GPL-3.0+
Group: System/I18n/Chinese Group: System/I18n/Chinese
Url: https://github.com/lotem/brise Url: https://github.com/rime/brise
Source: brise-%{version}.tar.xz Source: brise-%{version}.tar.xz
BuildRequires: kyotocabinet Source1: rime-plum-go.tar.xz
BuildRequires: librime-devel BuildRequires: go
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -35,18 +35,38 @@ 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.
%prep %prep
%setup -q %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/
%build %build
make %{?_smp_mflags} pushd %{_builddir}/go/src/github.com/marguerite/rime-plum-go
export GOPATH=%{_builddir}/go
go build plum.go
popd
%install %install
make DESTDIR=%{buildroot} install %{?_smp_mflags} mkdir -p %{buildroot}%{_bindir}
install -m 0755 %{_builddir}/go/src/github.com/marguerite/rime-plum-go/plum %{buildroot}%{_bindir}/rime-plum
mkdir -p %{buildroot}%{_datadir}/rime-data
rm -rf package
cp -r * %{buildroot}%{_datadir}/rime-data
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_datadir}/rime-data/ %{_datadir}/rime-data/
%doc LICENSE
%files -n rime-plum
%{_bindir}/rime-plum
%changelog %changelog

3
rime-plum-go.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35f3de715c74389f42fe8dc6f1576093989c486debb87c3d1befb73efcbd2ef0
size 3368388