libthai/libthai.spec

78 lines
1.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package libthai (Version 0.1.4)
#
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#
# norootforbuild
Name: libthai
URL: http://linux.thai.net/plone/TLWG/libthai/
License: LGPL
Group: System/Libraries
Autoreqprov: on
Version: 0.1.4
Release: 1
Summary: Thai language support routines
Source: %name-%version.tar.bz2
Patch: warnings.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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 support.
Authors:
--------
Theppitak Karoonboonyanan <thep@linux.thai.net>
Chanop Silpa-Anan <chanop@linux.thai.net>
Pattara Kiatisevi <ott@linux.thai.net>
Poonlap Veerathanabutr <poonlap@linux.thai.net>
Vuthichai Ampornaramveth <vuthi@nii.ac.jp>
%prep
%setup
%patch
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure \
--prefix=/usr \
--libdir=%{_libdir} \
--mandir=%{_mandir}
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%post
%run_ldconfig
%postun
%run_ldconfig
%files
%defattr(-,root,root)
/usr/include/thai
%{_bindir}/*
%{_libdir}/libthai.*
%doc %{_mandir}/man3/*.3.gz
%{_libdir}/pkgconfig/libthai.pc
%changelog -n libthai
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Sep 15 2005 - uli@suse.de
- initial package