From 449245ef2edeac88bf2c5b9f582e8f5dad8adad4 Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Tue, 7 Oct 2008 21:28:30 +0000 Subject: [PATCH] *** empty log message *** --- .cvsignore | 1 + hunspell-tl.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++ import.log | 1 + sources | 1 + 4 files changed, 50 insertions(+) create mode 100644 hunspell-tl.spec create mode 100644 import.log diff --git a/.cvsignore b/.cvsignore index e69de29..706b358 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +tl_PH.zip diff --git a/hunspell-tl.spec b/hunspell-tl.spec new file mode 100644 index 0000000..b0d1fb4 --- /dev/null +++ b/hunspell-tl.spec @@ -0,0 +1,47 @@ +Name: hunspell-tl +Summary: Tagalog hunspell dictionaries +%define upstreamid 20050109 +Version: 0.%{upstreamid} +Release: 1%{?dist} +Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/tl_PH.zip +Group: Applications/Text +URL: http://borel.slu.edu/crubadan/apps.html +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +License: GPLv2+ +BuildArch: noarch + +Requires: hunspell + +%description +Tagalog hunspell dictionaries. + +%prep +%setup -q -c -n hunspell-tl + +%build +iconv -f ISO-8859-1 -t UTF-8 README_tl_PH.txt > README_tl_PH.txt.new +mv -f README_tl_PH.txt.new README_tl_PH.txt + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell +cp -p tl_PH.* $RPM_BUILD_ROOT/%{_datadir}/myspell/ +pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/ +tl_PH_aliases="fil_PH" +for lang in $tl_PH_aliases; do + ln -s tl_PH.aff $lang.aff + ln -s tl_PH.dic $lang.dic +done +popd + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc README_tl_PH.txt +%{_datadir}/myspell/* + +%changelog +* Fri Oct 3 2008 Caolan McNamara - 0.20050109-1 +- initial version diff --git a/import.log b/import.log new file mode 100644 index 0000000..7cfbe8e --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +hunspell-tl-0_20050109-1_fc9:HEAD:hunspell-tl-0.20050109-1.fc9.src.rpm:1223414974 diff --git a/sources b/sources index e69de29..258af40 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a809a8a6202a5ef36742bbb1bd756de1 tl_PH.zip