tidy spec
This commit is contained in:
parent
561ddc31a4
commit
5e14d62e6b
@ -2,7 +2,7 @@ Name: hunspell-az
|
|||||||
Summary: Azerbaijani hunspell dictionaries
|
Summary: Azerbaijani hunspell dictionaries
|
||||||
%define upstreamid 20040827
|
%define upstreamid 20040827
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
Source: ftp://ftp.gnu.org/gnu/aspell/dict/az/aspell6-az-0.02-0.tar.bz2
|
Source: ftp://ftp.gnu.org/gnu/aspell/dict/az/aspell6-az-0.02-0.tar.bz2
|
||||||
URL: http://borel.slu.edu/crubadan/apps.html
|
URL: http://borel.slu.edu/crubadan/apps.html
|
||||||
@ -23,10 +23,16 @@ Azerbaijani hunspell dictionaries.
|
|||||||
export LANG=az_AZ.utf8
|
export LANG=az_AZ.utf8
|
||||||
preunzip az.cwl
|
preunzip az.cwl
|
||||||
wordlist2hunspell az.wl az_AZ
|
wordlist2hunspell az.wl az_AZ
|
||||||
iconv -f ISO-8859-1 -t UTF-8 Copyright > Copyright.new
|
for i in Copyright doc/Crawler.txt; do
|
||||||
mv -f Copyright.new Copyright
|
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 doc/Crawler.txt > doc/Crawler.txt.new
|
iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
|
||||||
mv -f doc/Crawler.txt.new doc/Crawler.txt
|
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
|
||||||
@ -42,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/myspell/*
|
%{_datadir}/myspell/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.20040827-3
|
||||||
|
- tidy spec
|
||||||
|
|
||||||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040827-2
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040827-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user