rhbz#443297 recode .aff and .dic into UTF-8
This commit is contained in:
parent
aec9fbaffd
commit
a51c0f569a
@ -1,7 +1,7 @@
|
||||
Name: hunspell-bg
|
||||
Summary: Bulgarian hunspell dictionaries
|
||||
Version: 4.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Source: http://downloads.sourceforge.net/bgoffice/OOo-spell-bg-%{version}.zip
|
||||
Group: Applications/Text
|
||||
URL: http://bgoffice.sourceforge.net/
|
||||
@ -22,6 +22,11 @@ tr -d '\r' < README > README.new
|
||||
iconv -f ISO-8859-2 -t UTF-8 README.new > README
|
||||
tr -d '\r' < COPYING > COPYING.new
|
||||
mv COPYING.new COPYING
|
||||
iconv -f WINDOWS-1251 -t UTF-8 bg_BG.dic > bg_BG.dic.new
|
||||
mv -f bg_BG.dic.new bg_BG.dic
|
||||
echo "SET UTF-8" > bg_BG.aff.new
|
||||
tail -n +2 bg_BG.aff | iconv -f WINDOWS-1251 -t UTF-8 | tr -d '\r' >> bg_BG.aff.new
|
||||
mv bg_BG.aff.new bg_BG.aff
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -37,6 +42,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%changelog
|
||||
* Mon Apr 21 2008 Caolan McNamara <caolanm@redhat.com> - 4.1-2
|
||||
- rhbz#443297 recode .aff and .dic into UTF-8
|
||||
|
||||
* Tue Dec 18 2007 Caolan McNamara <caolanm@redhat.com> - 4.1-1
|
||||
- latest version
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user