Package init
This commit is contained in:
parent
7f7711d7d5
commit
5af593307d
BIN
hyph_fo_FO-20040420a.zip
Normal file
BIN
hyph_fo_FO-20040420a.zip
Normal file
Binary file not shown.
39
hyphen-fo.spec
Normal file
39
hyphen-fo.spec
Normal file
@ -0,0 +1,39 @@
|
||||
Name: hyphen-fo
|
||||
Version: 0.20040420
|
||||
Release: 15
|
||||
Summary: Faroese dictionary for spell checking
|
||||
License: GPL+
|
||||
URL: http://fo.speling.org/
|
||||
Source: http://fo.speling.org/filer/hyph_fo_FO-20040420a.zip
|
||||
|
||||
Requires: hyphen
|
||||
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 May 13 2020 leiju <leiju4@huawei.com> - 0.20040420-15
|
||||
- package init
|
||||
Loading…
x
Reference in New Issue
Block a user