diff --git a/hunspell-pl.spec b/hunspell-pl.spec new file mode 100644 index 0000000..31ab987 --- /dev/null +++ b/hunspell-pl.spec @@ -0,0 +1,33 @@ +Name: hunspell-pl +Summary: Hunspell dictionaries for Polish +Version: 0.20200327 +Release: 3 +Source: http://sjp.pl/slownik/ort/sjp-myspell-pl-20200327.zip +URL: https://sjp.pl/slownik/ort/ +License: LGPLv2+ or GPL+ or MPLv1.1 or ASL 2.0 or CC-BY-SA +BuildArch: noarch + +Requires: hunspell +Supplements: (hunspell and langpacks-pl) + +%description +Hunspell dictionaries for Polish. + +%prep +%autosetup -c hunspell-pl -p1 + +%build +unzip pl_PL.zip + +%install +install -d $RPM_BUILD_ROOT/%{_datadir}/myspell +cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell + + +%files +%doc README_pl_PL.txt +%{_datadir}/myspell/* + +%changelog +* Thu Apr 14 2020 lizhenhua - 0.20200327-3 +- Package init diff --git a/sjp-myspell-pl-20200327.zip b/sjp-myspell-pl-20200327.zip new file mode 100644 index 0000000..5da4f16 Binary files /dev/null and b/sjp-myspell-pl-20200327.zip differ