rpms/iiimf-le-simplehangul/devel iiimf-le-simplehangul.spec, 1.1, 1.2

Warren Togami (wtogami) fedora-extras-commits at redhat.com
Sat Mar 19 07:05:37 UTC 2005


Author: wtogami

Update of /cvs/extras/rpms/iiimf-le-simplehangul/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2797

Modified Files:
	iiimf-le-simplehangul.spec 
Log Message:
Ugly lib64 hack from FC im-sdk



Index: iiimf-le-simplehangul.spec
===================================================================
RCS file: /cvs/extras/rpms/iiimf-le-simplehangul/devel/iiimf-le-simplehangul.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- iiimf-le-simplehangul.spec	18 Mar 2005 07:53:49 -0000	1.1
+++ iiimf-le-simplehangul.spec	19 Mar 2005 07:05:35 -0000	1.2
@@ -3,7 +3,7 @@
 Summary: Romanized Korean Hangul language engine for IIIMF
 Name: iiimf-le-simplehangul
 Version: 0.1.1
-Release: 2
+Release: 3.FC4
 License: GPL
 Source: %{name}-%{version}.tar.bz2
 URL: http://www3.sympatico.ca/d.moser/hangul.html
@@ -25,6 +25,12 @@
 %setup -q -n %{name}-%{version}
 
 %build
+# /usr/lib or /usr/lib64 substitution
+# TODO: This could be done in a cleaner way...
+if [ %{im_dir} != "/usr/lib/im" ]; then
+  find . -type f | xargs grep -l "/usr/lib/im" | \
+        xargs perl -pi -e "s|/usr/lib/im|%{im_dir}|g;"
+fi
 ./configure --prefix=%{im_dir}
 make  
 
@@ -54,6 +60,9 @@
 %{im_dir}/*
 
 %changelog
+* Fri Mar 18 2005 Warren Togami <wtogami at redhat.com> 0.1.1-3
+- Ugly lib64 hack from FC im-sdk
+
 * Thu Mar 17 2005 Warren Togami <wtogami at redhat.com> 0.1.1-2
 - minor spec changes
 - copy preun and postun scripts from iiimf-le-chinput




More information about the fedora-extras-commits mailing list