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