rpms/libchewing/F-10 import.log, 1.7, 1.8 libchewing-0.3.2.bz477690.patch, 1.2, 1.3 libchewing.spec, 1.27, 1.28
Ding-Yi Chen
dchen at fedoraproject.org
Fri Feb 20 07:11:10 UTC 2009
- Previous message (by thread): rpms/perl-Text-Table/F-9 perl-Text-Table.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/libchewing/F-9 import.log, 1.7, 1.8 libchewing-0.3.2.bz477690.patch, 1.2, 1.3 libchewing.spec, 1.24, 1.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dchen
Update of /cvs/pkgs/rpms/libchewing/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13056/F-10
Modified Files:
import.log libchewing-0.3.2.bz477690.patch libchewing.spec
Log Message:
[Bug 486409] Wrong python binding installed path
Index: import.log
===================================================================
RCS file: /cvs/pkgs/rpms/libchewing/F-10/import.log,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- import.log 23 Jan 2009 07:36:47 -0000 1.7
+++ import.log 20 Feb 2009 07:10:40 -0000 1.8
@@ -5,3 +5,4 @@
libchewing-0_3_2-2_fc10:F-10:libchewing-0.3.2-2.fc10.src.rpm:1230010931
libchewing-0_3_2-3_fc10:F-10:libchewing-0.3.2-3.fc10.src.rpm:1231920830
libchewing-0_3_2-4_fc10:F-10:libchewing-0.3.2-4.fc10.src.rpm:1232696161
+libchewing-0_3_2-6_fc10:F-10:libchewing-0.3.2-6.fc10.src.rpm:1235113776
libchewing-0.3.2.bz477690.patch:
Index: libchewing-0.3.2.bz477690.patch
===================================================================
RCS file: /cvs/pkgs/rpms/libchewing/F-10/libchewing-0.3.2.bz477690.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- libchewing-0.3.2.bz477690.patch 23 Dec 2008 05:43:13 -0000 1.2
+++ libchewing-0.3.2.bz477690.patch 20 Feb 2009 07:10:40 -0000 1.3
@@ -1,6 +1,6 @@
diff -up ./data/Makefile.am.libpatch ./data/Makefile.am
--- ./data/Makefile.am.libpatch 2008-12-02 00:29:20.000000000 +1000
-+++ ./data/Makefile.am 2008-12-23 13:54:17.000000000 +1000
++++ ./data/Makefile.am 2009-02-20 12:23:46.000000000 +1000
@@ -9,8 +9,11 @@ datas = \
us_freq.dat \
dict.dat \
@@ -26,20 +26,18 @@
+CLEANFILES = $(datas) $(datas_lib) gendata_stamp checkdata_stamp $(generated_header)
diff -up ./src/Makefile.am.libpatch ./src/Makefile.am
--- ./src/Makefile.am.libpatch 2008-12-02 00:29:20.000000000 +1000
-+++ ./src/Makefile.am 2008-12-23 14:07:56.000000000 +1000
-@@ -3,7 +3,8 @@ INCLUDES = \
++++ ./src/Makefile.am 2009-02-20 12:26:46.000000000 +1000
+@@ -3,6 +3,7 @@ INCLUDES = \
-I$(top_srcdir)/include \
-I$(top_srcdir)/include/internal \
-I$(top_srcdir)/src/porting_layer/include \
-- -DCHEWING_DATADIR=\"$(datadir)/chewing\"
+ -DLIBINSTDIR=\"$(libdir)\"\
-+ -DCHEWING_DATADIR=\"$(datadir)/chewing1\"
+ -DCHEWING_DATADIR=\"$(datadir)/chewing\"
lib_LTLIBRARIES = libchewing.la
- libchewing_la_SOURCES = \
diff -up ./src/tree.c.libpatch ./src/tree.c
--- ./src/tree.c.libpatch 2008-12-02 00:29:20.000000000 +1000
-+++ ./src/tree.c 2008-12-23 14:04:36.000000000 +1000
++++ ./src/tree.c 2009-02-20 12:23:46.000000000 +1000
@@ -114,7 +114,8 @@ void InitTree( const char *prefix )
int i;
#endif
Index: libchewing.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libchewing/F-10/libchewing.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- libchewing.spec 23 Jan 2009 07:36:47 -0000 1.27
+++ libchewing.spec 20 Feb 2009 07:10:40 -0000 1.28
@@ -1,7 +1,7 @@
Name: libchewing
Version: 0.3.2
-Release: 4%{?dist}
+Release: 6%{?dist}
Summary: Intelligent phonetic input method library for Traditional Chinese
Group: System Environment/Libraries
@@ -23,7 +23,8 @@
%define libchewing_python_dir %{python_sitearch}/%{name}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: libtool
+BuildRequires: autoconf automake libtool
+BuildRequires: python-devel
%description
libchewing is an intelligent phonetic input method library for Chinese.
@@ -56,8 +57,12 @@
%patch9 -p0 -b .libpatch
%build
+#./autogen.sh
+#autoreconf -v
+export CFLAGS=-DLIBINSTDIR='\"%{_libdir}\"'
%configure --disable-static
-make LIBINSTDIR="\"%{_libdir}\""
+#make LIBINSTDIR="\"%{_libdir}\""
+make all RPM_CFLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
@@ -65,6 +70,8 @@
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}
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/chewing
+cp data/fonetree.dat $RPM_BUILD_ROOT%{_libdir}/chewing
touch $RPM_BUILD_ROOT%{libchewing_python_dir}/__init__.py
%post -p /sbin/ldconfig
@@ -91,6 +98,13 @@
%{_libdir}/*.so
%changelog
+* Fri Feb 20 2009 Ding-Yi Chen <dchen at redhat dot com> - 0.3.2-6
+- Fix [Bug 486409] - Wrong python binding installed path
+ Add BuildRequires: python-devel
+
+* Wed Feb 18 2009 Adam Jackson <ajax at redhat.com> 0.3.2-5
+- Rerun autotools so changes to Makefile.am actually take effect.
+
* Fri Jan 23 2009 Ding-Yi Chen <dchen at redhat dot com> - 0.3.2-4
- touch python-<ver>/site-packages/libchewing/__init__.py,
So python thinks libchewing is a library.
- Previous message (by thread): rpms/perl-Text-Table/F-9 perl-Text-Table.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/libchewing/F-9 import.log, 1.7, 1.8 libchewing-0.3.2.bz477690.patch, 1.2, 1.3 libchewing.spec, 1.24, 1.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list