From 0b25f7691ba37a966ca463aa3633554641cf3528 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:54:55 +0100 Subject: [PATCH] update to 0.1.29 [release 0.1.29-1mamba;Mon Dec 27 2021] --- libthai.spec | 48 +++++++++++++++--------------------------------- 1 file changed, 15 insertions(+), 33 deletions(-) diff --git a/libthai.spec b/libthai.spec index 12a6dd9..f092b38 100644 --- a/libthai.spec +++ b/libthai.spec @@ -1,28 +1,27 @@ -%define libdatrie_version 0.2.5 Name: libthai -Version: 0.1.28 -Release: 2mamba +Version: 0.1.29 +Release: 1mamba Summary: Thai language support routines Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://linux.thai.net/ -Source0: ftp://linux.thai.net/pub/thailinux/software/libthai/libthai-%{version}.tar.xz -Source1: ftp://linux.thai.net/pub/thailinux/software/libthai/libdatrie-%{libdatrie_version}.tar.gz +URL: https://github.com/tlwg/libthai +Source: https://github.com/tlwg/libthai.git/v%{version}/libthai-%{version}.tar.bz2 Patch0: libthai-0.1.12-libdatrie-0.2.2-static-build.patch Patch1: libthai-0.1.9-doxygen-segfault.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: pkgconfig +BuildRequires: libdatrie-devel ## AUTOBUILDREQ-END BuildRequires: autoconf BuildRequires: automake BuildRequires: doxygen BuildRequires: libtool BuildRequires: pkgconfig -BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildRequires: libdatrie-devel +BuildRequires: libdatrie-tools %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 supports. LibThai is an Open Source and collaborative effort initiated by Thai Linux Working Group and opened for all contributors. @@ -34,8 +33,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel LibThai is a set of Thai language support routines. - -This package contains libraries and header files need for development. +This package contains libraries and header files needed for development. %package static Group: Development/Libraries @@ -44,36 +42,17 @@ Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release} %description static LibThai is a set of Thai language support routines. - -This package contains static libraries need for development. +This package contains static libraries needed for development. %debug_package %prep -%setup -q -n %{name}-%{version} -a1 -%define _default_patch_fuzz 2 -mv libdatrie-%{libdatrie_version} libdatrie -%patch0 -p1 -#%patch1 -p1 +%setup -q +./autogen.sh %build - -{ - pushd libdatrie - mkdir m4 - autoreconf -i -f - %configure - make - popd -} - -export DATRIE_CFLAGS="-I$PWD/libdatrie" -export DATRIE_LIBS="$PWD/libdatrie/datrie/libdatrie.la" -export PATH="$PWD/libdatrie/tools:$PATH" -autoreconf -i -f - %configure -make +%make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -110,6 +89,9 @@ rmdir %{buildroot}%{_docdir}/libthai %{_libdir}/libthai.*a %changelog +* Mon Dec 27 2021 Silvan Calarco 0.1.29-1mamba +- update to 0.1.29 + * Mon Nov 30 2020 Silvan Calarco 0.1.28-2mamba - rebuilt with debug package