convert doc files to UTF-8 - #226217

This commit is contained in:
Ondrej Vasik 2008-10-23 08:51:08 +00:00
parent 93fbf234c2
commit 346042fd5f

View File

@ -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 <ovasik@redhat.com> 1.5.2-9
- convert doc files to UTF-8 (#226217)
* Wed Oct 22 2008 Ondrej Vasik <ovasik@redhat.com> 1.5.2-8
- merge review by V.Skyttä (#226217), changed license to
MIT, dropped .la, adjusted comments