[mygui] Fixes for MYGUI.pc file. Bug #693352

Bruno Wolff III bruno at fedoraproject.org
Tue May 3 05:32:19 UTC 2011


commit c98052242b214aedfa55aae62453552c7a509894
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Tue May 3 00:31:22 2011 -0500

    Fixes for MYGUI.pc file. Bug #693352

 mygui-pc-fixes.patch |   12 ++++++++++++
 mygui.spec           |    8 +++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/mygui-pc-fixes.patch b/mygui-pc-fixes.patch
new file mode 100644
index 0000000..3572d62
--- /dev/null
+++ b/mygui-pc-fixes.patch
@@ -0,0 +1,12 @@
+diff -Nur MyGUI3.0.orig/CMake/Templates/MYGUI.pc.in MyGUI3.0/CMake/Templates/MYGUI.pc.in
+--- MyGUI3.0.orig/CMake/Templates/MYGUI.pc.in	2011-05-02 16:54:18.429693639 -0600
++++ MyGUI3.0/CMake/Templates/MYGUI.pc.in	2011-05-02 16:56:38.701732685 -0600
+@@ -7,6 +7,5 @@
+ Description: Fast, flexible and simple GUI
+ Version: @MYGUI_VERSION@
+ URL: http://www.my-gui.sourceforge.net
+-Libs: -L${libdir} -L${libdir}/MYGUI -lMyGUIEngine at MYGUI_LIB_SUFFIX@ -lMyGUI.Ogr
+-ePlatform @MYGUI_ADDITIONAL_LIBS@
+-Cflags: -I${includedir} -I${includedir}/MyGUI @MYGUI_CFLAGS@
++Libs: -L${libdir} -L${libdir}/MYGUI -lMyGUIEngine at MYGUI_LIB_SUFFIX@ -lMyGUI.OgrePlatform @MYGUI_ADDITIONAL_LIBS@
++Cflags: -I${includedir} -I${includedir}/MYGUI @MYGUI_CFLAGS@
diff --git a/mygui.spec b/mygui.spec
index 7df1afe..711a841 100644
--- a/mygui.spec
+++ b/mygui.spec
@@ -1,6 +1,6 @@
 Name:           mygui
 Version:        3.0.1
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Fast, simple and flexible GUI library for Ogre
 Group:          Development/Libraries
 # UnitTests include agg-2.4, which is under a BSD variant (not built or installed here)
@@ -23,6 +23,8 @@ Patch1:         mygui_missing_headers.patch
 Patch2:         mygui-ogrethreadlibs.patch
 # Get find poco from ogre
 Patch3:         mygui-add-findpoco.patch
+# Fix pc file issues. 
+Patch4:		mygui-pc-fixes.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  automake, autoconf, libtool, freetype-devel, desktop-file-utils
@@ -92,6 +94,7 @@ An helper script MyGUI-Tools is provided and installed in %{_bindir}.
 %patch1 -p0
 %patch2 -p0
 %patch3 -p0
+%patch4 -p1
 # Fix eol 
 sed -i 's/\r//' COPYING.LESSER
 # Fix non-UTF8 files
@@ -252,6 +255,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon May 02 2011 Kevin Fenzi <kevin at scrye.com> - 3.0.1-7
+- Fix pc file issues. Fixes bug #693352
+
 * Wed Apr 06 2011 Bruno Wolff III <bruno at wolff.to> - 3.0.1-6
 - Rebuild for boost soname bump to 1.46.1 in rawhide.
 


More information about the scm-commits mailing list