package init

This commit is contained in:
small_leek 2020-07-18 10:37:04 +08:00
parent bf9907261a
commit 2f684a778d
3 changed files with 43 additions and 0 deletions

39
hunspell-fur.spec Executable file
View File

@ -0,0 +1,39 @@
Name: hunspell-fur
Summary: Libraries for friulian hunspell dictionaries
Version: 0.20050912
Release: 18
Source: http://digilander.libero.it/paganf/coretors/myspell-fur-12092005.zip
URL: http://digilander.libero.it/paganf/coretors/dizionaris.html
License: GPLv2+
BuildArch: noarch
Requires: hunspell
%description
Libraries for friulian hunspell dictionaries.
%prep
%autosetup -n myspell-fur-12092005 -p1
%build
chmod -x *
for i in COPYING.txt LICENCE.txt LEIMI.txt; do
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
iconv -f ISO-8859-15 -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 %{buildroot}/%{_datadir}/myspell
install -p fur_IT.* %{buildroot}/%{_datadir}/myspell/
%files
%doc COPYING.txt LEIMI.txt LICENCE.txt
%{_datadir}/myspell/*
%changelog
* Tue Apr 28 2020 cuibaobao <cuibaobao1@huawei.com> - 0.20050912-18
- Package init

4
hunspell-fur.yaml Executable file
View File

@ -0,0 +1,4 @@
version_control: NA
src_repo: NA
tag_prefix: NA
seperator: NA

BIN
myspell-fur-12092005.zip Executable file

Binary file not shown.