package init
This commit is contained in:
parent
46455faf65
commit
08efce120e
35
hunspell-km.spec
Normal file
35
hunspell-km.spec
Normal file
@ -0,0 +1,35 @@
|
||||
Name: hunspell-km
|
||||
Summary: Khmer hunspell dictionaries for hunspell used in OpenOffice
|
||||
Version: 1.82
|
||||
Release: 3
|
||||
Source: https://downloads.sourceforge.net/project/aoo-extensions/2250/6/sbbic-khmer-spelling-checker-1.82.oxt
|
||||
URL: http://www.sbbic.org/
|
||||
License: GPLv3
|
||||
BuildArch: noarch
|
||||
Requires: hunspell
|
||||
Supplements: (hunspell and langpacks-km)
|
||||
|
||||
%description
|
||||
Khmer hunspell dictionaries for hunspell used in OpenOffice.
|
||||
|
||||
%prep
|
||||
%autosetup -c -n hunspell-km -p1 -S git
|
||||
|
||||
%build
|
||||
if ! iconv -f utf-8 -t utf-8 -o /dev/null CHANGELOG > /dev/null 2>&1; then
|
||||
iconv -f ISO-8859-1 -t UTF-8 CHANGELOG > CHANGELOG.new;touch -r CHANGELOG CHANGELOG.new
|
||||
mv -f CHANGELOG.new CHANGELOG
|
||||
fi
|
||||
tr -d '\r' < CHANGELOG > CHANGELOG.new;touch -r CHANGELOG CHANGELOG.new;mv -f CHANGELOG.new CHANGELOG
|
||||
|
||||
%install
|
||||
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
install -p km_KH.* $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
|
||||
%files
|
||||
%doc CHANGELOG LICENCES-*.txt
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%changelog
|
||||
* Sat Apr 18 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1.82-3
|
||||
- Package init
|
||||
BIN
sbbic-khmer-spelling-checker-1.82.oxt
Normal file
BIN
sbbic-khmer-spelling-checker-1.82.oxt
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user