Package init
This commit is contained in:
parent
3d398b51c1
commit
1cac6e1d41
BIN
dict-la_2013-03-31.oxt
Normal file
BIN
dict-la_2013-03-31.oxt
Normal file
Binary file not shown.
36
hunspell-la.spec
Normal file
36
hunspell-la.spec
Normal file
@ -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 <chengzihan2@huawei.com> - 0.20130331-13
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user