tidy spec

This commit is contained in:
Caolan McNamara 2009-07-11 13:00:56 +00:00
parent 086958f36c
commit cc2a108ee4

View File

@ -2,7 +2,7 @@ Name: hunspell-fur
Summary: Friulian hunspell dictionaries
%define upstreamid 20050912
Version: 0.%{upstreamid}
Release: 2%{?dist}
Release: 3%{?dist}
Source: http://digilander.libero.it/paganf/coretors/myspell-fur-12092005.zip
Group: Applications/Text
URL: http://digilander.libero.it/paganf/coretors/dizionaris.html
@ -21,8 +21,14 @@ Friulian hunspell dictionaries.
%build
chmod -x *
for i in COPYING.txt LICENCE.txt LEIMI.txt; do
tr -d '\r' < $i > $i.new
iconv -f ISO-8859-15 -t UTF-8 $i.new > $i
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
iconv -f ISO-8859-15 -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
@ -39,6 +45,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/myspell/*
%changelog
* Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.20050912-3
- tidy spec
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050912-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild