47 lines
1.4 KiB
RPMSpec
47 lines
1.4 KiB
RPMSpec
Name: hyphen-fo
|
|
Version: 0.20040420
|
|
Release: 17
|
|
Summary: Faroese dictionary for spell checking
|
|
License: GPL+
|
|
URL: http://fo.speling.org/
|
|
Source: http://ftp.uni-kl.de/pub/linux/gentoo/distfiles/92/hyph_fo_FO-20040420a.zip
|
|
|
|
Requires: hyphen
|
|
BuildRequires: git
|
|
Supplements: (hyphen and langpacks-fo)
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Faroese dictionary for spell checking.
|
|
|
|
%prep
|
|
%autosetup -c -p1 -S git
|
|
|
|
%build
|
|
if ! iconv -f utf-8 -t utf-8 -o /dev/null README_hyph_fo_FO.txt > /dev/null 2>&1; then
|
|
iconv -f ISO-8859-1 -t UTF-8 README_hyph_fo_FO.txt > README_hyph_fo_FO.txt.new
|
|
touch -r README_hyph_fo_FO.txt README_hyph_fo_FO.txt.new
|
|
mv -f README_hyph_fo_FO.txt.new README_hyph_fo_FO.txt
|
|
fi
|
|
tr -d '\r' < README_hyph_fo_FO.txt > README_hyph_fo_FO.txt.new
|
|
touch -r README_hyph_fo_FO.txt README_hyph_fo_FO.txt.new
|
|
mv -f README_hyph_fo_FO.txt.new README_hyph_fo_FO.txt
|
|
|
|
|
|
%install
|
|
install -Dp hyph_fo_FO.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_fo_FO.dic
|
|
|
|
%files
|
|
%doc README_hyph_fo_FO.txt
|
|
%{_datadir}/hyphen/*
|
|
|
|
%changelog
|
|
* Wed Nov 16 2022 caodongxia <caodongxia@h-partners.com> - 0.20040420-17
|
|
- Modify invalid source0
|
|
|
|
* Wed Jun 02 2021 wulei <wulei80@huawei.com> - 0.20040420-16
|
|
- fixes failed: git no such file or directory
|
|
|
|
* Wed May 13 2020 leiju <leiju4@huawei.com> - 0.20040420-15
|
|
- package init
|