add link
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/brise?expand=0&rev=1
This commit is contained in:
commit
62d437254a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
18
brise.changes
Normal file
18
brise.changes
Normal file
@ -0,0 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
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.
|
||||
|
50
brise.spec
Normal file
50
brise.spec
Normal file
@ -0,0 +1,50 @@
|
||||
#
|
||||
# spec file for package brise
|
||||
#
|
||||
# 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: brise
|
||||
Version: 0.9.2
|
||||
Release: 0
|
||||
License: GPL-3.0+
|
||||
Summary: Rime Input Schemas Collection
|
||||
Url: http://code.google.com/p/rimeime
|
||||
Group: System/I18n/Chinese
|
||||
Source: librime-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%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.
|
||||
|
||||
Brise is the input schemas collection of Rime.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}
|
||||
|
||||
%build
|
||||
# no need to build
|
||||
|
||||
%install
|
||||
install -d -m 755 %{buildroot}%{_datadir}/%{name}/
|
||||
cp -r * %{buildroot}%{_datadir}/%{name}/
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/%{name}/
|
||||
|
||||
%changelog
|
3
librime-0.9.2.tar.gz
Normal file
3
librime-0.9.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a60971a0799a75d5c2e245e472396b704759cdb6b63d7fb1d3dcfc97e8c5c3dc
|
||||
size 7268599
|
23
librime.changes
Normal file
23
librime.changes
Normal file
@ -0,0 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
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.
|
||||
|
157
librime.spec
Normal file
157
librime.spec
Normal file
@ -0,0 +1,157 @@
|
||||
#
|
||||
# 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.2
|
||||
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: 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
|
||||
Requires: rime-data = %{version}
|
||||
|
||||
%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 rime-data
|
||||
Summary: Schemas of Rime
|
||||
Group: System/I18n/Chinese
|
||||
|
||||
%description -n rime-data
|
||||
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 resources and schemas of Rime.
|
||||
|
||||
%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 rime-data
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/rime-data/
|
||||
|
||||
%files -n librime0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/%{name}.so.0
|
||||
%{_libdir}/%{name}.so.0.9.2
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/rime_api.h
|
||||
%{_libdir}/%{name}.so
|
||||
%{_libdir}/pkgconfig/rime.pc
|
||||
%{_datadir}/cmake/rime/
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user