tidy spec
This commit is contained in:
parent
9851a7e5b3
commit
1be898f0cb
@ -2,7 +2,7 @@ Name: hunspell-de
|
||||
Summary: German hunspell dictionaries
|
||||
%define upstreamid 20090107
|
||||
Version: 0.%{upstreamid}
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Source: http://www.j3e.de/ispell/igerman98/dict/igerman98-%{upstreamid}.tar.bz2
|
||||
Group: Applications/Text
|
||||
URL: http://www.j3e.de/ispell/igerman98
|
||||
@ -27,8 +27,14 @@ make hunspell/de_AT.dic hunspell/de_AT.aff \
|
||||
hunspell/de_DE.dic hunspell/de_DE.aff
|
||||
cd hunspell
|
||||
for i in README_*.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
|
||||
tr -d '\r' <$i.new > $i
|
||||
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
|
||||
@ -59,6 +65,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%changelog
|
||||
* Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.20090107-3
|
||||
- tidy spec
|
||||
|
||||
* Thu Apr 23 2009 Caolan McNamara <caolanm@redhat.com> - 0.20090107-2
|
||||
- fix dictionaries
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user