[freetype/f19] Change encoding of "docs/tutorial/example3.cpp" to UTF-8
mkasik
mkasik at fedoraproject.org
Thu May 16 14:22:53 UTC 2013
commit bd05ad14cde51f94e02b552f22c196330fb92122
Author: Marek Kasik <mkasik at redhat.com>
Date: Thu May 16 16:10:16 2013 +0200
Change encoding of "docs/tutorial/example3.cpp" to UTF-8
freetype.spec | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/freetype.spec b/freetype.spec
index ce4f709..d18dae1 100644
--- a/freetype.spec
+++ b/freetype.spec
@@ -7,7 +7,7 @@
Summary: A free and portable font rendering engine
Name: freetype
Version: 2.4.11
-Release: 4%{?dist}
+Release: 5%{?dist}
License: (FTL or GPLv2+) and BSD and MIT and Public Domain and zlib with acknowledgement
Group: System Environment/Libraries
URL: http://www.freetype.org
@@ -104,11 +104,15 @@ make TOP_DIR=".."
popd
%endif
-# Convert FTL.txt to UTF-8
+# Convert FTL.txt and example3.cpp to UTF-8
pushd docs
iconv -f latin1 -t utf-8 < FTL.TXT > FTL.TXT.tmp && \
touch -r FTL.TXT FTL.TXT.tmp && \
mv FTL.TXT.tmp FTL.TXT
+
+iconv -f iso-8859-1 -t utf-8 < "tutorial/example3.cpp" > "tutorial/example3.cpp.utf8"
+touch -r tutorial/example3.cpp tutorial/example3.cpp.utf8 && \
+mv tutorial/example3.cpp.utf8 tutorial/example3.cpp
popd
@@ -206,6 +210,9 @@ rm -rf $RPM_BUILD_ROOT
%doc docs/tutorial
%changelog
+* Thu May 16 2013 Marek Kasik <mkasik at redhat.com> - 2.4.11-5
+- Change encoding of "docs/tutorial/example3.cpp" to UTF-8
+
* Thu May 16 2013 Marek Kasik <mkasik at redhat.com> - 2.4.11-4
- Package ftconfig.h as source file
More information about the fonts-bugs
mailing list