From 4c808a06bf592163031b5c6876bcf60bc6bc13a01366aed1c6ad8801d15b4682 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 8 Apr 2008 22:19:42 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libthai?expand=0&rev=2 --- libthai-0.1.4.tar.bz2 | 3 -- libthai-0.1.9.tar.bz2 | 3 ++ libthai.changes | 26 ++++++++++ libthai.spec | 114 ++++++++++++++++++++++++++++++------------ 4 files changed, 112 insertions(+), 34 deletions(-) delete mode 100644 libthai-0.1.4.tar.bz2 create mode 100644 libthai-0.1.9.tar.bz2 diff --git a/libthai-0.1.4.tar.bz2 b/libthai-0.1.4.tar.bz2 deleted file mode 100644 index 98243e1..0000000 --- a/libthai-0.1.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:140e2561f2f95cb30184c0734f9bbae7dac4e9a8f2ca3c25a21ffa5dd85770e5 -size 681152 diff --git a/libthai-0.1.9.tar.bz2 b/libthai-0.1.9.tar.bz2 new file mode 100644 index 0000000..ffde7a8 --- /dev/null +++ b/libthai-0.1.9.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:442d784c01d529cd9adee662170c6f6a9b577cc66886a9ad5ce05c0f6d7048c1 +size 363364 diff --git a/libthai.changes b/libthai.changes index 4bdcead..d995cd6 100644 --- a/libthai.changes +++ b/libthai.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Mon Apr 7 16:02:06 CEST 2008 - uli@suse.de + +- update -> 0.1.9 (bug #326002) + * Rewritten itemization for line breaker, for conformance to UAX#14. + * Revised dictionary for compound words support. + * Improved handling of white spaces in word break routine, for better quality + line wrapping in Gecko libthai component. + * More words in word break dictionary. + * Excessive exported symbols are eliminated from library. + * Rewritten word break routines: + - Split dictionary from source, thus new dependency on libdatrie + - New word break routine from scratch, for maintainability + * Improved dictionary for word segmentation: + - New word list preparation process from multiple categories + - New contemporary words not included in Royal Institute dictionary, + as well as some proper names for countries and locations, etc. + - Fine-tuned dictionary to get rid of some potential ambiguities + * Documentation with doxygen. + * Add missing APIs. + * Fix compiler warnings. + * Improved word breaking. Space is now also considered a breakable point. + * More PUA support for Mac fonts rendering. + * Start maintaining library version info from now on. +- created devel subpackage + ------------------------------------------------------------------- Wed Jan 25 21:37:46 CET 2006 - mls@suse.de diff --git a/libthai.spec b/libthai.spec index 2e64de8..4870408 100644 --- a/libthai.spec +++ b/libthai.spec @@ -1,33 +1,62 @@ # -# spec file for package libthai (Version 0.1.4) +# spec file for package libthai (Version 0.1.9) # -# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://www.suse.de/feedback/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild -Name: libthai -URL: http://linux.thai.net/plone/TLWG/libthai/ -License: LGPL -Group: System/Libraries -Autoreqprov: on -Version: 0.1.4 -Release: 1 -Summary: Thai language support routines -Source: %name-%version.tar.bz2 -Patch: warnings.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build + +Name: libthai +Url: http://linux.thai.net/plone/TLWG/libthai/ +License: LGPL v2.1 or later +Group: System/Libraries +AutoReqProv: on +Version: 0.1.9 +Release: 1 +Summary: Thai Language Support Routines +Source: %name-%version.tar.bz2 +Patch: warnings.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: libdatrie-devel pkg-config %description LibThai is a set of Thai language support routines aimed to ease developers' tasks to incorporate Thai language support in their -applications. It includes important Thai-specific functions, e.g. word -breaking, input and output methods as well as basic character and -string support. +applications. It includes important Thai-specific functions, such as +word breaking, input and output methods, and basic character and string +support. + + + +Authors: +-------- + Theppitak Karoonboonyanan + Chanop Silpa-Anan + Pattara Kiatisevi + Poonlap Veerathanabutr + Vuthichai Ampornaramveth + +%package devel +License: LGPL v2.1 or later +Summary: Thai Language Support Routines (development files) +Group: System/Libraries +Requires: libthai = %version +AutoReqProv: on + +%description devel +LibThai is a set of Thai language support routines aimed to ease +developers' tasks to incorporate Thai language support in their +applications. It includes important Thai-specific functions, such as +word breaking, input and output methods, and basic character and string +support. + +This package contains headers and libraries required for developing +software using libthai. @@ -44,34 +73,57 @@ Authors: %patch %build -CFLAGS="$RPM_OPT_FLAGS" ./configure \ - --prefix=/usr \ - --libdir=%{_libdir} \ - --mandir=%{_mandir} +%configure make %install make DESTDIR=$RPM_BUILD_ROOT install +rm -f $RPM_BUILD_ROOT%_libdir/*.la %clean rm -rf $RPM_BUILD_ROOT -%post -%run_ldconfig +%post -p /sbin/ldconfig -%postun -%run_ldconfig +%postun -p /sbin/ldconfig %files %defattr(-,root,root) +%{_libdir}/libthai.so.* +/usr/share/libthai + +%files devel +%defattr(-,root,root) /usr/include/thai -%{_bindir}/* -%{_libdir}/libthai.* -%doc %{_mandir}/man3/*.3.gz +%_libdir/libthai.so +%_libdir/libthai.a %{_libdir}/pkgconfig/libthai.pc -%changelog -n libthai -* Wed Jan 25 2006 - mls@suse.de +%changelog +* Mon Apr 07 2008 uli@suse.de +- update -> 0.1.9 (bug #326002) + * Rewritten itemization for line breaker, for conformance to UAX#14. + * Revised dictionary for compound words support. + * Improved handling of white spaces in word break routine, for better quality + line wrapping in Gecko libthai component. + * More words in word break dictionary. + * Excessive exported symbols are eliminated from library. + * Rewritten word break routines: + - Split dictionary from source, thus new dependency on libdatrie + - New word break routine from scratch, for maintainability + * Improved dictionary for word segmentation: + - New word list preparation process from multiple categories + - New contemporary words not included in Royal Institute dictionary, + as well as some proper names for countries and locations, etc. + - Fine-tuned dictionary to get rid of some potential ambiguities + * Documentation with doxygen. + * Add missing APIs. + * Fix compiler warnings. + * Improved word breaking. Space is now also considered a breakable point. + * More PUA support for Mac fonts rendering. + * Start maintaining library version info from now on. +- created devel subpackage +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Thu Sep 15 2005 - uli@suse.de +* Thu Sep 15 2005 uli@suse.de - initial package