File scim-chewing.spec of Package scim-chewing
#
# spec file for package scim-chewing (Version 0.3.1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: scim-chewing
BuildRequires: gcc-c++ gtk2-devel libchewing-devel perl-XML-Parser scim-devel update-desktop-files
Version: 0.3.1
Release: 133
License: GPL v2 or later
Group: System/I18n/Chinese
AutoReqProv: on
Provides: locale(scim:zh_TW;zh_HK)
PreReq: gconf2 libxml2 orbit2 glib2
Url: http://chewing.csie.net/
Source0: http://chewing.csie.net/download/scim/scim-chewing-0.3.1.tar.bz2
Patch0: missing-includes.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: chewing input method module for SCIM
%description
chewing input method module for SCIM
Authors:
--------
Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
Jim Huang <jserv@kaffe.org>
%prep
%define scim_binary_version %(pkg-config --variable=scim_binary_version scim)
%setup -q -n %{name}-%{version}
%patch0 -p1
%build
#libtoolize --force
#autoreconf -I /opt/gnome/share/aclocal --force --install --verbose
CXXFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=/usr \
--sysconfdir=%{_sysconfdir} \
--libdir=%{_libdir} \
--disable-static \
--disable-schemas-install \
--with-gconf-schema-file-dir=/etc/opt/gnome/gconf/schemas \
--enable-debug
make
%install
make DESTDIR=${RPM_BUILD_ROOT} install
rm -f $RPM_BUILD_ROOT%{_libdir}/scim-1.0/%{scim_binary_version}/*/*.la
%find_lang scim-chewing
%clean
%files -f scim-chewing.lang
%defattr(-, root, root)
%doc AUTHORS COPYING NEWS README ChangeLog
%dir %{_libdir}/scim-1.0/
%dir %{_libdir}/scim-1.0/%{scim_binary_version}/
%dir %{_libdir}/scim-1.0/%{scim_binary_version}/IMEngine/
%{_libdir}/scim-1.0/%{scim_binary_version}/IMEngine/chewing.so
%dir %{_libdir}/scim-1.0/%{scim_binary_version}/SetupUI/
%{_libdir}/scim-1.0/%{scim_binary_version}/SetupUI/chewing-imengine-setup.so
%dir %{_datadir}/scim/icons/
%{_datadir}/scim/icons/*.png
%changelog
* Thu Nov 08 2007 - mfabian@suse.de
- add missing includes to fix build with gcc 4.3.0.
* Sat Oct 28 2006 - meissner@suse.de
- fixed optflags.
* Thu Oct 12 2006 - mfabian@suse.de
- fix to build with scim 1.4.5.
* Thu Jul 13 2006 - mfabian@suse.de
- update to 0.3.1.
+ Fix intltool build process.
+ Fix invalid memory access in scim-setup.
+ Handle unknown input key event in IME engine.
+ Support major changes in libchewing 0.3 .
+ Pure UTF-8 based, no more Big5 <-> UTF-8 converting required.
+ Add Full/Half shape property.
+ Better Chewing IM factory/instance handling.
+ UI enhancements to preedit area with colorized decorations.
+ Allow customized selection keys.
+ Add new option to assign Esc key to clean all keyboard buffer
+ or not.
* Mon May 22 2006 - schwab@suse.de
- Don't strip binaries.
* Tue Feb 28 2006 - mfabian@suse.de
- Bugzilla #153791: use ';' in Provides locale(...).
* Thu Feb 23 2006 - mfabian@suse.de
- add "Provides: locale(scim:zh_TW,zh_HK)"
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Aug 09 2005 - mfabian@suse.de
- update to 0.2.1.
* Thu Aug 04 2005 - mfabian@suse.de
- Bugzilla #97962: add configure option "--enable-debug" to
the .spec file.
* Tue Mar 01 2005 - mfabian@suse.de
- update to 0.2.0
* Tue Dec 21 2004 - mfabian@suse.de
- new package: scim-chewing, version 0.1.1.