fix up
This commit is contained in:
parent
d81fef0a41
commit
113f088f26
@ -1,8 +1,8 @@
|
||||
Name: hunspell-pt
|
||||
Summary: Portuguese hunspell dictionaries
|
||||
%define upstreamid 20091013
|
||||
%define upstreamid 20100109
|
||||
Version: 0.%{upstreamid}
|
||||
Release: 2%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Source0: http://natura.di.uminho.pt/download/sources/Dictionaries/hunspell/hunspell-pt_PT-20091013.tar.gz
|
||||
Source1: http://www.broffice.org/files/pt_BR-2010-01-09AOC.zip
|
||||
Group: Applications/Text
|
||||
@ -19,7 +19,7 @@ Portuguese hunspell dictionaries.
|
||||
%prep
|
||||
%setup -q -n hunspell-pt_PT-20091013
|
||||
unzip -q -o %{SOURCE1}
|
||||
for i in README_pt_BR-OOO2x.TXT README_pt_PT.txt; do
|
||||
for i in README_pt_BR.TXT README_pt_PT.txt; do
|
||||
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
|
||||
iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
|
||||
touch -r $i $i.new
|
||||
@ -42,7 +42,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README_pt_BR-OOO2x.TXT README_pt_PT.txt COPYING
|
||||
%doc README_pt_BR.TXT README_pt_PT.txt COPYING
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%changelog
|
||||
|
||||
Loading…
Reference in New Issue
Block a user