2007-01-16 00:23:23 +01:00
|
|
|
#
|
2011-02-22 20:26:36 +01:00
|
|
|
# spec file for package libthai
|
2007-01-16 00:23:23 +01:00
|
|
|
#
|
2021-12-24 10:37:03 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2007-01-16 00:23:23 +01:00
|
|
|
#
|
2009-01-19 02:10:56 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-08-25 12:58:30 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:23:23 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-04-09 00:19:42 +02:00
|
|
|
Name: libthai
|
2021-12-24 10:37:03 +01:00
|
|
|
Version: 0.1.29
|
2012-01-18 09:06:52 +01:00
|
|
|
Release: 0
|
2010-02-18 16:31:43 +01:00
|
|
|
Summary: Thai Language Support Routines
|
2018-03-05 14:57:37 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2018-03-05 16:54:15 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2020-08-25 12:58:30 +02:00
|
|
|
URL: https://linux.thai.net/plone/TLWG/libthai/
|
2016-12-19 17:54:53 +01:00
|
|
|
Source: https://linux.thai.net/pub/thailinux/software/libthai/%{name}-%{version}.tar.xz
|
2011-02-22 15:22:46 +01:00
|
|
|
Source99: baselibs.conf
|
2010-02-18 16:31:43 +01:00
|
|
|
BuildRequires: libdatrie-devel
|
2018-03-05 14:57:37 +01:00
|
|
|
BuildRequires: pkgconfig
|
2007-01-16 00:23:23 +01:00
|
|
|
|
|
|
|
%description
|
2018-03-05 16:54:15 +01:00
|
|
|
LibThai is a set of Thai language support routines to aid
|
|
|
|
incorporation of Thai language support into applications. It includes
|
|
|
|
important Thai-specific functions, such as word breaking, input and
|
|
|
|
output methods, and basic character and string support.
|
2008-04-09 00:19:42 +02:00
|
|
|
|
2011-07-07 14:06:53 +02:00
|
|
|
%package -n libthai0
|
|
|
|
Summary: Thai Language Support Routines
|
|
|
|
# SLPP applied since version 0.1.15.
|
2011-07-07 14:12:45 +02:00
|
|
|
# libthai needs the data to run, but the data is not parallel-installable,
|
|
|
|
# hence the >= instead of =. We just hope the data format will stay the same in
|
|
|
|
# the future.
|
2018-03-05 16:54:15 +01:00
|
|
|
Group: System/Libraries
|
2011-07-07 14:06:53 +02:00
|
|
|
Requires: libthai-data >= %{version}
|
2018-03-05 14:57:37 +01:00
|
|
|
Provides: libthai = %{version}
|
|
|
|
Obsoletes: libthai < %{version}
|
2011-07-07 14:06:53 +02:00
|
|
|
|
|
|
|
%description -n libthai0
|
2018-03-05 16:54:15 +01:00
|
|
|
LibThai is a set of Thai language support routines to aid
|
|
|
|
incorporation of Thai language support into applications. It includes
|
|
|
|
important Thai-specific functions, such as word breaking, input and
|
|
|
|
output methods, and basic character and string support.
|
2011-07-07 14:06:53 +02:00
|
|
|
|
|
|
|
%package data
|
2018-03-05 16:54:15 +01:00
|
|
|
Summary: Data files for the Thai language support library
|
2011-07-07 14:06:53 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description data
|
2018-03-05 16:54:15 +01:00
|
|
|
LibThai is a set of Thai language support routines to aid
|
|
|
|
incorporation of Thai language support into applications. It includes
|
|
|
|
important Thai-specific functions, such as word breaking, input and
|
|
|
|
output methods, and basic character and string support.
|
2011-07-07 14:06:53 +02:00
|
|
|
|
|
|
|
This package contains the data files for libthai.
|
|
|
|
|
2008-04-09 00:19:42 +02:00
|
|
|
%package devel
|
2018-03-05 16:54:15 +01:00
|
|
|
Summary: Development files for the Thai language support library
|
2011-07-07 14:06:53 +02:00
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Requires: libthai0 = %{version}
|
2008-04-09 00:19:42 +02:00
|
|
|
|
|
|
|
%description devel
|
2018-03-05 16:54:15 +01:00
|
|
|
LibThai is a set of Thai language support routines to aid
|
|
|
|
incorporation of Thai language support into applications. It includes
|
|
|
|
important Thai-specific functions, such as word breaking, input and
|
|
|
|
output methods, and basic character and string support.
|
2008-04-09 00:19:42 +02:00
|
|
|
|
|
|
|
This package contains headers and libraries required for developing
|
|
|
|
software using libthai.
|
2007-01-16 00:23:23 +01:00
|
|
|
|
|
|
|
%prep
|
2009-01-19 02:10:56 +01:00
|
|
|
%setup -q
|
2007-01-16 00:23:23 +01:00
|
|
|
|
|
|
|
%build
|
2018-03-05 16:54:15 +01:00
|
|
|
%configure --disable-static
|
2020-08-25 12:58:30 +02:00
|
|
|
%make_build
|
2007-01-16 00:23:23 +01:00
|
|
|
|
|
|
|
%install
|
2011-07-07 14:06:53 +02:00
|
|
|
%make_install
|
2018-03-05 14:57:37 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2007-01-16 00:23:23 +01:00
|
|
|
|
2011-07-07 14:06:53 +02:00
|
|
|
%post -n libthai0 -p /sbin/ldconfig
|
|
|
|
%postun -n libthai0 -p /sbin/ldconfig
|
2007-01-16 00:23:23 +01:00
|
|
|
|
2011-07-07 14:06:53 +02:00
|
|
|
%files -n libthai0
|
2008-04-09 00:19:42 +02:00
|
|
|
%{_libdir}/libthai.so.*
|
2011-07-07 14:06:53 +02:00
|
|
|
|
|
|
|
%files data
|
|
|
|
%{_datadir}/libthai/
|
2008-04-09 00:19:42 +02:00
|
|
|
|
|
|
|
%files devel
|
2011-07-07 14:06:53 +02:00
|
|
|
%{_includedir}/thai/
|
2008-05-22 02:00:46 +02:00
|
|
|
%{_libdir}/libthai.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2007-01-16 00:23:23 +01:00
|
|
|
|
2008-04-09 00:19:42 +02:00
|
|
|
%changelog
|