commit
3b47614409
36
hunspell-hil.spec
Normal file
36
hunspell-hil.spec
Normal file
@ -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 <sunguoshuai@huawei.com> - 1:0.14-16
|
||||
- Package init
|
||||
BIN
litreoir_hiligaynon-0.14-tb+fx+sm.xpi
Normal file
BIN
litreoir_hiligaynon-0.14-tb+fx+sm.xpi
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user