package init
This commit is contained in:
parent
e123fa9e63
commit
555f13aea1
BIN
dict-ve_za-2009.10.30.oxt
Normal file
BIN
dict-ve_za-2009.10.30.oxt
Normal file
Binary file not shown.
36
hunspell-ve.spec
Normal file
36
hunspell-ve.spec
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
Name: hunspell-ve
|
||||||
|
Summary: Dictionaries for Venda hunspell
|
||||||
|
Version: 0.20091030
|
||||||
|
Release: 16
|
||||||
|
Source: https://downloads.sourceforge.net/project/aoo-extensions/3134/0/dict-ve_za-2009.10.30.oxt
|
||||||
|
URL: https://extensions.openoffice.org/en/project/venda-spell-checker
|
||||||
|
License: LGPLv2+
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires: hunspell
|
||||||
|
Supplements: (hunspell and langpacks-ve)
|
||||||
|
|
||||||
|
%description
|
||||||
|
Dictionaries for Venda hunspell.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -c -n hunspell-ve -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
for i in README-ve_ZA.txt release-notes-ve_ZA.txt package-description.txt; do
|
||||||
|
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
|
||||||
|
iconv -f ISO-8859-2 -t UTF-8 $i > $i.new; touch -r $i $i.new; mv -f $i.new $i
|
||||||
|
fi
|
||||||
|
tr -d '\r' < $i > $i.new; touch -r $i $i.new; mv -f $i.new $i
|
||||||
|
done
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||||
|
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README-ve_ZA.txt release-notes-ve_ZA.txt package-description.txt
|
||||||
|
%{_datadir}/myspell/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Apr 22 wutao <wutao61@huawei.com> - 0.20091030-16
|
||||||
|
- Package init
|
||||||
4
hunspell-ve.yaml
Normal file
4
hunspell-ve.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: NA
|
||||||
|
src_repo: NA
|
||||||
|
tag_prefix: NA
|
||||||
|
seperator: NA
|
||||||
Loading…
x
Reference in New Issue
Block a user