]> git.pld-linux.org Git - packages/wxWidgets.git/blobdiff - wxWidgets.spec
- rel 3
[packages/wxWidgets.git] / wxWidgets.spec
index 286adf641e96b649c2fad69a4af8a90c87164bcc..2eb1c54113855a7d0d698bd0393f35aaaf0dd949 100644 (file)
 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
@@ -29,14 +28,11 @@ BuildRequires:      autoconf >= 2.59-9
 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
@@ -44,6 +40,7 @@ BuildRequires:        libtiff-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
@@ -467,11 +464,11 @@ obsługą UNICODE.
 %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:
@@ -484,7 +481,7 @@ cp -f /usr/share/automake/config.sub .
 %{__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} \
This page took 0.035171 seconds and 4 git commands to generate.