diff --git a/_service b/_service new file mode 100644 index 0000000..ac91598 --- /dev/null +++ b/_service @@ -0,0 +1,12 @@ + + + http + linux.thai.net + /pub/thailinux/software/libthai/libthai-0.1.15.tar.gz + + + _service:download_url:*.tar.gz + bz2 + + + diff --git a/_service:recompress:download_url:libthai-0.1.15.tar.bz2 b/_service:recompress:download_url:libthai-0.1.15.tar.bz2 new file mode 100644 index 0000000..ed8f4c1 --- /dev/null +++ b/_service:recompress:download_url:libthai-0.1.15.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb673623b84e5dbeabb7b0fd9917ecb5c1aa0d9cb4e651bd84cf001cec6bd01a +size 409423 diff --git a/_service:set_version:libthai.spec b/_service:set_version:libthai.spec new file mode 100644 index 0000000..fbd0243 --- /dev/null +++ b/_service:set_version:libthai.spec @@ -0,0 +1,86 @@ +# +# spec file for package libthai +# +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + + +Name: libthai +Version: 0.1.15 +Release: 0 +License: LGPLv2.1+ +Summary: Thai Language Support Routines +Url: http://linux.thai.net/plone/TLWG/libthai/ +Group: System/Libraries +Source: %{name}-%{version}.tar.bz2 +Source99: baselibs.conf +BuildRequires: libdatrie-devel +BuildRequires: pkg-config +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%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. + +%package devel +License: LGPLv2.1+ +Summary: Thai Language Support Routines (development files) +Group: System/Libraries +Requires: %{name} = %{version} +Requires: libdatrie-devel + +%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. + +%prep +%setup -q + +%build +%configure --disable-static --with-pic +make %{?jobs:-j%jobs} + +%install +%makeinstall +rm %{buildroot}%{_libdir}/*.la + +%clean +rm -rf %{buildroot} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libthai.so.* +%{_datadir}/libthai + +%files devel +%defattr(-,root,root) +%{_includedir}/thai +%{_libdir}/libthai.so +%{_libdir}/pkgconfig/*.pc + +%changelog diff --git a/libthai-0.1.14.tar.bz2 b/libthai-0.1.14.tar.bz2 deleted file mode 100644 index e4e96d2..0000000 --- a/libthai-0.1.14.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:38eed35734273831e1de56cc17022bbc2bd9303a872c573d879b4c37381a6f74 -size 409497 diff --git a/libthai.changes b/libthai.changes index 013781a..6f709ce 100644 --- a/libthai.changes +++ b/libthai.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Apr 29 22:58:05 UTC 2011 - dimstar@opensuse.org + +- Update to 0.1.15: + + Updated word break dictionary. +- Use source services: download_url, recompress, set_version. + ------------------------------------------------------------------- Tue Feb 22 15:21:51 CET 2011 - vuntz@opensuse.org