rpms/libchewing/F-12 import.log,1.16,1.17 libchewing.spec,1.39,1.40

Ding-Yi Chen dchen at fedoraproject.org
Tue Jan 5 07:57:46 UTC 2010


Author: dchen

Update of /cvs/pkgs/rpms/libchewing/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25522/F-12

Modified Files:
	import.log libchewing.spec 
Log Message:
Fix package wrangler


Index: import.log
===================================================================
RCS file: /cvs/pkgs/rpms/libchewing/F-12/import.log,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -p -r1.16 -r1.17
--- import.log	30 Sep 2009 01:45:37 -0000	1.16
+++ import.log	5 Jan 2010 07:57:46 -0000	1.17
@@ -14,3 +14,4 @@ libchewing-0_3_2-12_fc11:HEAD:libchewing
 libchewing-0_3_2-14_fc11:HEAD:libchewing-0.3.2-14.fc11.src.rpm:1249025558
 libchewing-0_3_2-15_fc11:HEAD:libchewing-0.3.2-15.fc11.src.rpm:1249275193
 libchewing-0_3_2-16_fc11:F-12:libchewing-0.3.2-16.fc11.src.rpm:1254275115
+libchewing-0_3_2-17_fc12:F-12:libchewing-0.3.2-17.fc12.src.rpm:1262678170


Index: libchewing.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libchewing/F-12/libchewing.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -p -r1.39 -r1.40
--- libchewing.spec	30 Sep 2009 01:45:37 -0000	1.39
+++ libchewing.spec	5 Jan 2010 07:57:46 -0000	1.40
@@ -1,8 +1,10 @@
-
+%define im_name_zh_TW 新酷音輸入法
+%define name_zh_TW %{im_name_zh_TW}函式庫
 Name:           libchewing
 Version:        0.3.2
-Release:        16%{?dist}
+Release:        17%{?dist}
 Summary:        Intelligent phonetic input method library for Traditional Chinese
+Summary(zh_TW): %{name_zh_TW}
 
 Group:          System Environment/Libraries
 License:        LGPLv2+
@@ -26,7 +28,6 @@ Patch11: libchewing-0.3.2.chewing_zuin.p
 
 BuildRoot:     %{_tmppath}/%{name}-%{version}-root
 BuildRequires:  autoconf automake libtool pkgconfig
-BuildRequires:  python-devel
 
 %description
 libchewing is an intelligent phonetic input method library for Chinese.
@@ -35,16 +36,41 @@ It provides the core algorithm and logic
 input methods.  The Chewing input method is a smart bopomofo phonetics
 input method that is useful for inputting Mandarin Chinese.
 
+%description -l zh_TW
+%{name_zh_TW}提供實做了核心選字演算法,以便輸入法程式調用。
+
+%{im_name_zh_TW}是一種智慧型注音/拼音猜字輸入法,透過智慧型的字庫分析、習慣記錄學習與預測分析,
+使拼字輸入的人為選字機率降至最低,進而提升中文輸入、打字的效率。
 
 %package -n %{name}-devel
 Summary:        Development files for libchewing
+Summary(zh_TW): %{name_zh_TW}開發者套件
 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.
 
+%description -l zh_TW  -n %{name}-devel
+%{name_zh_TW}開發者套件提供了開發%{im_name_zh_TW}相關程式所需的檔案,
+像是標頭檔(header files),以及函式庫。
+
+
+%package -n %{name}-python
+Summary:        libchewing python binding
+Summary(zh_TW): %{name_zh_TW} python 綁定
+Group:          Development/Libraries
+BuildRequires:  python-devel
+Requires:       %{name} = %{version}-%{release}
+Requires:       python
+
+%description -n %{name}-python
+Python binding of libchewing.
+
+%description -l zh_TW -n %{name}-python
+%{name_zh_TW} python 綁定
+
 %prep
 %setup -q
 #%patch0 -p1 -b .1-bz199353
@@ -67,7 +93,7 @@ autoreconf -ivf
 %{__make} RPM_CFLAGS="%{optflags}" %{_smp_mflags}
 
 %install
-#rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
 %{__make} DESTDIR=%{buildroot} install
 rm $RPM_BUILD_ROOT%{_libdir}/libchewing.la
 mkdir -p $RPM_BUILD_ROOT%{libchewing_python_dir}
@@ -90,7 +116,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/chewing/*
 %{_libdir}/*.so.*
 %{_libdir}/chewing
-%{libchewing_python_dir}
 
 %files devel
 %defattr(-, root, root)
@@ -99,7 +124,17 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/pkgconfig/chewing.pc
 %{_libdir}/*.so
 
+%files python
+%defattr(-, root, root)
+%{libchewing_python_dir}
+
+
 %changelog
+* Tue Jan 05 2010 Ding-Yi Chen <dchen at redhat dot com> - 0.3.2-17
+- Add zh_TW summary and description
+- Split out python binding into a subpackage.
+- Fix for package wrangler.
+
 * Wed Sep 30 2009 Ding-Yi Chen <dchen at redhat dot com> - 0.3.2-16
 - Fix chewing Google issue 352: 
   zuin_count in chewing_zuin_String( ChewingContext *ctx, int *zuin_count ) 




More information about the fedora-extras-commits mailing list