diff --git a/hunspell-hil.spec b/hunspell-hil.spec new file mode 100644 index 0000000..66ed3d2 --- /dev/null +++ b/hunspell-hil.spec @@ -0,0 +1,36 @@ +Name: hunspell-hil +Epoch: 1 +Version: 0.14 +Release: 16 +Summary: Provides Hiligaynon hunspell dictionaries and affices +URL: http://extensions.services.openoffice.org/project/hunspell-hil +Source: https://addons.mozilla.org/firefox/downloads/file/108895/litreoir_hiligaynon-%{version}-tb+fx+sm.xpi +License: GPLv2+ +BuildArch: noarch +Requires: hunspell +BuildRequires: dos2unix +Supplements: (hunspell and langpacks-hil) + +%description +This package provides Hiligaynon hunspell dictionaries and affices + +%prep +%autosetup -c -n hunspell-hil -p1 + +%build +iconv -f ISO-8859-1 -t UTF-8 dictionaries/README_hil_PH.txt > dictionaries/tmp.txt +mv -f dictionaries/tmp.txt dictionaries/README_hil_PH.txt +dos2unix dictionaries/README_hil_PH.txt + +%install +install -d $RPM_BUILD_ROOT/%{_datadir}/myspell +install -p dictionaries/hil.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/hil_PH.dic +install -p dictionaries/hil.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/hil_PH.aff + +%files +%doc dictionaries/README_hil_PH.txt +%{_datadir}/myspell/* + +%changelog +* Sun Apr 26 2020 sunguoshuai - 1:0.14-16 +- Package init diff --git a/litreoir_hiligaynon-0.14-tb+fx+sm.xpi b/litreoir_hiligaynon-0.14-tb+fx+sm.xpi new file mode 100644 index 0000000..7b8bc58 Binary files /dev/null and b/litreoir_hiligaynon-0.14-tb+fx+sm.xpi differ