rpms/wxGTK/devel wx-config,NONE,1.1 wxGTK.spec,1.52,1.53
Dan Horák
sharkcz at fedoraproject.org
Fri Nov 20 12:45:25 UTC 2009
- Previous message (by thread): rpms/phpldapadmin/F-12 .cvsignore, 1.11, 1.12 phpldapadmin.spec, 1.20, 1.21 sources, 1.12, 1.13
- Next message (by thread): rpms/phpldapadmin/devel phpldapadmin.spec, 1.20, 1.21 sources, 1.12, 1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: sharkcz
Update of /cvs/pkgs/rpms/wxGTK/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6656
Modified Files:
wxGTK.spec
Added Files:
wx-config
Log Message:
* Fri Nov 20 2009 Dan Horák <dan[at]danny.cz> - 2.8.10-8
- added multilib-aware wrapper for wx-config
--- NEW FILE wx-config ---
#! /bin/sh
#
# Multilib-aware wrapper for the wx-config script
#
# Usage: wx-config [arch]
#
if [ $# -eq 1 ]; then
arch=$1
elif [ $# -eq 0 ]; then
arch=`uname -m`
else
echo "Usage: $0 [arch]"
exit 1
fi
case $arch in
i?86|ppc|s390|sparc|arm*|ia64)
libdir=/usr/lib
;;
x86_64|ppc64|s390x|sparc64)
libdir=/usr/lib64
;;
*)
echo "Unsupported architecture '$arch'"
exit 2
;;
esac
wxconfig=$libdir/wx/config/gtk2-unicode-release-2.8
if [ -x $wxconfig ]; then
exec $wxconfig
else
echo "wxGTK-devel isn't installed for architecture '$arch'"
exit 3
fi
Index: wxGTK.spec
===================================================================
RCS file: /cvs/pkgs/rpms/wxGTK/devel/wxGTK.spec,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -p -r1.52 -r1.53
--- wxGTK.spec 10 Nov 2009 13:00:00 -0000 1.52
+++ wxGTK.spec 20 Nov 2009 12:45:25 -0000 1.53
@@ -1,11 +1,12 @@
Name: wxGTK
Version: 2.8.10
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: GTK2 port of the wxWidgets GUI library
License: wxWidgets
Group: System Environment/Libraries
URL: http://www.wxwidgets.org/
Source0: http://dl.sf.net/wxwindows/%{name}-%{version}.tar.bz2
+Source1: wx-config
# http://trac.wxwidgets.org/ticket/10883
Patch0: %{name}-2.8.10-gsocket.patch
@@ -154,10 +155,9 @@ rm -rf $RPM_BUILD_ROOT
%makeinstall -C contrib/src/svg
-# this ends up being a symlink into the buildroot directly --
-# not what we want!
+# install our multilib-aware wrapper
rm $RPM_BUILD_ROOT%{_bindir}/wx-config
-ln -s %{_libdir}/wx/config/gtk2-unicode-release-2.8 $RPM_BUILD_ROOT%{_bindir}/wx-config
+install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/wx-config
# we don't support bakefiles
rm -rf $RPM_BUILD_ROOT%{_datadir}/bakefile
@@ -231,6 +231,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Fri Nov 20 2009 Dan Horák <dan[at]danny.cz> - 2.8.10-8
+- added multilib-aware wrapper for wx-config
+
* Tue Nov 10 2009 Dan Horák <dan[at]danny.cz> - 2.8.10-7
- added fix for html tables rendering (#534030)
- removed the long time disabled odbc subpackage
- Previous message (by thread): rpms/phpldapadmin/F-12 .cvsignore, 1.11, 1.12 phpldapadmin.spec, 1.20, 1.21 sources, 1.12, 1.13
- Next message (by thread): rpms/phpldapadmin/devel phpldapadmin.spec, 1.20, 1.21 sources, 1.12, 1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list