diff --git a/hunspell-fur.spec b/hunspell-fur.spec new file mode 100755 index 0000000..6e44d02 --- /dev/null +++ b/hunspell-fur.spec @@ -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 - 0.20050912-18 +- Package init + diff --git a/hunspell-fur.yaml b/hunspell-fur.yaml new file mode 100755 index 0000000..00bbaf0 --- /dev/null +++ b/hunspell-fur.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA diff --git a/myspell-fur-12092005.zip b/myspell-fur-12092005.zip new file mode 100755 index 0000000..774ce2e Binary files /dev/null and b/myspell-fur-12092005.zip differ