Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
sunpinyin
sunpinyin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sunpinyin.spec of Package sunpinyin
# # spec file for package sunpinyin # # Copyright (c) 2010 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: sunpinyin Version: 2.0.4 Release: 1 License: LGPL-2.1+ Summary: A Statistical Language Model Based Chinese Input Method Url: http://sunpinyin.org Group: System/I18n/Chinese Source: %{name}-%{version}.tar.bz2 Source1: lm_sc.t3g.arpa.tar.bz2 Source2: dict.utf8.tar.bz2 BuildRequires: fdupes BuildRequires: update-desktop-files BuildRequires: scons BuildRequires: sqlite3-devel BuildRequires: gcc-c++ BuildRequires: gtk2-devel BuildRequires: python-devel BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Sunpinyin is a statistical language model based Chinese input method engine. to model the Chinese language, it use a backoff bigram and trigram language model. %package -n lib%{name}3 Summary: Libraries for Sunpinyin Group: System/Libraries Provides: %{name} = %{version} %description -n lib%{name}3 Sunpinyin is a statistical language model based Chinese input method engine. to model the Chinese language, it use a backoff bigram and trigram language model. %package devel Summary: Development Files for Sunpinyin Group: Development/Libraries/Other Requires: %{name} = %{version} Provides: lib%{name}-devel = %{version} Obsoletes: lib%{name}-devel < %{version} %description devel Sunpinyin is a statistical language model based Chinese input method engine. to model the Chinese language, it use a backoff bigram and trigram language model. %prep %setup -q %build %{__cp} -r %{S:1} ./raw/ %{__cp} -r %{S:2} ./raw/ scons --prefix=%{_prefix} %install scons --prefix=%{_prefix} --libdir=%{_libdir} --install-sandbox=%{buildroot} install %post -n lib%{name}3 -p /sbin/ldconfig %postun -n lib%{name}3 -p /sbin/ldconfig %files -n lib%{name}3 %defattr(-,root,root) %doc AUTHORS NEWS LGPL.LICENSE %{_libdir}/lib%{name}.so.* /usr/lib/%{name}/ %files devel %defattr(-,root,root) %{_includedir}/%{name}-2.0/ %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/%{name}-2.0.pc %changelog
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