- Resolves: 227260 fix iso-8859 (koi8-r) man pages

This commit is contained in:
Ivana Varekova 2007-02-13 13:32:57 +00:00
parent d7fdae7b8a
commit 84f1283119

View File

@ -1,7 +1,7 @@
Summary: Man (manual) pages from the Linux Documentation Project
Name: man-pages
Version: 2.43
Release: 4%{?dist}
Release: 5%{?dist}
License: distributable
Group: Documentation
URL: http://www.kernel.org/pub/linux/docs/manpages/
@ -162,11 +162,43 @@ find . -name "*sudo*" -exec rm {} \;
for l1 in man[1-9]*/*
do mkdir -p $(dirname en/$l1)
LANG=en iconv -f latin1 -t utf-8 -o en/$l1 $l1
rm -f $l1
LANG=en iconv -f latin1 -t ascii//translit -o $l1 en/$l1
if [ "$l1" != man7/iso_8859-1.7 ] &&
[ "$l1" != man7/iso_8859-2.7 ] &&
[ "$l1" != man7/iso_8859-7.7 ] &&
[ "$l1" != man7/iso_8859-9.7 ] &&
[ "$l1" != man7/iso_8859-15.7 ] &&
[ "$l1" != man7/iso_8859-16.7 ] &&
[ "$l1" != man7/koi8-r.7 ]; then
LANG=en iconv -f latin1 -t utf-8 -o en/$l1 $l1
rm -f $l1
LANG=en iconv -f latin1 -t ascii//translit -o $l1 en/$l1
else
if [ "$l1" == man7/iso_8859-1.7 ]; then
LANG=en iconv -f iso_8859-1 -t utf-8 -o en/$l1 $l1
fi;
if [ "$l1" == man7/iso_8859-2.7 ]; then
LANG=en iconv -f iso_8859-2 -t utf-8 -o en/$l1 $l1
fi;
if [ "$l1" == man7/iso_8859-7.7 ]; then
LANG=en iconv -f iso_8859-7 -t utf-8 -o en/$l1 $l1
fi;
if [ "$l1" == man7/iso_8859-9.7 ]; then
LANG=en iconv -f iso_8859-9 -t utf-8 -o en/$l1 $l1
fi;
if [ "$l1" == man7/iso_8859-15.7 ]; then
LANG=en iconv -f iso_8859-15 -t utf-8 -o en/$l1 $l1
fi;
if [ "$l1" == man7/iso_8859-16.7 ]; then
LANG=en iconv -f iso_8859-16 -t utf-8 -o en/$l1 $l1
fi;
if [ "$l1" == man7/koi8-r.7 ]; then
LANG=en iconv -f koi8-r -t utf-8 -o en/$l1 $l1
fi;
cp en/$l1 $l1
fi
done
%install
rm -rf $RPM_BUILD_ROOT
@ -193,6 +225,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/en/man*
%changelog
* Tue Feb 13 2007 Ivana Varekova <varekova@redhat.com> 2.43-5
- Resolves: 227260
fix iso-8859 (koi8-r) man pages
* Mon Jan 29 2007 Ivana Varekova <varekova@redhat.com> 2.43-4
- fix rt_sigprocmask.2 (#219074)
- remove pciconfig_{read,write,iobase}.2 (#219827)