From 99a3e1d930e478ba3eaabb9804fd47ebba54c962 Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Wed, 5 Nov 2008 23:05:02 +0000 Subject: [PATCH] *** empty log message *** --- .cvsignore | 1 + hunspell-sw.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ import.log | 1 + sources | 1 + 4 files changed, 51 insertions(+) create mode 100644 hunspell-sw.spec create mode 100644 import.log diff --git a/.cvsignore b/.cvsignore index e69de29..19fc8fe 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +dictionary_myspell_sw_TZ_1.1.tar.gz diff --git a/hunspell-sw.spec b/hunspell-sw.spec new file mode 100644 index 0000000..aa3eb33 --- /dev/null +++ b/hunspell-sw.spec @@ -0,0 +1,48 @@ +Name: hunspell-sw +Summary: Swahili hunspell dictionaries +%define upstreamid 20050819 +Version: 0.%{upstreamid} +Release: 1%{?dist} +Group: Applications/Text +Source: http://www.it46.se/downloads/openoffice/dictionary/dictionary_myspell_sw_TZ_1.1.tar.gz +URL: http://www.it46.se +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +License: LGPLv2+ +BuildArch: noarch +BuildRequires: hunspell-devel + +Requires: hunspell + +%description +Swahili hunspell dictionaries. + +%prep +%setup -q -c + +%build +iconv -f ISO-8859-1 -t UTF-8 README_sw_TZ.txt > README_sw_TZ.txt.new +mv -f README_sw_TZ.txt.new README_sw_TZ.txt + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell +cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell +pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/ +sw_TZ_aliases="sw_KE" +for lang in $sw_TZ_aliases; do + ln -s sw_TZ.aff $lang.aff + ln -s sw_TZ.dic $lang.dic +done +popd + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc README_sw_TZ.txt +%{_datadir}/myspell/* + +%changelog +* Sun Nov 02 2008 Caolan McNamara - 0.20050819-1 +- initial version diff --git a/import.log b/import.log new file mode 100644 index 0000000..03d5ef5 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +hunspell-sw-0_20050819-1_fc9:HEAD:hunspell-sw-0.20050819-1.fc9.src.rpm:1225926250 diff --git a/sources b/sources index e69de29..019bad3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1ce4e40feaf5e890db87daeeb793222d dictionary_myspell_sw_TZ_1.1.tar.gz