%define name cttex %define version 1.23 %define release %mkrel 4 Summary: Cttex, Thai word separator program Name: %{name} Version: %{version} Release: %{release} License: Distributable Group: System/Internationalization Source0: %{name}_%{version}.tar.bz2 URL: http://linux.thai.net/pub/thailinux/cvs/software/cttex/ BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot Requires: locales-th Patch0: ctte-121-cflags.patch %description The main part of Cttex is a Thai word separator algorithm using a dictionary. A wrapper for formatting Thai LaTeX document file is provided to demonstrate the use of this word-sep routine. The program can also be used as a simple word-sep filter. %prep %setup -q %patch0 -p1 %build PATH=$PATH:. %make %install rm -rf $RPM_BUILD_ROOT install -m 755 %{name} -D $RPM_BUILD_ROOT%{_bindir}/%{name} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README* testfile %{_bindir}/%{name} %changelog * Wed Apr 25 2007 Adam Williamson <awilliamson@mandriva.com> 1.23-4mdv2008.0 + Revision: 18391 - rebuild for new era, clean spec + Mandriva <devel@mandriva.com> * Fri May 12 2006 Stefan van der Eijk <stefan@eijk.nu> 1.23-3mdk - rebuild for sparc * Sat Dec 31 2005 Mandriva Linux Team <http://www.mandrivaexpert.com/> 1.23-2mdk - Rebuild * Sat Jul 12 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 1.23-1mdk - 1.23 - cosmetics - quiet setup