tidy spec
This commit is contained in:
parent
b17019789a
commit
3dcdd52160
@ -1,7 +1,7 @@
|
|||||||
Name: hunspell-gd
|
Name: hunspell-gd
|
||||||
Summary: Scots Gaelic hunspell dictionaries
|
Summary: Scots Gaelic hunspell dictionaries
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 0.1.rc.1%{?dist}
|
Release: 0.2.rc.1%{?dist}
|
||||||
Source: http://www.sealgar.co.uk/gd_GB.oxt
|
Source: http://www.sealgar.co.uk/gd_GB.oxt
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
URL: http://www.sealgar.co.uk/spell.jsp
|
URL: http://www.sealgar.co.uk/spell.jsp
|
||||||
@ -18,9 +18,16 @@ Scots Gaelic hunspell dictionaries.
|
|||||||
%setup -q -c hunspell-gd-%{version}
|
%setup -q -c hunspell-gd-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
iconv -f ISO8859-1 -t UTF-8 README_gd_GB.txt > README_gd_GB.txt.new
|
for i in README_gd_GB.txt; do
|
||||||
touch -r README_gd_GB.txt README_gd_GB.txt.new
|
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
|
||||||
mv -f README_gd_GB.txt.new README_gd_GB.txt
|
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
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -36,6 +43,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/myspell/*
|
%{_datadir}/myspell/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 1.0.0-0.2.rc.1
|
||||||
|
- tidy spec
|
||||||
|
|
||||||
* Mon Jun 15 2009 Caolan McNamara <caolanm@redhat.com> - 1.0.0-0.1.rc.1
|
* Mon Jun 15 2009 Caolan McNamara <caolanm@redhat.com> - 1.0.0-0.1.rc.1
|
||||||
- latest version
|
- latest version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user