|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
Summary: Validating XML Parser
|
|
|
|
|
Name: xerces-c
|
|
|
|
|
Version: 3.0.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
License: ASL 2.0
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
URL: http://xml.apache.org/xerces-c/
|
|
|
|
@ -52,13 +52,15 @@ manipulating, and validating XML documents.
|
|
|
|
|
%{__perl} -pi.orig -e 's|(PREFIX.)/lib\b|$1/%{_lib}|g' ./configure ./Makefile.in
|
|
|
|
|
|
|
|
|
|
# make rpmlint happy
|
|
|
|
|
|
|
|
|
|
# changing the line ending from dos/win to unix.
|
|
|
|
|
sed -i 's/\r//' doc/charter.xml
|
|
|
|
|
# sed -i 's/\r//' doc/*.xml
|
|
|
|
|
|
|
|
|
|
# convert the documents to utf8
|
|
|
|
|
iconv -f iso8859-1 -t utf-8 credits.txt > credits.utf8 && mv -f credits.{utf8,txt}
|
|
|
|
|
iconv -f iso8859-1 -t utf-8 doc/feedback.xml > doc/feedback.utf8 && mv -f doc/feedback.{utf8,xml}
|
|
|
|
|
iconv -f iso8859-1 -t utf-8 doc/migration.xml > doc/migration.utf8 && mv -f doc/migration.{utf8,xml}
|
|
|
|
|
iconv -f iso8859-1 -t utf-8 doc/releases_archive.xml > doc/releases_archive.utf8 && mv -f doc/releases_archive.{utf8,xml}
|
|
|
|
|
# iconv -f iso8859-1 -t utf-8 credits.txt > credits.utf8 && mv -f credits.{utf8,txt}
|
|
|
|
|
# iconv -f iso8859-1 -t utf-8 doc/feedback.xml > doc/feedback.utf8 && mv -f doc/feedback.{utf8,xml}
|
|
|
|
|
# iconv -f iso8859-1 -t utf-8 doc/migration.xml > doc/migration.utf8 && mv -f doc/migration.{utf8,xml}
|
|
|
|
|
# iconv -f iso8859-1 -t utf-8 doc/releases_archive.xml > doc/releases_archive.utf8 && mv -f doc/releases_archive.{utf8,xml}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure
|
|
|
|
|