Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
novel-pinyin
novel-pinyin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File novel-pinyin.spec of Package novel-pinyin
# # spec file for package novel-pinyin (Version 0.2.3) # # Copyright (c) 2008 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/ # # norootforbuild Name: novel-pinyin BuildRequires: gcc-c++ gtk2-devel intltool scim-devel %if %suse_version > 1020 BuildRequires: libdb-4_5-devel %else BuildRequires: db-devel %endif Summary: A Simplified Chinese Input Method Version: 0.2.3 Release: 1 License: GPL v2 or later Group: System/I18n/Chinese AutoReqProv: on Url: http://novel-pinyin.sf.net Source0: novel-pinyin-%{version}.tar.bz2 Patch1: urgent-patch-fix-novel-pinyin-first-load.patch ExclusiveArch: %{ix86} x86_64 BuildRoot: %{_tmppath}/%{name}-%{version}-build %define scim_moduledir %(pkg-config --variable=moduledir scim) %description A Simplified Chinese Sentence-Based Pinyin Input Method Engine Based On Markov Model. Authors: -------- Peng Wu <alexepico@gmail.com> %prep %setup -q -n %{name}-%{version} %patch1 -p2 find . -type f | xargs chmod u+w %build %configure make %install make DESTDIR=${RPM_BUILD_ROOT} install rm -f $RPM_BUILD_ROOT/%{scim_moduledir}/IMEngine/novel_pinyin.*a rm -f $RPM_BUILD_ROOT/%{scim_moduledir}/SetupUI/novel-pinyin-imengine-setup.*a #install -m 644 $RPM_SOURCE_DIR/gb_char.bin \ # $RPM_BUILD_ROOT/%{_datadir}/scim/novel-pinyin/gb_char.bin #install -m 644 $RPM_SOURCE_DIR/gbk_char.bin \ # $RPM_BUILD_ROOT/%{_datadir}/scim/novel-pinyin/gbk_char.bin #install -m 644 $RPM_SOURCE_DIR/pinyin_index.bin \ # $RPM_BUILD_ROOT/%{_datadir}/scim/novel-pinyin/pinyin_index.bin #install -m 644 $RPM_SOURCE_DIR/bigram.db \ # $RPM_BUILD_ROOT/%{_datadir}/scim/novel-pinyin/bigram.db %find_lang novel-pinyin %files -f novel-pinyin.lang %defattr(-, root, root) %{scim_moduledir}/IMEngine/novel_pinyin.so %{scim_moduledir}/SetupUI/novel-pinyin-imengine-setup.so %{_datadir}/scim/icons/novel-pinyin.png %dir %{_datadir}/scim/novel-pinyin %{_datadir}/scim/novel-pinyin/bigram.db %{_datadir}/scim/novel-pinyin/gb_char.bin %{_datadir}/scim/novel-pinyin/gbk_char.bin %{_datadir}/scim/novel-pinyin/pinyin_index.bin %{_datadir}/scim/novel-pinyin/special_table %changelog * Mon Sep 01 2008 pwu@suse.de - update to version 0.2.3 • Import the entire scim-pinyin phrases as corpus. • Better HMM parameter adjusts. • Better candidates adjusts. • Add version check. • Add data file corruption detection. • Protect against integer overflow. * Mon May 05 2008 pwu@suse.de - fix build error. Patch fix-build-warning.patch. * Mon Mar 10 2008 pwu@suse.de - Add ExclusiveArch: i586 x86_64 * Fri Mar 07 2008 pwu@suse.de - update to novel-pinyin 0.1.6 • Fixes some behavior. • Fixes "nin'e" to "ni'ne". * Mon Feb 25 2008 mfabian@suse.de - use find_lang rpm macro. * Fri Feb 22 2008 pwu@suse.de - update to novel-pinyin 0.1.5 • Fixes input method behavior. * Tue Feb 19 2008 pwu@suse.de - update to novel-pinyin 0.1.3 • Fixes i18n bug, duplicate candidates, show up candidates. * Thu Feb 14 2008 pwu@suse.de - Initial Release of novel-pinyin
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor