3bcc798
Name:		libchewing
dsantani 865e6f3
Version:	0.3.0
cchance 7d43204
Release: 	5%{?dist}
3bcc798
Summary:      Intelligent phonetic input method library for Traditional Chinese
3bcc798
3bcc798
Group: 		System Environment/Libraries
3bcc798
License:	GPL
3bcc798
URL:		http://chewing.csie.net/
cchance 37c87a5
Source:		http://chewing.csie.net/download/libchewing/%{name}-%{version}.tar.gz
cchance 0e5f655
Patch0:		libchewing-0.3.0-3.bz199353.patch
cchance 0e5f655
Patch1:		libchewing-0.3.0-4.bz206232.patch
cchance 7d43204
Patch2:		libchewing-0.3.0-5.bz216581a.patch
cchance 7d43204
Patch3:		libchewing-0.3.0-5.bz216581b.patch
cchance 0e5f655
3bcc798
BuildRoot:  	%{_tmppath}/%{name}-%{version}-root
3bcc798
3bcc798
%description
3bcc798
libchewing is an intelligent phonetic input method library for Chinese.
3bcc798
3bcc798
It provides the core algorithm and logic that can be used by various
3bcc798
input methods.  The Chewing input method is a smart bopomofo phonetics
3bcc798
input method that is useful for inputting Mandarin Chinese.
3bcc798
3bcc798
3bcc798
%package  -n %{name}-devel
3bcc798
Summary:	Development files for libchewing
3bcc798
Group: 		Development/Libraries
3bcc798
Requires: %{name} = %{version}-%{release}, pkgconfig
3bcc798
3bcc798
%description -n %{name}-devel
3bcc798
Headers and other files needed to develop applications using the %name library.
3bcc798
3bcc798
%prep
3bcc798
%setup -q
cchance 37c87a5
%patch0 -p1 -b .1-bz199353
cchance 0e5f655
%patch1 -p1 -b .2-bz206232
cchance 7d43204
%patch2 -p1 -b .3-bz216581a
cchance 7d43204
%patch3 -p1 -b .4-bz216581b
3bcc798
3bcc798
%build
e2c71e2
%configure --disable-static
3bcc798
make
3bcc798
3bcc798
%install
3bcc798
rm -rf $RPM_BUILD_ROOT
3bcc798
make DESTDIR=%{buildroot} install
3bcc798
e2c71e2
rm $RPM_BUILD_ROOT%{_libdir}/libchewing.la
3bcc798
3bcc798
%post -p /sbin/ldconfig
3bcc798
3bcc798
%postun -p /sbin/ldconfig
3bcc798
3bcc798
%clean
3bcc798
rm -rf $RPM_BUILD_ROOT
3bcc798
3bcc798
%files
3bcc798
%defattr(-, root, root)
e2c71e2
%doc README AUTHORS COPYING
3bcc798
%dir %{_datadir}/chewing
3bcc798
%{_datadir}/chewing/*
3bcc798
%attr(755, root, root) %{_libdir}/*.so.*
3bcc798
3bcc798
%files devel
3bcc798
%defattr(-, root, root)
3bcc798
%dir %{_includedir}/chewing
3bcc798
%{_includedir}/chewing/*
3bcc798
%{_libdir}/pkgconfig/chewing.pc
3bcc798
%{_libdir}/*.so
3bcc798
3bcc798
%changelog
cchance 7d43204
* Tue Nov 21 2006 Caius Chance <cchance@redhat.com> - 0.3.0-5.fc7
cchance 7d43204
- Fixed bz#216581: Ported the following bugfix:
cchance 7d43204
- (bz#216337: Page Up / Page Down key doesn't when Chewing is activated.)
cchance 7d43204
- (bz#209575: preedit buffer is not cleared when framework calls for
cchance 7d43204
  instance reset.)
cchance 7d43204
cchance 0e5f655
* Fri Sep 15 2006 Caius Chance <cchance@redhat.com> - 0.3.0-4.fc6
cchance 0e5f655
- Fixed bz#206232 - Shift_L + space doesn't work correctly  
cchance 0e5f655
cchance 37c87a5
* Mon Sep 04 2006 Caius Chance <cchance@redhat.com> - 0.3.0-3.fc6
cchance 37c87a5
- Fixed bz#199353 - scim-chewing hangs for commit > 6 characters
cchance 37c87a5
29e01cd
* Wed Jul 19 2006 Jesse Keating <jkeating@redhat.com> - 0.3.0-2
29e01cd
- fix release
29e01cd
b636a37
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.3.0-1.2.1.1
b636a37
- rebuild
b636a37
dsantani 865e6f3
* Mon May 22 2006 Darshan Santani <dsantani@redhat.com>
dsantani 865e6f3
- New source tarball added.
dsantani 865e6f3
- Rebuild.
dsantani 865e6f3
e2c71e2
* Thu May 18 2006 Jens Petersen <petersen@redhat.com>
e2c71e2
- configure with --disable-static
e2c71e2
- exclude INSTALL from docs
e2c71e2
ef5afae
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.2.7-1.2.1
ef5afae
- bump again for double-long bug on ppc(64)
ef5afae
df3e42f
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.2.7-1.2
df3e42f
- rebuilt for new gcc4.1 snapshot and glibc changes
df3e42f
22d7fe8
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
22d7fe8
- rebuilt
22d7fe8
3bcc798
* Tue Aug 16 2005 Jens Petersen <petersen@redhat.com> - 0.2.7-1
3bcc798
- Initial build for Fedora Core
3bcc798
- cleanup spec file according to Fedora standard
3bcc798
3bcc798
* Fri Dec 31 2004 rabit <rabit@ipserv.org> 0.2.5-fc3
3bcc798
- update for 0.2.5. and fedora core 3
3bcc798
3bcc798
* Thu Oct 8 2004 rabit <rabit@ipserv.org> 0.2.4-fc2
3bcc798
- update for 0.2.4.
3bcc798
3bcc798
* Thu Oct 7 2004 rabit <rabit@ipserv.org> 0.2.3-fc2
3bcc798
- Initial build.