tidy spec
This commit is contained in:
parent
666b79ca08
commit
a9664ab140
@ -2,7 +2,7 @@ Name: hyphen-is
|
||||
Summary: Icelandic hyphenation rules
|
||||
%define upstreamid 20030920
|
||||
Version: 0.%{upstreamid}
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_is_IS.zip
|
||||
Group: Applications/Text
|
||||
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
|
||||
@ -20,8 +20,16 @@ Icelandic hyphenation rules.
|
||||
|
||||
%build
|
||||
chmod -x *
|
||||
iconv -f ISO-8859-1 -t UTF-8 README_hyph_is_IS.txt > README_hyph_is_IS.txt.new
|
||||
mv -f README_hyph_is_IS.txt.new README_hyph_is_IS.txt
|
||||
for i in README_hyph_is_IS.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
|
||||
mv -f $i.new $i
|
||||
fi
|
||||
tr -d '\r' < $i > $i.new
|
||||
touch -r $i $i.new
|
||||
mv -f $i.new $i
|
||||
done
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -37,6 +45,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/hyphen/*
|
||||
|
||||
%changelog
|
||||
* Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.20030920-3
|
||||
- tidy spec
|
||||
|
||||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20030920-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user