tidy spec
This commit is contained in:
parent
4cd3f231b4
commit
a1d839acc4
@ -1,7 +1,7 @@
|
||||
Name: hunspell-fo
|
||||
Summary: Faroese hunspell dictionaries
|
||||
Version: 0.2.36
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Source: http://fo.speling.org/filer/myspell-fo-%{version}.tar.gz
|
||||
Group: Applications/Text
|
||||
URL: http://fo.speling.org/
|
||||
@ -19,10 +19,17 @@ Faroese hunspell dictionaries.
|
||||
|
||||
%build
|
||||
for i in Copyright contributors README; 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
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
@ -37,6 +44,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%changelog
|
||||
* Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.2.36-2
|
||||
- tidy spec
|
||||
|
||||
* Tue May 19 2009 Caolan McNamara <caolanm@redhat.com> - 0.2.36-1
|
||||
- latest version
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user