hunspell-csb/hunspell-csb.spec

39 lines
1.1 KiB
RPMSpec

Name: hunspell-csb
Version: 0.20050311
Release: 20
Summary: Kashubian hunspell dictionaries for hunspell used in OpenOffice
License: GPLv2+
URL: http://ftp.gnu.org/gnu/aspell/dict/csb
Source: http://ftp.gnu.org/gnu/aspell/dict/csb/aspell6-csb-0.02-0.tar.bz2
BuildRequires: aspell, hunspell-devel, git
Requires: hunspell
BuildArch: noarch
Supplements: (hunspell and langpacks-csb)
%description
Kashubian hunspell dictionaries for hunspell used in OpenOffice.
%prep
%autosetup -n aspell6-csb-0.02-0 -p1 -S git
%build
export LANG=csb_PL.utf8
preunzip csb.cwl
wordlist2hunspell csb.wl csb_PL
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
install -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%files
%doc COPYING Copyright README doc/Crawler.txt
%{_datadir}/myspell/*
%changelog
* Mon Jun 7 2021 baizhonggui <baizhonggui@huawei.com> - 0.20050311-20
- Fix building error: /usr/bin/git: No such file or directory
- Add git in BuildRequires
* Sun Apr 26 2020 Jeffery.Gao <gaojianxing@huawei.com> - 0.20050311-19
- Package init