130 lines
3.8 KiB
RPMSpec
130 lines
3.8 KiB
RPMSpec
#
|
|
# spec file for package libthai (Version 0.1.9)
|
|
#
|
|
# 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://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
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, such as
|
|
word breaking, input and output methods, and basic character and string
|
|
support.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Theppitak Karoonboonyanan <thep@linux.thai.net>
|
|
Chanop Silpa-Anan <chanop@linux.thai.net>
|
|
Pattara Kiatisevi <ott@linux.thai.net>
|
|
Poonlap Veerathanabutr <poonlap@linux.thai.net>
|
|
Vuthichai Ampornaramveth <vuthi@nii.ac.jp>
|
|
|
|
%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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Theppitak Karoonboonyanan <thep@linux.thai.net>
|
|
Chanop Silpa-Anan <chanop@linux.thai.net>
|
|
Pattara Kiatisevi <ott@linux.thai.net>
|
|
Poonlap Veerathanabutr <poonlap@linux.thai.net>
|
|
Vuthichai Ampornaramveth <vuthi@nii.ac.jp>
|
|
|
|
%prep
|
|
%setup
|
|
%patch
|
|
|
|
%build
|
|
%configure
|
|
make
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
rm -f $RPM_BUILD_ROOT%_libdir/*.la
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libthai.so.*
|
|
/usr/share/libthai
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
/usr/include/thai
|
|
%_libdir/libthai.so
|
|
%_libdir/libthai.a
|
|
%{_libdir}/pkgconfig/libthai.pc
|
|
|
|
%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
|
|
- initial package
|