diff --git a/dict-la_2013-03-31.oxt b/dict-la_2013-03-31.oxt new file mode 100644 index 0000000..ab27bed Binary files /dev/null and b/dict-la_2013-03-31.oxt differ diff --git a/hunspell-la.spec b/hunspell-la.spec new file mode 100644 index 0000000..e132e8e --- /dev/null +++ b/hunspell-la.spec @@ -0,0 +1,36 @@ +Name: hunspell-la +Version: 0.20130331 +Release: 13 +Summary: Dictionaries of latin hunspell. +License: GPLv2+ +URL: http://extensions.services.openoffice.org/project/dict-la +Source: https://downloads.sourceforge.net/project/aoo-extensions/1141/3/dict-la_2013-03-31.oxt +BuildArch: noarch +Requires: hunspell + +%description +Dictionaries of latin hunspell. + +%prep +%autosetup -c -n hunspell-la -p1 + +%build +for i in README_extension_owner-la.txt la/README_la.txt la/COPYING*; do + iconv -f ISO-8859-1 -t UTF-8 $i > $i.new.1 + tr -d '\r' < $i.new.1 > $i.new.2 + rm -f $i $i.new.1 + mv -f $i.new.2 $i +done + +%install +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell +install -p la/la.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/la.dic +install -p la/la.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/la.aff + +%files +%doc README_extension_owner-la.txt la/README_la.txt la/COPYING_* +%{_datadir}/myspell/* + +%changelog +* Tue Apr 14 2020 chengzihan - 0.20130331-13 +- Package init