Compare commits
No commits in common. "c8s" and "c10s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -8,3 +8,5 @@ libdatrie-0.2.2.tar.gz
|
|||||||
/libthai-0.1.24.tar.xz
|
/libthai-0.1.24.tar.xz
|
||||||
/libthai-0.1.25.tar.xz
|
/libthai-0.1.25.tar.xz
|
||||||
/libthai-0.1.27.tar.xz
|
/libthai-0.1.27.tar.xz
|
||||||
|
/libthai-0.1.28.tar.xz
|
||||||
|
/libthai-0.1.29.tar.xz
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- !Policy
|
--- !Policy
|
||||||
product_versions:
|
product_versions:
|
||||||
- rhel-8
|
- rhel-10
|
||||||
decision_context: osci_compose_gate
|
decision_context: osci_compose_gate
|
||||||
rules:
|
rules:
|
||||||
# this is the testcase identifier, which OSCI pipeline uses
|
# this is the testcase identifier, which OSCI pipeline uses
|
||||||
|
80
libthai.spec
80
libthai.spec
@ -1,16 +1,16 @@
|
|||||||
Summary: Thai language support routines
|
Summary: Thai language support routines
|
||||||
Name: libthai
|
Name: libthai
|
||||||
Version: 0.1.27
|
Version: 0.1.29
|
||||||
Release: 2%{?dist}
|
Release: 10%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPL-2.1-or-later
|
||||||
Group: System Environment/Libraries
|
Source: http://linux.thai.net/pub/thailinux/software/libthai/libthai-%{version}.tar.xz
|
||||||
Source: ftp://linux.thai.net/pub/thailinux/software/libthai/libthai-%{version}.tar.xz
|
|
||||||
Patch0: libthai-0.1.9-multilib.patch
|
Patch0: libthai-0.1.9-multilib.patch
|
||||||
URL: http://linux.thai.net
|
URL: http://linux.thai.net
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
|
BuildRequires: gcc
|
||||||
BuildRequires: pkgconfig(datrie-0.2)
|
BuildRequires: pkgconfig(datrie-0.2)
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: make
|
||||||
|
|
||||||
%description
|
%description
|
||||||
LibThai is a set of Thai language support routines aimed to ease
|
LibThai is a set of Thai language support routines aimed to ease
|
||||||
@ -20,7 +20,6 @@ output methods as well as basic character and string supports.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Thai language support routines
|
Summary: Thai language support routines
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
|
|
||||||
@ -32,8 +31,7 @@ Install libthai-devel if you want to develop programs which will use
|
|||||||
libthai.
|
libthai.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch0 -p1 -b .multilib
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
@ -52,27 +50,75 @@ rmdir $RPM_BUILD_ROOT%{_docdir}/libthai
|
|||||||
|
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
|
||||||
%clean
|
%ldconfig_scriptlets
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
|
||||||
%doc README AUTHORS COPYING ChangeLog
|
%doc README AUTHORS COPYING ChangeLog
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
%{_datadir}/libthai
|
%{_datadir}/libthai
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
|
||||||
%doc installed-docs/*
|
%doc installed-docs/*
|
||||||
%{_includedir}/thai
|
%{_includedir}/thai
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/lib*.so
|
||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.1.29-10
|
||||||
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.1.29-9
|
||||||
|
- Bump release for June 2024 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
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.27-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
6
plans/basic.fmf
Normal file
6
plans/basic.fmf
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
summary: Basic smoke test
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
dist-git-source: true
|
||||||
|
execute:
|
||||||
|
how: tmt
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (libthai-0.1.27.tar.xz) = 931ba74ab003c7670b0919fc12bf456df1b516f859f55fbf6c063341215f1743158070f6256f78c49f56641d16ab0e8b0c71b96078c448f454b1257d44b10757
|
SHA512 (libthai-0.1.29.tar.xz) = 0ba1261581a1705a2a2546a3071acb3c63892dbf111f0dad415667165a6b9542a5e4549061c67b11ec53de7c9e70fceb3c04d794fd12a22d991a539dbacebda1
|
||||||
|
13
tests/main.fmf
Normal file
13
tests/main.fmf
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
test: bash ./make_check.sh ..
|
||||||
|
duration: 50m
|
||||||
|
framework: shell
|
||||||
|
require:
|
||||||
|
- make
|
||||||
|
- gcc
|
||||||
|
- autoconf
|
||||||
|
- autoconf-archive
|
||||||
|
- automake
|
||||||
|
- libtool
|
||||||
|
- doxygen
|
||||||
|
- libdatrie-devel
|
||||||
|
- rpm-build
|
@ -9,6 +9,15 @@ check_return_value () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cd $1
|
cd $1
|
||||||
|
|
||||||
|
VERSION=`rpmspec -q --srpm --qf "%{version}" libthai.spec 2>/dev/null`
|
||||||
|
|
||||||
|
if test -d libthai-$VERSION-build;
|
||||||
|
then cd libthai-$VERSION-build;
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd libthai-$VERSION
|
||||||
|
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
check_return_value $?
|
check_return_value $?
|
||||||
make
|
make
|
||||||
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user