From 346042fd5f5505adb349f05f1879fae4e308e97b Mon Sep 17 00:00:00 2001 From: Ondrej Vasik Date: Thu, 23 Oct 2008 08:51:08 +0000 Subject: [PATCH] convert doc files to UTF-8 - #226217 --- opensp.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/opensp.spec b/opensp.spec index 01941ac..1d0a134 100644 --- a/opensp.spec +++ b/opensp.spec @@ -1,7 +1,7 @@ Summary: SGML and XML parser Name: opensp Version: 1.5.2 -Release: 8%{?dist} +Release: 9%{?dist} Requires: sgml-common >= 0.5 URL: http://openjade.sourceforge.net/ Source: http://download.sourceforge.net/openjade/OpenSP-%{version}.tar.gz @@ -40,7 +40,12 @@ Header files and libtool library for developing applications that use OpenSP. --enable-default-catalog=%{_sysconfdir}/sgml/catalog \ --enable-default-search-path=%{_datadir}/sgml:%{_datadir}/xml make %{?_smp_mflags} - +# convert files to UTF-8 +iconv -f latin1 -t utf8 ChangeLog -o ChangeLog.tmp +mv -f ChangeLog.tmp ChangeLog +sed -i 's/charset=ISO-8859-1/charset=UTF-8/' docsrc/releasenotes.html +iconv -f latin1 -t utf8 docsrc/releasenotes.html -o docsrc/releasenotes.html.tmp +mv -f docsrc/releasenotes.html.tmp docsrc/releasenotes.html %install rm -rf $RPM_BUILD_ROOT @@ -99,6 +104,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Oct 23 2008 Ondrej Vasik 1.5.2-9 +- convert doc files to UTF-8 (#226217) + * Wed Oct 22 2008 Ondrej Vasik 1.5.2-8 - merge review by V.Skyttä (#226217), changed license to MIT, dropped .la, adjusted comments