- Convert man pages to UTF-8

This commit is contained in:
Miloslav Trmac 2004-11-20 18:51:35 +00:00
parent d6620b3695
commit 55552e4126

View File

@ -8,7 +8,7 @@ BuildRequires: patchutils >= 0.2.13
# Set this to '1' for fontconfig support.
%define use_fontconfig 0
Release: 33
Release: 34
License: GPL
URL: http://www.ghostscript.com/doc/gnu/
@ -83,6 +83,7 @@ Patch48: ghostscript-7.07-omni-glib2.patch
Patch49: ghostscript-bjc250gs.patch
Patch50: ghostscript-pagesize.patch
Patch51: ghostscript-7.07-fontconfig-rh.patch
Patch52: ghostscript-7.07-mixedman.patch
Requires: VFlib2, zlib, libpng, glib2
Requires: urw-fonts >= 1.1, ghostscript-fonts
@ -506,6 +507,16 @@ IJSDEVS='\$(DD)ijs.dev'
IJSEXECTYPE=unix
EOF
# Convert manual pages to UTF-8
from8859_1() {
iconv -f iso-8859-1 -t utf-8 < "$1" > "${1}_"
mv "${1}_" "$1"
}
from8859_1 man/gs-pcl3.1
from8859_1 man/pcl3opts.1
%patch52 -p1
for i in man/de/*.1; do from8859_1 "$i"; done
%build
# Build IJS
cd ijs
@ -600,6 +611,9 @@ rm -rf $RPM_BUILD_ROOT
%postun -p /sbin/ldconfig
%changelog
* Sat Nov 20 2004 Miloslav Trmac <mitr@redhat.com> - 7.07-34
- Convert man pages to UTF-8
* Wed Oct 20 2004 Tim Waugh <twaugh@redhat.com> 7.07-33
- Fix for bug #136322 (temporary files).