From 699e468413841dbaa745a792ab03ef820ca63dff Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Thu, 27 Nov 2008 09:25:06 +0000 Subject: [PATCH] *** empty log message *** --- .cvsignore | 1 + hunspell-hil.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++ import.log | 1 + sources | 1 + 4 files changed, 50 insertions(+) create mode 100644 hunspell-hil.spec create mode 100644 import.log diff --git a/.cvsignore b/.cvsignore index e69de29..3e264f8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +aspell5-hil-0.11-0.tar.bz2 diff --git a/hunspell-hil.spec b/hunspell-hil.spec new file mode 100644 index 0000000..0859db9 --- /dev/null +++ b/hunspell-hil.spec @@ -0,0 +1,47 @@ +Name: hunspell-hil +Summary: Hiligaynon hunspell dictionaries +%define upstreamid 20050406 +Version: 0.%{upstreamid} +Release: 1%{?dist} +Group: Applications/Text +Source: http://ftp.gnu.org/gnu/aspell/dict/hil/aspell5-hil-0.11-0.tar.bz2 +URL: http://borel.slu.edu/crubadan/apps.html +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +License: GPL+ +BuildArch: noarch +BuildRequires: aspell, hunspell-devel + +Requires: hunspell + +%description +Hiligaynon hunspell dictionaries. + +%prep +%setup -q -n aspell5-hil-0.11-0 + +%build +export LANG=hil_PH.utf8 +preunzip -d *.cwl +cat *.wl > hiligaynon.wordlist +wordlist2hunspell hiligaynon.wordlist hil_PH +for i in Copyright doc/Crawler.txt; do + iconv -f ISO-8859-1 -t UTF-8 $i > $i.new + mv -f $i.new $i +done + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell +cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc COPYING Copyright README doc/Crawler.txt +%{_datadir}/myspell/* + +%changelog +* Fri Nov 07 2008 Caolan McNamara - 0.20050406-1 +- initial version diff --git a/import.log b/import.log new file mode 100644 index 0000000..3302d80 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +hunspell-hil-0_20050406-1_fc10:HEAD:hunspell-hil-0.20050406-1.fc10.src.rpm:1227777826 diff --git a/sources b/sources index e69de29..351725a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6ce553007a773a1c2ffd68b660ddb60b aspell5-hil-0.11-0.tar.bz2