2007-01-16 00:23:23 +01:00
|
|
|
#
|
2010-02-18 16:31:43 +01:00
|
|
|
# spec file for package libthai (Version 0.1.13)
|
2007-01-16 00:23:23 +01:00
|
|
|
#
|
2010-02-18 16:31:43 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2008-04-09 00:19:42 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-16 00:23:23 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-04-09 00:19:42 +02:00
|
|
|
|
|
|
|
Name: libthai
|
2010-02-18 16:31:43 +01:00
|
|
|
Version: 0.1.13
|
|
|
|
Release: 1
|
|
|
|
License: LGPLv2.1+
|
|
|
|
Summary: Thai Language Support Routines
|
2008-04-09 00:19:42 +02:00
|
|
|
Url: http://linux.thai.net/plone/TLWG/libthai/
|
|
|
|
Group: System/Libraries
|
2010-02-18 16:31:43 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
BuildRequires: libdatrie-devel
|
|
|
|
BuildRequires: pkg-config
|
2008-04-09 00:19:42 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-16 00:23:23 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
LibThai is a set of Thai language support routines aimed to ease
|
|
|
|
developers' tasks to incorporate Thai language support in their
|
2008-04-09 00:19:42 +02:00
|
|
|
applications. It includes important Thai-specific functions, such as
|
|
|
|
word breaking, input and output methods, and basic character and string
|
|
|
|
support.
|
|
|
|
|
|
|
|
%package devel
|
2010-02-18 16:31:43 +01:00
|
|
|
License: LGPLv2.1+
|
2008-04-09 00:19:42 +02:00
|
|
|
Summary: Thai Language Support Routines (development files)
|
|
|
|
Group: System/Libraries
|
2010-02-18 16:31:43 +01:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: libdatrie-devel
|
2008-04-09 00:19:42 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
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, such as
|
|
|
|
word breaking, input and output methods, and basic character and string
|
|
|
|
support.
|
|
|
|
|
|
|
|
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
|
2009-01-19 02:10:56 +01:00
|
|
|
%configure --disable-static --with-pic
|
2008-05-22 02:00:46 +02:00
|
|
|
make %{?jobs:-j%jobs}
|
2007-01-16 00:23:23 +01:00
|
|
|
|
|
|
|
%install
|
2008-05-22 02:00:46 +02:00
|
|
|
%makeinstall
|
2010-02-18 16:31:43 +01:00
|
|
|
rm %{buildroot}%{_libdir}/*.la
|
2007-01-16 00:23:23 +01:00
|
|
|
|
|
|
|
%clean
|
2010-02-18 16:31:43 +01:00
|
|
|
rm -rf %{buildroot}
|
2007-01-16 00:23:23 +01:00
|
|
|
|
2008-04-09 00:19:42 +02:00
|
|
|
%post -p /sbin/ldconfig
|
2007-01-16 00:23:23 +01:00
|
|
|
|
2008-04-09 00:19:42 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-16 00:23:23 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2008-04-09 00:19:42 +02:00
|
|
|
%{_libdir}/libthai.so.*
|
2008-05-22 02:00:46 +02:00
|
|
|
%{_datadir}/libthai
|
2008-04-09 00:19:42 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2008-05-22 02:00:46 +02:00
|
|
|
%{_includedir}/thai
|
|
|
|
%{_libdir}/libthai.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2007-01-16 00:23:23 +01:00
|
|
|
|
2008-04-09 00:19:42 +02:00
|
|
|
%changelog
|