|
|
@ -1,7 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: libchewing
|
|
|
|
Name: libchewing
|
|
|
|
Version: 0.3.2
|
|
|
|
Version: 0.3.2
|
|
|
|
Release: 7%{?dist}
|
|
|
|
Release: 8%{?dist}
|
|
|
|
Summary: Intelligent phonetic input method library for Traditional Chinese
|
|
|
|
Summary: Intelligent phonetic input method library for Traditional Chinese
|
|
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
@ -40,7 +40,7 @@ Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}, pkgconfig
|
|
|
|
Requires: %{name} = %{version}-%{release}, pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}-devel
|
|
|
|
%description -n %{name}-devel
|
|
|
|
Headers and other files needed to develop applications using the %name
|
|
|
|
Headers and other files needed to develop applications using the %name
|
|
|
|
library.
|
|
|
|
library.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
@ -54,19 +54,18 @@ library.
|
|
|
|
#%patch6 -p1 -b .7-bz237916
|
|
|
|
#%patch6 -p1 -b .7-bz237916
|
|
|
|
#%patch7 -p1 -b .8-bz200694
|
|
|
|
#%patch7 -p1 -b .8-bz200694
|
|
|
|
#%patch8 -p1 -b .9-bz195416
|
|
|
|
#%patch8 -p1 -b .9-bz195416
|
|
|
|
%patch9 -p0 -b .libpatch
|
|
|
|
%patch9 -p0 -b .bz477690
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
#./autogen.sh
|
|
|
|
#./autogen.sh
|
|
|
|
#autoreconf -v
|
|
|
|
#autoreconf -v
|
|
|
|
export CFLAGS=-DLIBINSTDIR='\"%{_libdir}\"'
|
|
|
|
export CFLAGS=-DLIBINSTDIR='\"%{_libdir}\" -g'
|
|
|
|
%configure --disable-static
|
|
|
|
%configure --disable-static
|
|
|
|
#make LIBINSTDIR="\"%{_libdir}\""
|
|
|
|
%{__make} RPM_CFLAGS="%{optflags}" %{_smp_mflags}
|
|
|
|
make all RPM_CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
#rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
%{__make} DESTDIR=%{buildroot} install
|
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/libchewing.la
|
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/libchewing.la
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{libchewing_python_dir}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{libchewing_python_dir}
|
|
|
|
cp python/chewing.py $RPM_BUILD_ROOT%{libchewing_python_dir}
|
|
|
|
cp python/chewing.py $RPM_BUILD_ROOT%{libchewing_python_dir}
|
|
|
@ -88,7 +87,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{_datadir}/chewing/*
|
|
|
|
%{_datadir}/chewing/*
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%{_libdir}/chewing
|
|
|
|
%{_libdir}/chewing
|
|
|
|
%{libchewing_python_dir}
|
|
|
|
%{libchewing_python_dir}
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%defattr(-, root, root)
|
|
|
@ -98,6 +97,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Apr 22 2009 Ding-Yi Chen <dchen at redhat dot com> - 0.3.2-8
|
|
|
|
|
|
|
|
- Fix [Bug 496968] - libchewing-debuginfo does not contain sources.
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-7
|
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
@ -113,13 +115,13 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
So python thinks libchewing is a library.
|
|
|
|
So python thinks libchewing is a library.
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 14 2009 Ding-Yi Chen <dchen at redhat dot com> - 0.3.2-3
|
|
|
|
* Thu Jan 14 2009 Ding-Yi Chen <dchen at redhat dot com> - 0.3.2-3
|
|
|
|
- Add python binding by copy python/chewing.py to
|
|
|
|
- Add python binding by copy python/chewing.py to
|
|
|
|
<python_dir>/site_packages/libchewing
|
|
|
|
<python_dir>/site_packages/libchewing
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Dec 23 2008 Ding-Yi Chen <dchen at redhat dot com> - 0.3.2-2
|
|
|
|
* Tue Dec 23 2008 Ding-Yi Chen <dchen at redhat dot com> - 0.3.2-2
|
|
|
|
- [Bug 477690] libchewing multilib conflict
|
|
|
|
- [Bug 477690] libchewing multilib conflict
|
|
|
|
Move /usr/share/chewing/fonetree.dat to corresponding libdir.
|
|
|
|
Move /usr/share/chewing/fonetree.dat to corresponding libdir.
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Dec 03 2008 Ding-Yi Chen <dchen at redhat dot com> - 0.3.2-0
|
|
|
|
* Wed Dec 03 2008 Ding-Yi Chen <dchen at redhat dot com> - 0.3.2-0
|
|
|
|
- Upstream update to 0.3.2.
|
|
|
|
- Upstream update to 0.3.2.
|
|
|
|
|
|
|
|
|
|
|
@ -148,7 +150,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
- Fixed bz#237233: Up arrow on candidate list doesn't work.
|
|
|
|
- Fixed bz#237233: Up arrow on candidate list doesn't work.
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 09 2007 Caius Chance <cchance@redhat.com> - 0.3.0-6.devel
|
|
|
|
* Fri Mar 09 2007 Caius Chance <cchance@redhat.com> - 0.3.0-6.devel
|
|
|
|
- Fixed bz231568: [chewing] Look up table is showing candidates of previous
|
|
|
|
- Fixed bz231568: [chewing] Look up table is showing candidates of previous
|
|
|
|
look-up.
|
|
|
|
look-up.
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 21 2006 Caius Chance <cchance@redhat.com> - 0.3.0-5.fc7
|
|
|
|
* Tue Nov 21 2006 Caius Chance <cchance@redhat.com> - 0.3.0-5.fc7
|
|
|
@ -158,7 +160,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
instance reset.)
|
|
|
|
instance reset.)
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Sep 15 2006 Caius Chance <cchance@redhat.com> - 0.3.0-4.fc6
|
|
|
|
* Fri Sep 15 2006 Caius Chance <cchance@redhat.com> - 0.3.0-4.fc6
|
|
|
|
- Fixed bz#206232 - Shift_L + space doesn't work correctly
|
|
|
|
- Fixed bz#206232 - Shift_L + space doesn't work correctly
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 04 2006 Caius Chance <cchance@redhat.com> - 0.3.0-3.fc6
|
|
|
|
* Mon Sep 04 2006 Caius Chance <cchance@redhat.com> - 0.3.0-3.fc6
|
|
|
|
- Fixed bz#199353 - scim-chewing hangs for commit > 6 characters
|
|
|
|
- Fixed bz#199353 - scim-chewing hangs for commit > 6 characters
|
|
|
|