tidy spec

This commit is contained in:
Caolan McNamara 2009-07-11 15:18:57 +00:00
parent 6853cf3c82
commit 9f939fe6d5

View File

@ -1,7 +1,7 @@
Name: hunspell-no
Summary: Norwegian hunspell dictionaries
Version: 2.0.10
Release: 3%{?dist}
Release: 4%{?dist}
Source: http://alioth.debian.org/frs/download.php/2357/no_NO-pack2-%{version}.zip
Group: Applications/Text
URL: http://spell-norwegian.alioth.debian.org
@ -70,8 +70,14 @@ unzip -q th_nb_NO_v2.zip
unzip -q th_nn_NO_v2.zip
for i in README_nb_NO.txt README_nn_NO.txt README_hyph_nb_NO.txt \
README_hyph_nn_NO.txt README_th_nb_NO_v2.txt README_th_nn_NO_v2.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
@ -119,6 +125,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/mythes/th_nn_NO_v2.*
%changelog
* Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 2.0.10-4
- tidy spec
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild