update to 0.1.29 [release 0.1.29-1mamba;Mon Dec 27 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 05:54:55 +01:00
parent 751dac88cd
commit 0b25f7691b

View File

@ -1,28 +1,27 @@
%define libdatrie_version 0.2.5
Name: libthai Name: libthai
Version: 0.1.28 Version: 0.1.29
Release: 2mamba Release: 1mamba
Summary: Thai language support routines Summary: Thai language support routines
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://linux.thai.net/ URL: https://github.com/tlwg/libthai
Source0: ftp://linux.thai.net/pub/thailinux/software/libthai/libthai-%{version}.tar.xz Source: https://github.com/tlwg/libthai.git/v%{version}/libthai-%{version}.tar.bz2
Source1: ftp://linux.thai.net/pub/thailinux/software/libthai/libdatrie-%{libdatrie_version}.tar.gz
Patch0: libthai-0.1.12-libdatrie-0.2.2-static-build.patch Patch0: libthai-0.1.12-libdatrie-0.2.2-static-build.patch
Patch1: libthai-0.1.9-doxygen-segfault.patch Patch1: libthai-0.1.9-doxygen-segfault.patch
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: pkgconfig BuildRequires: libdatrie-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libdatrie-devel
BuildRequires: libdatrie-tools
%description %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. 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 %description devel
LibThai is a set of Thai language support routines. LibThai is a set of Thai language support routines.
This package contains libraries and header files needed for development.
This package contains libraries and header files need for development.
%package static %package static
Group: Development/Libraries Group: Development/Libraries
@ -44,36 +42,17 @@ Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
%description static %description static
LibThai is a set of Thai language support routines. LibThai is a set of Thai language support routines.
This package contains static libraries needed for development.
This package contains static libraries need for development.
%debug_package %debug_package
%prep %prep
%setup -q -n %{name}-%{version} -a1 %setup -q
%define _default_patch_fuzz 2 ./autogen.sh
mv libdatrie-%{libdatrie_version} libdatrie
%patch0 -p1
#%patch1 -p1
%build %build
{
pushd libdatrie
mkdir m4
autoreconf -i -f
%configure %configure
make %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
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -110,6 +89,9 @@ rmdir %{buildroot}%{_docdir}/libthai
%{_libdir}/libthai.*a %{_libdir}/libthai.*a
%changelog %changelog
* Mon Dec 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.29-1mamba
- update to 0.1.29
* Mon Nov 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.28-2mamba * Mon Nov 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.28-2mamba
- rebuilt with debug package - rebuilt with debug package