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

55 lines
1.5 KiB
RPMSpec
Raw Normal View History

2020-06-20 14:25:15 +08:00
Name: openoffice.org-dict-cs_CZ
Version: 20080822
Release: 10
Summary: Czech dictionary pack for LibreOffice
License: GPL+
URL: http://extensions.services.openoffice.org/en/project/dict-cs
Source0: http://downloads.sourceforge.net/aoo-extensions/dict-cs-2.0.oxt
Patch0000: cs_CZ.aff.patch
BuildRequires: dos2unix
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
* Fri May 15 2020 leiju <leiju4@huawei.com> - 20080822-10
- package init