tidy spec

This commit is contained in:
Caolan McNamara 2009-07-11 10:51:58 +00:00
parent 8458b401f7
commit 393250d414

View File

@ -2,7 +2,7 @@ Name: hunspell-gv
Summary: Manx hunspell dictionaries
%define upstreamid 20040505
Version: 0.%{upstreamid}
Release: 2%{?dist}
Release: 3%{?dist}
Group: Applications/Text
Source: http://ftp.gnu.org/gnu/aspell/dict/gv/aspell-gv-0.50-0.tar.bz2
URL: http://borel.slu.edu/crubadan/apps.html
@ -25,8 +25,14 @@ preunzip -d *.cwl
cat *.wl > manx.wordlist
wordlist2hunspell manx.wordlist gv_GB
for i in Copyright doc/Crawler.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
@ -43,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/myspell/*
%changelog
* Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.20040505-3
- tidy spec
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040505-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild