Compare commits

..

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
7c95ea6b08
!7 License compliance rectification
From: @jianli-97 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-08-08 04:05:29 +00:00
jianli-97
eb999c36c0 License compliance rectification 2022-05-29 18:38:09 +08:00
openeuler-ci-bot
8ed3222382 !4 回退 'Pull Request !3 : fix the version as 20130125 '
From: @small_leek
Reviewed-by: @miao_kaibo
Signed-off-by: @miao_kaibo
2020-10-16 16:56:23 +08:00
small_leek
b6f071c8c7 回退 'Pull Request !3 : fix the version as 20130125 ' 2020-10-16 16:53:16 +08:00
openeuler-ci-bot
258ae3d13a !3 fix the version as 20130125
From: @zhanghua1831
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-13 10:13:22 +08:00
zhanghua1831
d44184ea20 fix the version as 2013.01.25 2020-10-13 09:45:10 +08:00
zhanghua1831
803b547a61 fix the version as 20130125 2020-10-12 10:50:43 +08:00
openeuler-ci-bot
3cd04db851 !2 add yaml
Merge pull request !2 from yaokai13/master
2020-08-14 09:27:13 +08:00
yaokai13
9b901c9af8 add yaml 2020-08-13 10:12:39 +08:00
openeuler-ci-bot
bed849251f !1 package init
Merge pull request !1 from 李振华/master
2020-07-08 10:35:02 +08:00
root
89abf9ef3f package init 2020-07-07 14:45:22 +08:00
4 changed files with 56 additions and 0 deletions

52
hunspell-pt.spec Normal file
View File

@ -0,0 +1,52 @@
Name: hunspell-pt
Summary: Hunspell dictionaries for Portuguese
Version: 0.20130125
Release: 13
Source0: http://natura.di.uminho.pt/download/sources/Dictionaries/hunspell/hunspell-pt_PT-20130125.tar.gz
Source1: http://downloads.sourceforge.net/project/openofficeorg.mirror/contrib/dictionaries/pt_BR.zip
URL: https://wiki.openoffice.org/wiki/Dictionaries
License: ((LGPLv3 or MPLv1.1) and LGPLv2) and (GPLv2 or LGPLv2 or MPLv1.1)
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-pt)
%description
Hunspell dictionaries for Portuguese.
%prep
%autosetup -n hunspell-pt_PT-20130125 -p1
unzip -q -o %{SOURCE1}
for i in README_pt_BR.txt README_pt_PT.txt; do
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
iconv -f ISO-8859-1 -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
%build
%install
for f in "pt_PT.dic" "pt_PT.aff" "pt_BR.dic" "pt_BR.aff"; do
install -Dp $f $RPM_BUILD_ROOT/%{_datadir}/myspell/$f
done
cd $RPM_BUILD_ROOT/%{_datadir}/myspell/
ln -s pt_PT.aff pt_AO.aff
ln -s pt_PT.dic pt_AO.dic
cd -
%files
%doc README_pt_BR.txt README_pt_PT.txt COPYING
%{_datadir}/myspell/*
%changelog
* Sun May 29 2022 lijian <lijian2@kylinos.cn> - 0.20130125-13
- License compliance rectification
* Thu Apr 23 2020 lizhenhua <lizhenhua21@huawei.com> - 0.20130125-12
- Package init

4
hunspell-pt.yaml Normal file
View File

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

Binary file not shown.

BIN
pt_BR.zip Normal file

Binary file not shown.