From 29a36281923b1d32bca54467626ef55972dfcb49d9d3e96d790d1308c4bda0ee Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 15 Jan 2007 23:23:23 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libthai?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + libthai-0.1.4.tar.bz2 | 3 ++ libthai.changes | 10 ++++++ libthai.spec | 77 +++++++++++++++++++++++++++++++++++++++++++ ready | 0 warnings.patch | 20 +++++++++++ 7 files changed, 134 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libthai-0.1.4.tar.bz2 create mode 100644 libthai.changes create mode 100644 libthai.spec create mode 100644 ready create mode 100644 warnings.patch diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libthai-0.1.4.tar.bz2 b/libthai-0.1.4.tar.bz2 new file mode 100644 index 0000000..98243e1 --- /dev/null +++ b/libthai-0.1.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:140e2561f2f95cb30184c0734f9bbae7dac4e9a8f2ca3c25a21ffa5dd85770e5 +size 681152 diff --git a/libthai.changes b/libthai.changes new file mode 100644 index 0000000..4bdcead --- /dev/null +++ b/libthai.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Wed Jan 25 21:37:46 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Thu Sep 15 12:57:11 CEST 2005 - uli@suse.de + +- initial package + diff --git a/libthai.spec b/libthai.spec new file mode 100644 index 0000000..2e64de8 --- /dev/null +++ b/libthai.spec @@ -0,0 +1,77 @@ +# +# spec file for package libthai (Version 0.1.4) +# +# Copyright (c) 2005 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/ +# + +# 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 + +%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. + + + +Authors: +-------- + Theppitak Karoonboonyanan + Chanop Silpa-Anan + Pattara Kiatisevi + Poonlap Veerathanabutr + Vuthichai Ampornaramveth + +%prep +%setup +%patch + +%build +CFLAGS="$RPM_OPT_FLAGS" ./configure \ + --prefix=/usr \ + --libdir=%{_libdir} \ + --mandir=%{_mandir} +make + +%install +make DESTDIR=$RPM_BUILD_ROOT install + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +%run_ldconfig + +%postun +%run_ldconfig + +%files +%defattr(-,root,root) +/usr/include/thai +%{_bindir}/* +%{_libdir}/libthai.* +%doc %{_mandir}/man3/*.3.gz +%{_libdir}/pkgconfig/libthai.pc + +%changelog -n libthai +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Thu Sep 15 2005 - uli@suse.de +- initial package diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4 diff --git a/warnings.patch b/warnings.patch new file mode 100644 index 0000000..dc1244d --- /dev/null +++ b/warnings.patch @@ -0,0 +1,20 @@ +--- src/thinp/thinp.c ++++ src/thinp/thinp.c +@@ -10,6 +10,7 @@ + #include + #include + ++#include + + int th_isaccept(thchar_t c1, thchar_t c2, thstrict_t s) + { +--- src/thrend/thrend.c ++++ src/thrend/thrend.c +@@ -9,6 +9,7 @@ + #include + #include + ++#include + + typedef struct { + thglyph_t ShiftDown_TONE_AD[8];