tidy spec
This commit is contained in:
parent
33264d95d3
commit
aa69d5d21c
@ -2,7 +2,7 @@ Name: hunspell-la
|
||||
Summary: Latin hunspell dictionaries
|
||||
%define upstreamid 20080903
|
||||
Version: 0.%{upstreamid}
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Group: Applications/Text
|
||||
Source: http://extensions.services.openoffice.org/files/1141/0/dict-la_2008-09-03.oxt
|
||||
URL: http://extensions.services.openoffice.org/project/dict-la
|
||||
@ -20,10 +20,16 @@ Latin hunspell dictionaries.
|
||||
%setup -q -c -n hunspell-la
|
||||
|
||||
%build
|
||||
tr -d '\r' < README_extension_owner-la.txt > README_extension_owner-la.txt.new
|
||||
mv -f README_extension_owner-la.txt.new README_extension_owner-la.txt
|
||||
tr -d '\r' < la/README-la-2008-09-03.txt > la/README-la-2008-09-03.txt.new
|
||||
iconv -f ISO-8859-1 -t UTF-8 la/README-la-2008-09-03.txt.new > la/README-la-2008-09-03.txt
|
||||
for i in README_extension_owner-la.txt la/README-la-2008-09-03.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
|
||||
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
|
||||
@ -40,6 +46,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%changelog
|
||||
* Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.20080903-3
|
||||
- tidy spec
|
||||
|
||||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20080903-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user