forked from pool/ibus-sunpinyin
This commit is contained in:
parent
5b33a33875
commit
455da29b5f
@ -1,3 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 20 22:53:41 CST 2013 - hillwood@linuxfans.org
|
||||
|
||||
- And python-ibus as Requires.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 7 03:46:59 UTC 2013 - i@marguerite.su
|
||||
|
||||
- remove unnessary Requires.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 27 14:53:01 UTC 2013 - i@marguerite.su
|
||||
|
||||
- fix the crappy libexecdir.
|
||||
* no longer install to /usr/lib/ibus-sunpinyin,
|
||||
even on a x86_64 system. install %{_libdir}/ibus instead.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 2 14:44:35 UTC+8 2012 - hillwood@linuxfans.org
|
||||
|
||||
- bring ibus-sunpinyin as default in DVD.
|
||||
- add Provides(ibus:zh)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 16 15:51:23 UTC 2012 - cfarrell@suse.com
|
||||
|
||||
@ -19,5 +42,5 @@ Fri Jul 29 15:23:31 UTC 2011 - hillwood@linuxfans.org
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 00:00:00 UTC 2011 - hillwood@linuxfans.org
|
||||
|
||||
- new release 2.0.3-
|
||||
- new release 2.0.3
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for ibus-sunpinyin
|
||||
# spec file for package ibus-sunpinyin
|
||||
#
|
||||
# Copyright (c) 2010 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,26 +15,29 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: ibus-sunpinyin
|
||||
Version: 2.0.3
|
||||
Release: 1
|
||||
Release: 0
|
||||
Summary: Sunpinyin module for ibus
|
||||
Group: System/I18n/Chinese
|
||||
License: LGPL-2.1 or CDDL-1.0
|
||||
Group: System/I18n/Chinese
|
||||
Url: http://code.google.com/p/sunpinyin/
|
||||
BuildRequires: ibus-devel, python >= 2.6, intltool, gcc-c++, scons >= 1.2.0
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: ibus-devel
|
||||
BuildRequires: intltool
|
||||
BuildRequires: libsunpinyin-devel
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: scons >= 1.2.0
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: sqlite3-devel libxslt
|
||||
BuildRequires: sqlite3-devel
|
||||
%else
|
||||
BuildRequires: sqlite-devel
|
||||
%endif
|
||||
BuildRequires: libsunpinyin-devel
|
||||
Requires: ibus
|
||||
Source: http://sunpinyin.googlecode.com/files/ibus-sunpinyin-%{version}.tar.gz
|
||||
Provides: locale(ibus:zh_CN;zh_SG)
|
||||
Requires: python-ibus
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
AutoReqProv: on
|
||||
|
||||
%description
|
||||
ibus-sunpinyin is a wrapper around SunPinyin which enables user to use
|
||||
@ -42,23 +45,22 @@ SunPinyin with IBus framework.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
sed -i "s/LIBEXECDIR'\].*ibus-sunpinyin.*/LIBEXECDIR'\]/" SConstruct
|
||||
|
||||
%build
|
||||
scons --prefix=%{_prefix} --libdir=%{_libdir}
|
||||
scons --prefix=%{_prefix} --libdir=%{_libdir} --libexecdir=%{_libdir}/ibus
|
||||
|
||||
%install
|
||||
scons install --prefix=%{_prefix} --libdir=%{_libdir} --install-sandbox=$RPM_BUILD_ROOT
|
||||
%find_lang %{name}
|
||||
scons install --prefix=%{_prefix} --libdir=%{_libdir} --libexecdir=%{_libdir}/ibus --install-sandbox=%{buildroot}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%find_lang %{name}
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%doc README COPYING
|
||||
/usr/lib/ibus-sunpinyin
|
||||
%{_libdir}/ibus/ibus-engine-sunpinyin
|
||||
%{_libdir}/ibus/ibus-setup-sunpinyin
|
||||
%{_datadir}/%{name}
|
||||
%{_datadir}/ibus
|
||||
%{_datadir}/ibus/component/sunpinyin.xml
|
||||
|
||||
%changelog
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user