%define name cttex %define version 1.23 %define release 1mdk Summary: Cttex, Thai word separator program Name: %{name} Version: %{version} Release: %{release} License: Distributable Group: System/Internationalization Source0: http://thaigate.nacsis.ac.jp/ftp/thaisoft/new/cttex/%{name}_%{version}.tar.bz2 URL: http://thaigate.nacsis.ac.jp/files/index.html BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot Requires: locales-th Patch0: ctte-121-cflags.patch.bz2 %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 CFLAGS="$RPM_OPT_FLAGS" %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 * Sat Jul 12 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 1.23-1mdk - 1.23 - cosmetics - quiet setup * Fri Jul 06 2001 Pablo Saratxaga <pablo@mandrakesoft.com> 1.21-4mdk - rebuild in new environment * Wed Jul 19 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.21-3mdk - BM. - Remove sed stuff provides patches. * Fri Jul 14 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.21-2mdk - FIx pablo suck (build as users). * Wed Jun 28 2000 Pablo Saratxaga <pablo@mandrakesoft.com> 1.21-1mdk - first rpm version for Mandrake