Accepting request 181464 from M17N

I decide to split it (data) from librime, because now they distributes with different version numbers. so if any existing package link in Factory points to openSUSE:Factory librime, please remove brise first then accept this package. thanks

OBS-URL: https://build.opensuse.org/request/show/181464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/brise?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2013-07-02 10:20:22 +00:00 committed by Git OBS Bridge
parent 56c38928fa
commit 206d6e99f9
7 changed files with 28 additions and 187 deletions

View File

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

3
brise-0.22.tar.gz Normal file
View File

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

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Sat Jun 29 09:46:24 UTC 2013 - i@marguerite.su
- update version 0.22
* essay.txt, luna_pinyin, terra_pinyin: lots of bug-fixes.
* wubi86: auto-commit complete words. (max_code_length: 4)
* luna_pinyin*: enable user created custom_phrase.txt (rime>=0.9.9)
-------------------------------------------------------------------
Fri Feb 1 17:01:31 UTC 2013 - i@marguerite.su
- although this package only have a /usr/share/rime-data,
but it need building, 32-bit and 64-bit results are different.
So remove BuildArch: noarch tag to fix ibus/fcitx-rime crash.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 11 14:36:24 UTC 2012 - i@marguerite.su Thu Oct 11 14:36:24 UTC 2012 - i@marguerite.su

View File

@ -1,7 +1,7 @@
# #
# spec file for package brise # spec file for package brise
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,17 +15,18 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: brise Name: brise
Version: 0.13 Version: 0.22
Release: 0 Release: 0
License: GPL-3.0+
Summary: Rime Input Schemas Collection Summary: Rime Input Schemas Collection
Url: http://code.google.com/p/rimeime License: GPL-3.0+
Group: System/I18n/Chinese Group: System/I18n/Chinese
Url: http://code.google.com/p/rimeime
Source: brise-%{version}.tar.gz Source: brise-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: kyotocabinet
BuildRequires: librime-devel BuildRequires: librime-devel
BuildArch: noarch
%description %description
Rime is an Traditional Chinese input method engine. Rime is an Traditional Chinese input method engine.

View File

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

View File

@ -1,30 +0,0 @@
-------------------------------------------------------------------
Thu Oct 11 14:40:51 UTC 2012 - i@marguerite.su
- update version 0.9.4
* document new dependency 'google-glog'.
* fix x64 build.
-------------------------------------------------------------------
Sun Aug 12 14:54:46 UTC 2012 - i@marguerite.su
- dependency name changed from gtest-devel to googletest-devel.
-------------------------------------------------------------------
Sat Jul 21 22:37:03 UTC 2012 - i@marguerite.su
- initial version 0.9.2
* chord-typing support: combine multiple keys to compose a syllable at once.
* configuration: global page_size setting.
* inline mode: extend the API to support inline mode.
* table translator: add option to filter candidates by character set.
* user dictionary: automatic recovery for corrupted databases.
* user dictionary: fixed a bug that was responsible for missing user phrases.
* rime_deployer: a utility program to prepare Rime's workspace.
* rime_dict_manager: a utility program to import/export user dictionaries.
* librime package: include 'brise', a collection of preset schemata in the package.
* new schema: Middle Chinese Phonetic Transcription.
* new schema: IPA input method in X-SAMPA.

View File

@ -1,142 +0,0 @@
#
# spec file for package librime
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#
Name: librime
Version: 0.9.4
Release: 0
Summary: Rime Input Method Engine
License: GPL-3.0+
Group: System/I18n/Chinese
Url: http://code.google.com/p/rimeime/
Source: %{name}-%{version}.tar.gz
BuildRequires: boost-devel
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: glog-devel
BuildRequires: googletest-devel
%if 0%{?suse_version} >= 1220
BuildRequires: libboost_filesystem1_49_0
BuildRequires: libboost_regex1_49_0
BuildRequires: libboost_signals1_49_0
BuildRequires: libboost_system1_49_0
BuildRequires: libboost_thread1_49_0
%endif
%if 0%{?suse_version} == 1140
BuildRequires: libboost_filesystem1_44_0
BuildRequires: libboost_regex1_44_0
BuildRequires: libboost_signals1_44_0
BuildRequires: libboost_system1_44_0
BuildRequires: libboost_thread1_44_0
%endif
%if 0%{?suse_version} == 1210
BuildRequires: libboost_filesystem1_46_1
BuildRequires: libboost_regex1_46_1
BuildRequires: libboost_signals1_46_1
BuildRequires: libboost_system1_46_1
BuildRequires: libboost_thread1_46_1
%endif
%if 0%{?sles_version}
BuildRequires: libboost_filesystem1_36_0
BuildRequires: libboost_regex1_36_0
BuildRequires: libboost_signals1_36_0
BuildRequires: libboost_system1_36_0
BuildRequires: libboost_thread1_36_0
%endif
BuildRequires: libkyotocabinet-devel
BuildRequires: opencc-devel
BuildRequires: pkg-config
BuildRequires: xorg-x11-proto-devel
BuildRequires: yaml-cpp-devel
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Rime is an Traditional Chinese input method engine.
Its idea comes from ancient Chinese brush and carving art.
Mainly it's about to express your thinking with your keystrokes.
%package -n rime
Summary: Rime Input Method Engine
Group: System/I18n/Chinese
%description -n rime
Rime is an Traditional Chinese input method engine.
Its idea comes from ancient Chinese brush and carving art.
Mainly it's about to express your thinking with your keystrokes.
%package -n librime0
Summary: Rime Input Method Engine
Group: System/Libraries
%description -n librime0
Rime is an Traditional Chinese input method engine.
Its idea comes from ancient Chinese brush and carving art.
Mainly it's about to express your thinking with your keystrokes.
This package is the runtime libraries of Rime.
%package devel
Summary: Development files of Rime
Group: Development/Libraries/C and C++
Requires: rime = %{version}
Requires: librime0 = %{version}
%description devel
Rime is an Traditional Chinese input method engine.
Its idea comes from ancient Chinese brush and carving art.
Mainly it's about to express your thinking with your keystrokes.
This package is the development headers of Rime.
%prep
%setup -q -n %{name}
sed -i "s/1.46.0/1.36.0/" CMakeLists.txt
%build
mkdir -pv build
pushd build
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR=%{_libdir} ..
make %{?_smp_mflags}
%install
pushd build
make DESTDIR=%{buildroot} install
%post -n librime0 -p /sbin/ldconfig
%postun -n librime0 -p /sbin/ldconfig
%files -n rime
%defattr(-,root,root)
%doc LICENSE README RELEASE_NOTES
%{_bindir}/rime_deployer
%{_bindir}/rime_dict_manager
%files -n librime0
%defattr(-,root,root)
%{_libdir}/%{name}.so.0
%{_libdir}/%{name}.so.0.9.4
%files devel
%defattr(-,root,root)
%{_includedir}/rime_api.h
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/rime.pc
%{_datadir}/cmake/rime/
%changelog