From 5c8255f2457c4a4dd82ba830fde3050462b52c96 Mon Sep 17 00:00:00 2001 From: tyragoras Date: Dec 21 2022 01:42:30 +0000 Subject: first commit --- diff --git a/swath.spec b/swath.spec new file mode 100644 index 0000000..240dfcb --- /dev/null +++ b/swath.spec @@ -0,0 +1,45 @@ +Name: swath +Version: 0.6.1 +Release: 1%{?dist} +Summary: General-purpose utility for analyzing word boundaries in Thai +License: GPLv2 +URL: https://linux.thai.net/projects/swath +Source0: https://linux.thai.net/pub/thailinux/software/swath/%{name}-%{version}.tar.xz +BuildRequires: libdatrie-devel + +%description +SWATH (Smart Word Analysis for THai) is a general-purpose utility for analyzing +word boundaries in Thai text and inserting predefined word delimiter codes. It +can be used to preprocess Thai LaTeX documents so that the lines are wrapped +properly when typeset with LaTeX using Thai LaTeX macros. Other formats that +SWATH can also handle include HTML, RTF and plain text. + + +%prep +%setup -q + + +%build +%configure --disable-static +%make_build + + +%install +%make_install + + +%check +%make_build check + + +%files +%license COPYING +%doc AUTHORS ChangeLog NEWS README +%{_bindir}/swath +%{_mandir}/man1/swath* +%{_datadir}/swath/ + + +%changelog +* Sat Dec 17 2022 Thrapun Hansa - 0.6.1-1 +- Initial Package.