- Convert man pages to UTF-8

This commit is contained in:
Miloslav Trmac 2004-11-20 20:49:21 +00:00
parent ab043a351e
commit 7b6ce0396b

View File

@ -1,7 +1,7 @@
Summary: Scanner access software. Summary: Scanner access software.
Name: sane-backends Name: sane-backends
Version: 1.0.15 Version: 1.0.15
Release: 2 Release: 3
License: GPL (programs), relaxed LGPL (libraries), and public domain (docs) License: GPL (programs), relaxed LGPL (libraries), and public domain (docs)
Group: System Environment/Libraries Group: System Environment/Libraries
Source0: ftp://ftp.sane-project.org/pub/sane/%{name}-%{version}/%{name}-%{version}.tar.gz Source0: ftp://ftp.sane-project.org/pub/sane/%{name}-%{version}/%{name}-%{version}.tar.gz
@ -68,6 +68,11 @@ included in the sane-backends package.
# Fix bug #62847. # Fix bug #62847.
perl -pi -e 's,/dev/usbscanner0?,/dev/usb/scanner0,' backend/*.conf perl -pi -e 's,/dev/usbscanner0?,/dev/usb/scanner0,' backend/*.conf
for i in agfafocus avision coolscan2 umax_pp; do
iconv -f iso-8859-1 -t utf-8 < "doc/sane-$i.man" > "doc/sane-$i.man_"
mv "doc/sane-$i.man_" "doc/sane-$i.man"
done
# We patched configure.in, so regenerate configure. # We patched configure.in, so regenerate configure.
sed '/^# libtool\.m4/,$d' < acinclude.m4 > acinclude.m4.new sed '/^# libtool\.m4/,$d' < acinclude.m4 > acinclude.m4.new
mv -f acinclude.m4{.new,} mv -f acinclude.m4{.new,}
@ -133,6 +138,9 @@ rm -rf %{buildroot}
%{_libdir}/sane/*.so %{_libdir}/sane/*.so
%changelog %changelog
* Sat Nov 20 2004 Miloslav Trmac <mitr@redhat.com> - 1.0.15-3
- Convert man pages to UTF-8
* Tue Nov 16 2004 Tim Waugh <twaugh@redhat.com> * Tue Nov 16 2004 Tim Waugh <twaugh@redhat.com>
- Require hotplug's remover to work. - Require hotplug's remover to work.