Compare commits

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

7 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
10 changed files with 80 additions and 48 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

1
.gitignore vendored
View file

@ -10,3 +10,4 @@ libdatrie-0.2.2.tar.gz
/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,9 +1,9 @@
Index: libthai-0.1.24/doc/Doxyfile.in
Index: libthai-0.1.30/doc/Doxyfile.in
===================================================================
--- libthai-0.1.24.orig/doc/Doxyfile.in
+++ libthai-0.1.24/doc/Doxyfile.in
@@ -1124,7 +1124,7 @@ HTML_HEADER =
# that doxygen normally uses.
--- 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 =
@ -11,10 +11,10 @@ Index: libthai-0.1.24/doc/Doxyfile.in
# 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.24/doc/no_date_footer.html
Index: libthai-0.1.30/doc/no_date_footer.html
===================================================================
--- /dev/null
+++ libthai-0.1.24/doc/no_date_footer.html
+++ 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/

View file

@ -1,7 +1,7 @@
Summary: Thai language support routines
Name: libthai
Version: 0.1.29
Release: 8%{?dist}
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
@ -64,6 +64,19 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.la
%{_libdir}/pkgconfig/*
%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

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 +1 @@
SHA512 (libthai-0.1.29.tar.xz) = 0ba1261581a1705a2a2546a3071acb3c63892dbf111f0dad415667165a6b9542a5e4549061c67b11ec53de7c9e70fceb3c04d794fd12a22d991a539dbacebda1
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

View file

@ -1,17 +0,0 @@
#!/bin/bash
set -x
check_return_value () {
if [ $1 != 0 ] ; then
exit $1
fi
}
cd $1
./configure --prefix=/usr
check_return_value $?
make
check_return_value $?
make check
exit $?

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

View file

@ -1,21 +0,0 @@
- hosts: localhost
vars:
- artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}"
tags:
- classic
remote_user: root
roles:
- role: standard-test-source # to get the source tar ball to do “make check”
- role: standard-test-basic
required_packages:
- make
- gcc
- autoconf
- automake
- libtool
- doxygen
- libdatrie-devel
tests:
- make-check:
dir: ./
run: bash ./make_check.sh ./source