Summary: wxWidgets library
Summary(pl.UTF-8): Biblioteka wxWidgets
Name: wxWidgets
-Version: 2.8.7
-Release: 1
-License: wxWidgets Licence (LGPL v2+ with exception)
+Version: 2.8.11
+Release: 3
+License: wxWindows Library Licence 3.1 (LGPL v2+ with exception)
Group: X11/Libraries
Source0: http://ftp.wxwidgets.org/pub/%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5: e3455083afdf6404a569a8bf0701cf13
+# Source0-md5: 303a2d5aeb6c79460c8088193d799147
Patch0: %{name}-samples.patch
Patch1: %{name}-ogl.patch
Patch2: %{name}-ac.patch
-Patch3: %{name}-gif0delay.patch
-Patch4: %{name}-x11unicode.patch
-Patch5: %{name}-gcc4.patch
+Patch3: %{name}-x11unicode.patch
+Patch4: %{name}-gcc4.patch
URL: http://www.wxWidgets.org/
BuildRequires: OpenGL-GLU-devel
#BuildRequires: SDL-devel
BuildRequires: automake
#BuildRequires: bakefile >= 0.2.1
BuildRequires: cppunit-devel
-BuildRequires: esound-devel
BuildRequires: expat-devel
-BuildRequires: flex
BuildRequires: gettext-devel
BuildRequires: gtk+2-devel >= 2.0.0
%{?with_gnomeprint:BuildRequires: libgnomeprintui-devel >= 2.8.0}
BuildRequires: libjpeg-devel
-BuildRequires: libmng-devel
BuildRequires: libmspack-devel
BuildRequires: libpng-devel
BuildRequires: libstdc++-devel
BuildRequires: libtool
BuildRequires: pkgconfig
%{?with_x11:BuildRequires: xorg-lib-libXext-devel}
+%{?with_x11:BuildRequires: xorg-lib-libXt-devel}
# these are not supported by wxWidgets
Obsoletes: LDAPExplorerTool <= 0.6-1
Obsoletes: abridge <= 0.4.0-1
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
+# is this still needed?
+#%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
-%patch5 -p1
%build
# if bakefiles rebuild is needed:
%{__aclocal} -I build/aclocal
%{__autoconf}
-CPPFLAGS="%{rpmcflags} -I`pwd`/include"; export CPPFLAGS
+CPPFLAGS="%{rpmcppflags} %{rpmcflags} -fPIC -I`pwd`/include"; export CPPFLAGS
# avoid adding -s to LDFLAGS
LDFLAGS=" "; export LDFLAGS
args="%{?with_debug:--enable-debug}%{!?with_debug:--disable-debug} \