diff --git a/.cvsignore b/.cvsignore index e69de29..c8c60d7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +ti_ER.zip diff --git a/hunspell-ti.spec b/hunspell-ti.spec new file mode 100644 index 0000000..d89d97f --- /dev/null +++ b/hunspell-ti.spec @@ -0,0 +1,47 @@ +Name: hunspell-ti +Summary: Tigrigna hunspell dictionaries +%define upstreamid 20090704 +Version: 0.%{upstreamid} +Release: 1%{?dist} +Source: http://www.cs.ru.nl/~biniam/geez/dict/ti_ER.zip +Group: Applications/Text +URL: http://www.cs.ru.nl/~biniam/geez/index.php +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +License: GPL+ +BuildArch: noarch + +Requires: hunspell + +%description +Tigrigna hunspell dictionaries. + +%prep +%setup -q -n ti_ER + +%build +tr -d '\r' < README.txt > README.txt.new +touch -r README.txt README.txt.new +mv -f README.txt.new README.txt + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell +cp -p ti_ER.* $RPM_BUILD_ROOT/%{_datadir}/myspell/ +pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/ +ti_ER_aliases="ti_ET" +for lang in $ti_ER_aliases; do + ln -s ti_ER.aff $lang.aff + ln -s ti_ER.dic $lang.dic +done + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc README.txt +%{_datadir}/myspell/* + +%changelog +* Mon Jul 06 2009 Caolan McNamara - 0.20090704-1 +- initial version diff --git a/import.log b/import.log new file mode 100644 index 0000000..238fecd --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +hunspell-ti-0_20090704-1_fc11:HEAD:hunspell-ti-0.20090704-1.fc11.src.rpm:1246955444 diff --git a/sources b/sources index e69de29..68453b5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +49c38651aa02a5fa88a644dff378aef9 ti_ER.zip