diff --git a/cy_GB.zip b/cy_GB.zip new file mode 100644 index 0000000..ba8c384 Binary files /dev/null and b/cy_GB.zip differ diff --git a/hunspell-cy.spec b/hunspell-cy.spec new file mode 100644 index 0000000..9ba7e00 --- /dev/null +++ b/hunspell-cy.spec @@ -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 - 0.20040425-20 +- Package init