Fix [Bug 496886] libchewing-debuginfo does not contain sources

epel9
Ding-Yi Chen 16 years ago
parent c9d1b51017
commit dfcb414a5e

@ -6,3 +6,4 @@ libchewing-0_3_2-2_fc10:HEAD:libchewing-0.3.2-2.fc10.src.rpm:1230010807
libchewing-0_3_2-3_fc10:HEAD:libchewing-0.3.2-3.fc10.src.rpm:1231914268
libchewing-0_3_2-4_fc10:HEAD:libchewing-0.3.2-4.fc10.src.rpm:1232696067
libchewing-0_3_2-6_fc10:HEAD:libchewing-0.3.2-6.fc10.src.rpm:1235113283
libchewing-0_3_2-8_fc10:HEAD:libchewing-0.3.2-8.fc10.src.rpm:1240375796

@ -1,7 +1,7 @@
Name: libchewing
Version: 0.3.2
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Intelligent phonetic input method library for Traditional Chinese
Group: System Environment/Libraries
@ -40,7 +40,7 @@ Group: Development/Libraries
Requires: %{name} = %{version}-%{release}, pkgconfig
%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.
%prep
@ -54,19 +54,18 @@ library.
#%patch6 -p1 -b .7-bz237916
#%patch7 -p1 -b .8-bz200694
#%patch8 -p1 -b .9-bz195416
%patch9 -p0 -b .libpatch
%patch9 -p0 -b .bz477690
%build
#./autogen.sh
#autoreconf -v
export CFLAGS=-DLIBINSTDIR='\"%{_libdir}\"'
export CFLAGS=-DLIBINSTDIR='\"%{_libdir}\" -g'
%configure --disable-static
#make LIBINSTDIR="\"%{_libdir}\""
make all RPM_CFLAGS="$RPM_OPT_FLAGS"
%{__make} RPM_CFLAGS="%{optflags}" %{_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=%{buildroot} install
#rm -rf $RPM_BUILD_ROOT
%{__make} DESTDIR=%{buildroot} install
rm $RPM_BUILD_ROOT%{_libdir}/libchewing.la
mkdir -p $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/*
%{_libdir}/*.so.*
%{_libdir}/chewing
%{libchewing_python_dir}
%{libchewing_python_dir}
%files devel
%defattr(-, root, root)
@ -98,6 +97,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.so
%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
- 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.
* 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
* Tue Dec 23 2008 Ding-Yi Chen <dchen at redhat dot com> - 0.3.2-2
- [Bug 477690] libchewing multilib conflict
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
- 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.
* 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.
* 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.)
* 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
- Fixed bz#199353 - scim-chewing hangs for commit > 6 characters

Loading…
Cancel
Save