- Fix build on FACTORY
- Clean up spec file OBS-URL: https://build.opensuse.org/package/show/M17N/ibus-sunpinyin?expand=0&rev=2
This commit is contained in:
parent
7810302eab
commit
9e5055b9af
@ -1,10 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 1 10:39:40 CEST 2011 - tiwai@suse.de
|
||||
|
||||
- Fix build on FACTORY
|
||||
- Clean up spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 29 15:23:31 UTC 2011 - hillwood@linuxfans.org
|
||||
|
||||
- Move changelog to a single file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 2011 hillwood@linuxfans.org
|
||||
Thu Feb 24 00:00:00 UTC 2011 - hillwood@linuxfans.org
|
||||
|
||||
- new release 2.0.3-
|
||||
|
||||
|
@ -6,80 +6,47 @@
|
||||
# norootforbuild
|
||||
|
||||
Name: ibus-sunpinyin
|
||||
Version: 2.0.3
|
||||
Release: 1
|
||||
Summary: Sunpinyin module for ibus
|
||||
Group: System/I18n/Chinese
|
||||
License: GPLv2 and CDDL dual-licenses
|
||||
Url: http://code.google.com/p/sunpinyin/
|
||||
Version: 2.0.3
|
||||
Release: 1
|
||||
Summary: Sunpinyin module for ibus
|
||||
Group: System/I18n/Chinese
|
||||
License: GPLv2 and CDDL dual-licenses
|
||||
Url: http://code.google.com/p/sunpinyin/
|
||||
BuildRequires: ibus-devel, python >= 2.6, intltool, gcc-c++, scons >= 1.2.0
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: ibus-devel, sqlite3-devel, python >= 2.6, intltool, gcc-c++, scons >= 1.2.0
|
||||
BuildRequires: sqlite3-devel libxslt
|
||||
%else
|
||||
BuildRequires: ibus-devel, sqlite-devel, python >= 2.6, intltool, gcc-c++, scons >= 1.2.0
|
||||
BuildRequires: sqlite-devel
|
||||
%endif
|
||||
BuildRequires: libsunpinyin3-devel, libsunpinyin3
|
||||
Requires: libsunpinyin3, ibus
|
||||
Source: http://sunpinyin.googlecode.com/files/ibus-sunpinyin-%{version}.tar.gz
|
||||
BuildRequires: libsunpinyin-devel
|
||||
Requires: ibus
|
||||
Source: http://sunpinyin.googlecode.com/files/ibus-sunpinyin-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
AutoReqProv: on
|
||||
|
||||
%description
|
||||
SunPinyin
|
||||
===
|
||||
|
||||
SunPinyin is an SLM (Statistical Language Model) based input method
|
||||
engine. To model the Chinese language, it use a backoff bigram and
|
||||
trigram language model.
|
||||
|
||||
Currently, SunPinyin 2.0 is available on IBus.
|
||||
|
||||
ibus-sunpinyin
|
||||
===
|
||||
|
||||
ibus-sunpinyin is a wrapper around SunPinyin which enables user to use
|
||||
SunPinyin with IBus framework.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Lei Zhang <phill.zhang@sun.com>
|
||||
Ervin Yan <ervin.yan@sun.com>
|
||||
Yong Sun <mail@yongsun.me>
|
||||
Kefu Chai <tchaikov@gmail.com>
|
||||
Wei Xue <wei.xue@sun.com>
|
||||
Leo Zheng <zym361@gmail.com>
|
||||
chumsdock <vorbei@gmail.com>
|
||||
|
||||
%prep
|
||||
%setup -n ibus-sunpinyin-2.0.3
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
scons --prefix=/usr --libdir=%{_libdir}
|
||||
scons --prefix=%{_prefix} --libdir=%{_libdir}
|
||||
|
||||
%install
|
||||
scons install --prefix=/usr --libdir=%{_libdir} --install-sandbox=$RPM_BUILD_ROOT
|
||||
|
||||
scons install --prefix=%{_prefix} --libdir=%{_libdir} --install-sandbox=$RPM_BUILD_ROOT
|
||||
%find_lang %{name}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
%postun
|
||||
|
||||
%files
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
#%doc ChangeLog README COPYING
|
||||
%dir /usr/lib/ibus-sunpinyin
|
||||
%dir %{_datadir}/%{name}
|
||||
%dir %{_datadir}/%{name}/setup
|
||||
%dir %{_datadir}/%{name}/icons
|
||||
%dir %{_datadir}/ibus
|
||||
%dir %{_datadir}/ibus/component
|
||||
/usr/lib/ibus-sunpinyin/ibus-engine-sunpinyin
|
||||
/usr/lib/ibus-sunpinyin/ibus-setup-sunpinyin
|
||||
%{_datadir}/%{name}/setup/*
|
||||
%{_datadir}/%{name}/icons/*
|
||||
%{_datadir}/ibus/component/sunpinyin.xml
|
||||
%{_datadir}/locale/zh_CN/LC_MESSAGES/ibus-sunpinyin.mo
|
||||
%doc ChangeLog README COPYING
|
||||
/usr/lib/ibus-sunpinyin
|
||||
%{_datadir}/%{name}
|
||||
%{_datadir}/ibus/component/*
|
||||
|
||||
%changelog
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user