Compare commits

...
Sign in to create a new pull request.

60 commits

Author SHA1 Message Date
Peng Wu
ef30654345 Update libthai-0.1.9-multilib.patch 2026-01-05 13:37:17 +08:00
Peng Wu
6472895adf Update to 0.1.30 2026-01-05 13:04:58 +08:00
Fedora Release Engineering
e058c897b4 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 20:26:57 +00:00
Fedora Release Engineering
57b5ab532b Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 14:22:01 +00:00
Peng Wu
4d768f2043 Rewrite CI tests to use beakerlib framework 2025-01-16 16:23:26 +08:00
Fedora Release Engineering
a78d349d58 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 15:15:17 +00:00
Peng Wu
26a19fa26c Rewrite CI tests 2024-06-14 12:13:39 +08:00
Fedora Release Engineering
06573c3050 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 03:41:43 +00:00
Fedora Release Engineering
1e6676b31c Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 05:29:59 +00:00
Fedora Release Engineering
2e279c7cf4 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 12:16:46 +00:00
Peng Wu
ad243956f6 Migrate to SPDX license 2023-05-17 15:58:06 +08:00
Fedora Release Engineering
b77f1c4b44 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 17:35:37 +00:00
Fedora Release Engineering
1e986ddd95 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 19:10:19 +00:00
Fedora Release Engineering
f6a70f04fe - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 17:24:05 +00:00
Peng Wu
f6b7b32341 Update to 0.1.29 2021-12-23 14:06:57 +08:00
Fedora Release Engineering
647a0c9735 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 12:31:12 +00:00
Peng Wu
11a28d8fae Add CI tests 2021-06-22 13:53:29 +08:00
Fedora Release Engineering
dbbe87ef42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 18:08:09 +00:00
Tom Stellard
dee689a9ee Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-05 02:52:02 +00:00
Fedora Release Engineering
066e32f3f9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 05:42:59 +00:00
Fedora Release Engineering
14371b2c24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 10:32:05 +00:00
Fedora Release Engineering
f4f21b1c27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 14:31:22 +00:00
Fedora Release Engineering
3874c6d5b5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 08:21:13 +00:00
Igor Gnatenko
1d4c866685 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:13 +01:00
Igor Gnatenko
eaef6bc563
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:40:10 +01:00
Peng Wu
d7d37b9fce Update to 0.1.28 2018-08-02 13:25:00 +08:00
Fedora Release Engineering
fc96b1637d - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 08:55:07 +00:00
Jason Tibbitts
29de4db9a1 Remove needless use of %defattr 2018-07-10 01:47:49 -05:00
Peng Wu
144fa65212 Add BuildRequires gcc 2018-03-05 16:28:56 +08:00
Igor Gnatenko
66fec71343
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 08:16:51 +01:00
Igor Gnatenko
df3d9e1105 Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-13 23:43:39 +01:00
Fedora Release Engineering
4cd885f954 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 23:29:27 +00:00
Peng Wu
ede4178243 Update to 0.1.27 2017-11-01 15:04:02 +08:00
Fedora Release Engineering
144d5b9bde - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 02:22:34 +00:00
Fedora Release Engineering
fd808bbbaf - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 19:49:22 +00:00
Fedora Release Engineering
5ff0696253 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 19:33:12 +00:00
Peng Wu
94eb9c8ceb Update to 1.2.25 2016-10-09 09:48:33 +08:00
Daiki Ueno
da10158c38 Update to 0.1.24-1 2016-02-16 15:13:59 +09:00
Dennis Gilmore
e87e4c0b77 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 04:00:43 +00:00
Dennis Gilmore
b1b1a52d2a - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 17:25:00 +00:00
Daiki Ueno
10a84d831b Update to 0.1.21 2014-09-02 10:47:55 +09:00
Peter Robinson
b31279737d - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 06:18:04 +00:00
Daiki Ueno
5d202f47a7 Update to 0.1.20-3 2014-07-07 11:30:18 +09:00
Dennis Gilmore
f0d717b684 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 00:40:32 -05:00
Daiki Ueno
b3779da11e Update to 0.1.20-1 2014-04-23 12:08:23 +09:00
Dennis Gilmore
7a6b2b6503 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 02:12:01 -05:00
Daiki Ueno
8656a016f0 Update to 0.1.19 2013-06-12 12:36:03 +09:00
Dennis Gilmore
10bb8ec8f1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 23:20:30 -06:00
Dennis Gilmore
c620072372 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 16:22:19 -05:00
Dennis Gilmore
a7e5cfe298 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 02:31:37 -06:00
Dennis Gilmore
d61dce5a92 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 06:02:50 -06:00
Fedora Release Engineering
a018320e6d dist-git conversion 2010-07-29 17:45:38 +00:00
Behdad Esfahbod
8f1c468c5a - Update to 0.1.14 2010-03-03 23:00:11 +00:00
Behdad Esfahbod
e0e4098be0 - Update to 0.1.14 2010-03-03 22:45:44 +00:00
Bill Nottingham
69e262cfb4 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:51:20 +00:00
Jesse Keating
6b74cf7941 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-25 08:45:07 +00:00
Matthias Clasen
211a00bfb9 0.1.12 2009-06-27 22:24:09 +00:00
Matthias Clasen
c7d9decfb8 fix the build 2009-02-28 01:06:14 +00:00
Jesse Keating
979f8f84b3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-25 19:20:00 +00:00
Tom Callaway
915df58cc6 fix license tag 2008-05-21 21:46:57 +00:00
13 changed files with 283 additions and 170 deletions

