%define version 1.21 %define release 4mdk %define url http://thaigate.nacsis.ac.jp/ftp/thaisoft/new/cttex Summary: Cttex, Thai word separator program Name: cttex Version: %{version} Release: %{release} Copyright: Distributable Group: System/Internationalization Source0: %{url}/%{name}121.tar.bz2 URL: http://thaigate.nacsis.ac.jp/files/index.html BuildRoot: %{_tmppath}/cttext-root Requires: locales-th Patch: ctte-121-cflags.patch.bz2 Prefix: %{_prefix} %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 -n cttex121 %patch -p1 %build PATH=$PATH:. make CFLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir}/ install -m 755 cttex $RPM_BUILD_ROOT%{_bindir}/ %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README* testfile %{_bindir}/cttex %changelog * 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