commit
73b577c43e
37
hunspell-cy.spec
Normal file
37
hunspell-cy.spec
Normal file
@ -0,0 +1,37 @@
|
||||
%global upstreamid 20040425
|
||||
Name: hunspell-cy
|
||||
Version: 0.%{upstreamid}
|
||||
Release: 20
|
||||
Summary: The dictionaries for Welsh hunspell
|
||||
License: GPL+
|
||||
URL: http://www.e-gymraeg.co.uk/
|
||||
Source: http://openoffice.cs.utah.edu/contrib/dictionaries/cy_GB.zip
|
||||
BuildArch: noarch
|
||||
Requires: hunspell
|
||||
Buildrequires: dos2unix
|
||||
Supplements: (hunspell and langpacks-cy)
|
||||
|
||||
%description
|
||||
The dictionaries for Welsh hunspell
|
||||
|
||||
%prep
|
||||
%autosetup -c -n hunspell-cy -p1
|
||||
|
||||
%build
|
||||
chmod -x *
|
||||
iconv -f ISO-8859-1 -t UTF-8 README_cy_GB.txt > README_cy_GB.txt.bak
|
||||
dos2unix README_cy_GB.txt.bak
|
||||
mv -f README_cy_GB.txt.bak README_cy_GB.txt
|
||||
|
||||
|
||||
%install
|
||||
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
|
||||
%files
|
||||
%doc README_cy_GB.txt
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 03 2020 yaokai <yaokai13@huawei.com> - 0.20040425-20
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user