openoffice.org-dict-cs_CZ/openoffice.org-dict-cs_CZ.spec

61 lines
1.7 KiB
RPMSpec

Name: openoffice.org-dict-cs_CZ
Version: 20080822
Release: 12
Summary: Czech dictionary pack for LibreOffice
License: GPL+
URL: http://extensions.services.openoffice.org/en/project/dict-cs
Source0: https://people.freebsd.org/~sunpoet/distfiles/hunspell/dict-cs-2.0.oxt
Patch0000: cs_CZ.aff.patch
BuildRequires: dos2unix git
BuildArch: noarch
%description
This package is the Czech dictionarie pack for the LibreOffice which contains spellcheck,
hyphenation and thesaurus.
%package -n hunspell-cs
Summary: Czech dictionary for the hunspell spellchecker
Requires: hunspell
%description -n hunspell-cs
This package contains the Czech dictionary for the hunspell spellchecker.
%package -n hyphen-cs
Summary: Czech dictionary for the hyphenation rules
Requires: hyphen
%description -n hyphen-cs
The package contains the Czech dictionary for the hyphenation rules.
%prep
%autosetup -c -n openoffice.org-dict-cs_CZ -p4 -S git
dos2unix README_*.txt
%build
%install
install -d %{buildroot}%{_datadir}/myspell
install -m 644 cs* %{buildroot}%{_datadir}/myspell
install -d %{buildroot}%{_datadir}/hyphen
install -m 644 hyph*.dic %{buildroot}%{_datadir}/hyphen
%files -n hunspell-cs
%doc README_cs.txt README_en.txt
%{_datadir}/myspell/cs*
%files -n hyphen-cs
%doc README_cs.txt README_en.txt
%{_datadir}/hyphen/hyph_cs*
%changelog
* Web 09 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 20080822-12
- fixs faileds: git No such file or dirctory.
* Tue Sep 15 2020 shaoqiang kang <kangshaoqiang1@huawei.com> - 20080822-11
- Modify source
* Fri May 15 2020 leiju <leiju4@huawei.com> - 20080822-10
- package init