View file

@ -1,2 +0,0 @@
libthai-0.1.9.tar.gz
libdatrie-0.1.1.tar.gz

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

13
.gitignore vendored Normal file
View file

@ -0,0 +1,13 @@
libthai-0.1.12.tar.gz
libdatrie-0.2.2.tar.gz
/libdatrie-0.2.6.tar.xz
/libthai-0.1.19.tar.xz
/libdatrie-0.2.8.tar.xz
/libthai-0.1.20.tar.xz
/libthai-0.1.21.tar.xz
/libthai-0.1.24.tar.xz
/libthai-0.1.25.tar.xz
/libthai-0.1.27.tar.xz
/libthai-0.1.28.tar.xz
/libthai-0.1.29.tar.xz
/libthai-0.1.30.tar.xz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: libthai
# $Id: Makefile,v 1.1 2007/01/18 00:48:49 besfahbo Exp $
NAME := libthai
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attempt a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

36
libthai-0.1.24-gcc6.patch Normal file
View file

@ -0,0 +1,36 @@
Index: ChangeLog
===================================================================
--- ChangeLog.orig
+++ ChangeLog
@@ -28,6 +28,18 @@
2015-11-22 Theppitak Karoonboonyanan <theppitak@gmail.com>
+ Fix compilation error with GCC 6
+
+ * include/thai/thctype.h (_th_bitmsk):
+ - Use unsigned int instead of unsigned short for bitmask base,
+ as GCC 6 takes ~0 as -1 for unsigned short,
+ and causes compilation error for scim-thai.
+
+ Thanks Martin Michlmayr for the report via Debian #811690
+ http://bugs.debian.org/811690
+
+2016-01-20 Theppitak Karoonboonyanan <theppitak@gmail.com>
+
* configure.ac: Post-release version suffix added.
2015-10-22 Theppitak Karoonboonyanan <theppitak@gmail.com>
Index: include/thai/thctype.h
===================================================================
--- include/thai/thctype.h.orig
+++ include/thai/thctype.h
@@ -363,7 +363,7 @@ extern int th_iscombchar(thchar_t c);
#include <ctype.h>
#define _th_ISbit(bit) (1 << (bit))
#define _th_bitfld(base, val) ((val) << (base))
-#define _th_bitmsk(base, bits) (~((~(unsigned short)0) << (bits)) << (base))
+#define _th_bitmsk(base, bits) (~((~(unsigned)0) << (bits)) << (base))
enum {
_th_IStis = _th_ISbit(0), /* TIS-620 char */

View file

@ -1,27 +0,0 @@
diff -up libthai-0.1.9/doc/Doxyfile.in.doxygen-segfault libthai-0.1.9/doc/Doxyfile.in
--- libthai-0.1.9/doc/Doxyfile.in.doxygen-segfault 2007-11-13 16:37:16.000000000 -0500
+++ libthai-0.1.9/doc/Doxyfile.in 2007-11-13 16:37:31.000000000 -0500
@@ -29,7 +29,6 @@ STRIP_FROM_PATH = @top_srcdir@/in
STRIP_FROM_INC_PATH = @top_srcdir@/include
SHORT_NAMES = NO
JAVADOC_AUTOBRIEF = NO
-QT_AUTOBRIEF = NO
MULTILINE_CPP_IS_BRIEF = NO
DETAILS_AT_TOP = YES
INHERIT_DOCS = YES
@@ -50,7 +49,6 @@ EXTRACT_PRIVATE = NO
EXTRACT_STATIC = NO
EXTRACT_LOCAL_CLASSES = YES
EXTRACT_LOCAL_METHODS = NO
-EXTRACT_ANON_NSPACES = NO
HIDE_UNDOC_MEMBERS = YES
HIDE_UNDOC_CLASSES = YES
HIDE_FRIEND_COMPOUNDS = NO
@@ -168,7 +166,6 @@ HTML_FOOTER =
HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO
-HTML_DYNAMIC_SECTIONS = NO
CHM_FILE =
HHC_LOCATION =
GENERATE_CHI = NO

View file

@ -1,40 +0,0 @@
--- libthai-0.1.7/src/Makefile.am.static-build 2006-05-04 06:14:27.000000000 -0400
+++ libthai-0.1.7/src/Makefile.am 2007-01-18 00:22:06.000000000 -0500
@@ -24,7 +24,8 @@
$(top_builddir)/src/thwchar/libthwchar.la \
$(top_builddir)/src/thwctype/libthwctype.la \
$(top_builddir)/src/thwstr/libthwstr.la \
- $(top_builddir)/src/thwbrk/libthwbrk.la
+ $(top_builddir)/src/thwbrk/libthwbrk.la \
+ $(DATRIE_LIBS)
libthai_la_LDFLAGS = -no-undefined \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
-export-symbols $(srcdir)/libthai.def
--- libthai-0.1.7/src/thbrk/Makefile.am.static-build 2006-10-14 02:38:56.000000000 -0400
+++ libthai-0.1.7/src/thbrk/Makefile.am 2007-01-18 00:22:06.000000000 -0500
@@ -13,5 +13,4 @@
brk-maximal.c \
brk-maximal.h
-libthbrk_la_LIBADD = $(DATRIE_LIBS)
--- libthai-0.1.7/libdatrie-0.1.1/datrie/Makefile.am.static-build 2006-09-02 10:12:54.000000000 -0400
+++ libthai-0.1.7/libdatrie-0.1.1/datrie/Makefile.am 2007-01-18 00:22:06.000000000 -0500
@@ -8,7 +8,7 @@
INCLUDES = -I$(top_srcdir)
-lib_LTLIBRARIES = libdatrie.la
+noinst_LTLIBRARIES = libdatrie.la
libdatrie_la_SOURCES = \
typedefs.h \
--- libthai-0.1.7/libthai.pc.in.static-build 2007-01-18 01:38:29.000000000 -0500
+++ libthai-0.1.7/libthai.pc.in 2007-01-18 01:38:38.000000000 -0500
@@ -6,6 +6,5 @@
Name: libthai
Description: Thai support library
Version: @VERSION@
-Requires: datrie
Libs: -L${libdir} -lthai
Cflags: -I${includedir}

View file

@ -1,7 +1,21 @@
diff -up libthai-0.1.9/doc/no_date_footer.html.multilib libthai-0.1.9/doc/no_date_footer.html
--- libthai-0.1.9/doc/no_date_footer.html.multilib 2008-03-17 13:32:26.000000000 -0400
+++ libthai-0.1.9/doc/no_date_footer.html 2008-03-17 13:33:54.000000000 -0400
@@ -0,0 +1,8 @@
Index: libthai-0.1.30/doc/Doxyfile.in
===================================================================
--- libthai-0.1.30.orig/doc/Doxyfile.in
+++ libthai-0.1.30/doc/Doxyfile.in
@@ -1432,7 +1432,7 @@ HTML_HEADER =
# that Doxygen normally uses.
# This tag requires that the tag GENERATE_HTML is set to YES.
-HTML_FOOTER =
+HTML_FOOTER = no_date_footer.html
# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style
# sheet that is used by each HTML page. It can be used to fine-tune the look of
Index: libthai-0.1.30/doc/no_date_footer.html
===================================================================
--- /dev/null
+++ libthai-0.1.30/doc/no_date_footer.html
@@ -0,0 +1,7 @@
+<hr size="1"><address style="text-align: right;"><small>
+Generated for $projectname by&nbsp;<a href="http://www.doxygen.org/
+index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a>
@ -9,16 +23,3 @@ diff -up libthai-0.1.9/doc/no_date_footer.html.multilib libthai-0.1.9/doc/no_dat
+</body>
+</html>
+
+
diff -up libthai-0.1.9/doc/Doxyfile.in.multilib libthai-0.1.9/doc/Doxyfile.in
--- libthai-0.1.9/doc/Doxyfile.in.multilib 2008-03-17 13:34:06.000000000 -0400
+++ libthai-0.1.9/doc/Doxyfile.in 2008-03-17 13:34:16.000000000 -0400
@@ -162,7 +162,7 @@ GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
HTML_HEADER =
-HTML_FOOTER =
+HTML_FOOTER = no_date_footer.html
HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO

View file

@ -1,25 +1,16 @@
%define datrie_version 0.1.1
%define datrie libdatrie-%{datrie_version}
Summary: Thai language support routines
Name: libthai
Version: 0.1.9
Release: 4%{?dist}
License: LGPL
Group: System Environment/Libraries
Source: ftp://linux.thai.net/pub/thailinux/software/libthai/libthai-%{version}.tar.gz
Source1: ftp://linux.thai.net/pub/thailinux/software/libthai/libdatrie-%{datrie_version}.tar.gz
Patch: libthai-0.1.9-libdatrie-0.1.1-build-static.patch
Patch1: libthai-0.1.9-doxygen-segfault.patch
Patch2: libthai-0.1.9-multilib.patch
Version: 0.1.30
Release: 1%{?dist}
License: LGPL-2.1-or-later
Source: http://linux.thai.net/pub/thailinux/software/libthai/libthai-%{version}.tar.xz
Patch0: libthai-0.1.9-multilib.patch
URL: http://linux.thai.net
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
BuildRequires: pkgconfig
BuildRequires: gcc
BuildRequires: pkgconfig(datrie-0.2)
BuildRequires: doxygen
# we edit the Makefile.am's
BuildRequires: automake
BuildRequires: libtool
BuildRequires: make
%description
LibThai is a set of Thai language support routines aimed to ease
@ -29,7 +20,6 @@ output methods as well as basic character and string supports.
%package devel
Summary: Thai language support routines
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
@ -41,39 +31,9 @@ Install libthai-devel if you want to develop programs which will use
libthai.
%prep
%setup -q -n %{name}-%{version} -a 1
%patch -p1 -b .static-build
%patch1 -p1 -b .doxygen-segfault
%patch2 -p1 -b .multilib
%autosetup -p1
%build
# libthai depends on this library called libdatrie. libdatrie is a
# data-structure implementaiton that the author of libthai ripped out of it.
# However, since libthai is the only user of that code, there's no reason to
# 1) package it separately, 2) use it as a shared library.
# So, we compile it as a libtool convenience library and include in libthai.so,
# and use symbol hiding to hide them (and other internal symbols).
#
# The patch takes care of making datrie into a convenience lib and making sure
# libthai will include it (and hide its symbols), and the exports make sure
# libthai finds the uninstalled libdatrie. We need to call automake, since
# the patch modifies a few Makefile.am's.
{
pushd %{datrie}
aclocal
automake
%configure
make
popd
}
export DATRIE_CFLAGS="-I$PWD/%{datrie}"
export DATRIE_LIBS="$PWD/%{datrie}/datrie/libdatrie.la"
export PATH="$PWD/%{datrie}/tools:$PATH"
aclocal
automake
%configure --disable-static
make
@ -90,28 +50,166 @@ rmdir $RPM_BUILD_ROOT%{_docdir}/libthai
rm $RPM_BUILD_ROOT%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%defattr(-, root, root)
%doc README AUTHORS COPYING ChangeLog TODO
%doc README AUTHORS COPYING ChangeLog
%{_libdir}/lib*.so.*
%{_datadir}/libthai
%files devel
%defattr(-, root, root)
%doc installed-docs/*
%{_includedir}/thai
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*
%{_mandir}/man3/*
%changelog
* Mon Jan 05 2026 Peng Wu <pwu@redhat.com> - 0.1.30-1
- Update to 0.1.30
- Resolves: RHBZ#2426765
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.29-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.29-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.29-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.29-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.29-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.29-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed May 17 2023 Peng Wu <pwu@redhat.com> - 0.1.29-5
- Migrate to SPDX license
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.29-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.29-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.29-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Dec 23 2021 Peng Wu <pwu@redhat.com> - 0.1.29-1
- Update to 0.1.29
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.28-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.28-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.28-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.28-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.28-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.28-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Aug 2 2018 Peng Wu <pwu@redhat.com> - 0.1.28-1
- Update to 0.1.28
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.27-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.27-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Nov 1 2017 Peng Wu <pwu@redhat.com> - 0.1.27-1
- Update to 0.1.27
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.25-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.25-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.25-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sun Oct 9 2016 Peng Wu <pwu@redhat.com> - 0.1.25-1
- Update to 1.2.25
- Remove libthai-0.1.24-gcc6.patch, already in upstream tar ball
* Tue Feb 16 2016 Daiki Ueno <dueno@redhat.com> - 0.1.24-1
- Update to 0.1.24
- Apply patch from upstream, which fixes scim-thai FTBFS with GCC6 (Closes: #1308117)
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.21-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.21-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Sep 2 2014 Daiki Ueno <dueno@redhat.com> - 0.1.21-1
- Update to 0.1.21
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.20-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Fri Jul 4 2014 Daiki Ueno <dueno@redhat.com> - 0.1.20-3
- Unbundle libdatrie (Closes: #1062540)
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.20-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed Apr 23 2014 Daiki Ueno <dueno@redhat.com> - 0.1.20-1
- Update to 0.1.20
- Update bundled libdatrie to 0.2.8
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Jun 12 2013 Daiki Ueno <dueno@redhat.com> - 0.1.19-1
- Update to 0.1.19
- Fix bogus dates in %%changelog
- Remove libthai-0.1.9-doxygen-segfault.patch, which is no longer
necessary with the latest Doxygen
- Don't install man pages, as per upstream's default
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.14-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.14-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.14-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.14-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Mar 3 2010 Behdad Esfahbod <behdad@redhat.com> - 0.1.14-3
- Update to 0.1.14
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sat Jun 27 2009 Matthias Clasen <mclasen@redhat.com> - 0.1.12-1
- Update to 0.1.12
* Fri Feb 27 2009 Matthias Clasen <mclasen@redhat.com> - 0.1.9-7
- Fix the build
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.9-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed May 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.1.9-5
- fix license tag
* Mon Mar 17 2008 Matthias Clasen <mclasen@redhat.com> - 0.1.9-4
- Attempt to fix multilib conflict
@ -128,10 +226,10 @@ rm -rf $RPM_BUILD_ROOT
* Thu Aug 23 2007 Adam Jackson <ajax@redhat.com> - 0.1.7-6
- Rebuild for build ID
* Tue Jan 22 2007 Behdad Esfahbod <besfahbo@redhat.com> 0.1.7-5
* Mon Jan 22 2007 Behdad Esfahbod <besfahbo@redhat.com> 0.1.7-5
- Export _th_*_tbl symbols too. They are accessed by some of the macros.
* Tue Jan 17 2007 Behdad Esfahbod <besfahbo@redhat.com> 0.1.7-4
* Wed Jan 17 2007 Behdad Esfahbod <besfahbo@redhat.com> 0.1.7-4
- Patch libthai.pc.in to not require datrie.
* Tue Jan 16 2007 Matthias Clasen <mclasen@redhat.com> 0.1.7-3

5
plans/basic.fmf Normal file
View file

@ -0,0 +1,5 @@
summary: Basic smoke test
discover:
how: fmf
execute:
how: tmt

View file

@ -1,2 +1 @@
6beadd556169aa58c9210c713d139229 libdatrie-0.1.1.tar.gz
7002d111b293f202d20b28aa2b4ed68f libthai-0.1.9.tar.gz
SHA512 (libthai-0.1.30.tar.xz) = c84d575b6855d54b1ea1d9878a94153ba7807cc736f7bf01327d17a6444c6fd4b18deae2ab5a2612847892c9d94ed4ceb54fbf25244aa6eb88a3605260ad328e

15
tests/main.fmf Normal file
View file

@ -0,0 +1,15 @@
test: ./runtest.sh
duration: 50m
framework: beakerlib
require:
- make
- gcc
- autoconf
- autoconf-archive
- automake
- libtool
- doxygen
- libdatrie-devel
- libthai
- gnome-common
- rpm-build

35
tests/runtest.sh Executable file
View file

@ -0,0 +1,35 @@
#!/bin/bash
. /usr/share/beakerlib/beakerlib.sh || exit 1
rlJournalStart
rlPhaseStartSetup
rlShowPackageVersion libthai
rlRun -t -l "VERSION=$(rpm -q libthai --queryformat='%{version}')" 0 "Get VERSION"
FEDORA_VERSION=$(rlGetDistroRelease)
rlLog "FEDORA_VERSION=${DISTRO_RELEASE}"
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
rlRun "pushd $tmp"
rlFetchSrcForInstalled "libthai"
rlRun "rpm --define '_topdir $tmp' -i *src.rpm"
rlRun -t -l "mkdir BUILD" 0 "Creating BUILD directory"
rlRun -t -l "rpmbuild --noclean --nodeps --define '_topdir $tmp' -bp $tmp/SPECS/*spec"
if [ -d BUILD/libthai-${VERSION}-build ]; then
rlRun -t -l "pushd BUILD/libthai-${VERSION}-build/libthai-${VERSION}"
else
rlRun -t -l "pushd BUILD/libthai-${VERSION}"
fi
rlPhaseEnd
rlPhaseStartTest
rlRun "set -o pipefail"
rlRun -t -l "NOCONFIGURE=1 gnome-autogen.sh"
rlRun -t -l "./configure"
rlRun -t -l "make"
rlRun -t -l "make check"
rlPhaseEnd
rlPhaseStartCleanup
rlRun "popd; popd"
rlRun "rm -r $tmp" 0 "Remove tmp directory"
rlPhaseEnd
rlJournalEnd