rpms/libchewing/devel import.log,1.5,1.6 libchewing.spec,1.25,1.26
Ding-Yi Chen
dchen at fedoraproject.org
Wed Jan 14 06:28:52 UTC 2009
- Previous message (by thread): rpms/perl-Devel-Dumpvar/devel perl-Devel-Dumpvar.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/perl-Devel-Dumpvar/F-10 perl-Devel-Dumpvar.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dchen
Update of /cvs/pkgs/rpms/libchewing/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22616/devel
Modified Files:
import.log libchewing.spec
Log Message:
Add python support
Index: import.log
===================================================================
RCS file: /cvs/pkgs/rpms/libchewing/devel/import.log,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- import.log 23 Dec 2008 05:41:25 -0000 1.5
+++ import.log 14 Jan 2009 06:28:21 -0000 1.6
@@ -3,3 +3,4 @@
libchewing-0_3_2-0_fc9:HEAD:libchewing-0.3.2-0.fc9.src.rpm:1228279004
libchewing-0_3_2-1_fc10:HEAD:libchewing-0.3.2-1.fc10.src.rpm:1229994594
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
Index: libchewing.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libchewing/devel/libchewing.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- libchewing.spec 23 Dec 2008 05:41:25 -0000 1.25
+++ libchewing.spec 14 Jan 2009 06:28:21 -0000 1.26
@@ -1,6 +1,7 @@
+
Name: libchewing
Version: 0.3.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Intelligent phonetic input method library for Traditional Chinese
Group: System Environment/Libraries
@@ -18,6 +19,9 @@
#Patch8: libchewing-0.3.0-11.bz195416.patch
Patch9: libchewing-0.3.2.bz477690.patch
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%define libchewing_python_dir %{python_sitearch}/%{name}
+
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: libtool
@@ -58,7 +62,8 @@
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=%{buildroot} install
-
+mkdir -p $RPM_BUILD_ROOT%{libchewing_python_dir}
+cp python/chewing.py $RPM_BUILD_ROOT%{libchewing_python_dir}
rm $RPM_BUILD_ROOT%{_libdir}/libchewing.la
%post -p /sbin/ldconfig
@@ -75,6 +80,7 @@
%{_datadir}/chewing/*
%{_libdir}/*.so.*
%{_libdir}/chewing
+%{libchewing_python_dir}
%files devel
%defattr(-, root, root)
@@ -84,6 +90,10 @@
%{_libdir}/*.so
%changelog
+* 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
+ <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.
- Previous message (by thread): rpms/perl-Devel-Dumpvar/devel perl-Devel-Dumpvar.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/perl-Devel-Dumpvar/F-10 perl-Devel-Dumpvar.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list