This commit is contained in:
commit
29a3628192
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
libthai-0.1.4.tar.bz2
Normal file
3
libthai-0.1.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:140e2561f2f95cb30184c0734f9bbae7dac4e9a8f2ca3c25a21ffa5dd85770e5
|
||||
size 681152
|
10
libthai.changes
Normal file
10
libthai.changes
Normal file
@ -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
|
||||
|
77
libthai.spec
Normal file
77
libthai.spec
Normal file
@ -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 <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
|
||||
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
|
20
warnings.patch
Normal file
20
warnings.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- src/thinp/thinp.c
|
||||
+++ src/thinp/thinp.c
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <thai/tis.h>
|
||||
#include <thai/wtt.h>
|
||||
|
||||
+#include <string.h>
|
||||
|
||||
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 <thai/thctype.h>
|
||||
#include <thai/tis.h>
|
||||
|
||||
+#include <string.h>
|
||||
|
||||
typedef struct {
|
||||
thglyph_t ShiftDown_TONE_AD[8];
|
Loading…
x
Reference in New Issue
Block a user