Compare commits

..

No commits in common. "rawhide" and "f38" have entirely different histories.

10 changed files with 51 additions and 94 deletions

View file

@ -1 +0,0 @@
1

1
.gitignore vendored
View file

@ -10,4 +10,3 @@ 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.30/doc/Doxyfile.in
Index: libthai-0.1.24/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.
--- 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.
# This tag requires that the tag GENERATE_HTML is set to YES.
-HTML_FOOTER =
@ -11,10 +11,10 @@ Index: libthai-0.1.30/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.30/doc/no_date_footer.html
Index: libthai-0.1.24/doc/no_date_footer.html
===================================================================
--- /dev/null
+++ libthai-0.1.30/doc/no_date_footer.html
+++ libthai-0.1.24/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,8 +1,8 @@
Summary: Thai language support routines
Name: libthai
Version: 0.1.30
Release: 1%{?dist}
License: LGPL-2.1-or-later
Version: 0.1.29
Release: 4%{?dist}
License: LGPLv2+
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
@ -31,7 +31,8 @@ Install libthai-devel if you want to develop programs which will use
libthai.
%prep
%autosetup -p1
%setup -q
%patch0 -p1 -b .multilib
%build
%configure --disable-static
@ -64,31 +65,6 @@ 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
* 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

View file

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

View file

@ -1 +1 @@
SHA512 (libthai-0.1.30.tar.xz) = c84d575b6855d54b1ea1d9878a94153ba7807cc736f7bf01327d17a6444c6fd4b18deae2ab5a2612847892c9d94ed4ceb54fbf25244aa6eb88a3605260ad328e
SHA512 (libthai-0.1.29.tar.xz) = 0ba1261581a1705a2a2546a3071acb3c63892dbf111f0dad415667165a6b9542a5e4549061c67b11ec53de7c9e70fceb3c04d794fd12a22d991a539dbacebda1

View file

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

17
tests/make_check.sh Normal file
View file

@ -0,0 +1,17 @@
#!/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 $?

View file

@ -1,35 +0,0 @@
#!/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

21
tests/tests.yml Normal file
View file

@ -0,0 +1,21 @@
- 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