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
|
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
|
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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,50 +15,52 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
Name: ibus-sunpinyin
|
Name: ibus-sunpinyin
|
||||||
Version: 2.0.3
|
Version: 2.0.3
|
||||||
Release: 1
|
Release: 0
|
||||||
Summary: Sunpinyin module for ibus
|
Summary: Sunpinyin module for ibus
|
||||||
Group: System/I18n/Chinese
|
|
||||||
License: LGPL-2.1 or CDDL-1.0
|
License: LGPL-2.1 or CDDL-1.0
|
||||||
|
Group: System/I18n/Chinese
|
||||||
Url: http://code.google.com/p/sunpinyin/
|
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}
|
%if 0%{?suse_version}
|
||||||
BuildRequires: sqlite3-devel libxslt
|
BuildRequires: sqlite3-devel
|
||||||
%else
|
%else
|
||||||
BuildRequires: sqlite-devel
|
BuildRequires: sqlite-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libsunpinyin-devel
|
|
||||||
Requires: ibus
|
|
||||||
Source: http://sunpinyin.googlecode.com/files/ibus-sunpinyin-%{version}.tar.gz
|
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
AutoReqProv: on
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ibus-sunpinyin is a wrapper around SunPinyin which enables user to use
|
ibus-sunpinyin is a wrapper around SunPinyin which enables user to use
|
||||||
SunPinyin with IBus framework.
|
SunPinyin with IBus framework.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
sed -i "s/LIBEXECDIR'\].*ibus-sunpinyin.*/LIBEXECDIR'\]/" SConstruct
|
||||||
|
|
||||||
%build
|
%build
|
||||||
scons --prefix=%{_prefix} --libdir=%{_libdir}
|
scons --prefix=%{_prefix} --libdir=%{_libdir} --libexecdir=%{_libdir}/ibus
|
||||||
|
|
||||||
%install
|
%install
|
||||||
scons install --prefix=%{_prefix} --libdir=%{_libdir} --install-sandbox=$RPM_BUILD_ROOT
|
scons install --prefix=%{_prefix} --libdir=%{_libdir} --libexecdir=%{_libdir}/ibus --install-sandbox=%{buildroot}
|
||||||
%find_lang %{name}
|
|
||||||
|
|
||||||
%clean
|
%find_lang %{name}
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README COPYING
|
%doc README COPYING
|
||||||
/usr/lib/ibus-sunpinyin
|
%{_libdir}/ibus/ibus-engine-sunpinyin
|
||||||
|
%{_libdir}/ibus/ibus-setup-sunpinyin
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
%{_datadir}/ibus
|
%{_datadir}/ibus/component/sunpinyin.xml
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user