From c09658415de281bbced19cef70b4abfd5ebaa854 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Sun, 22 May 2005 12:27:21 +0000 Subject: [PATCH] - doesn't build with new wx yet Changed files: LDAPExplorerTool.spec -> 1.9 --- LDAPExplorerTool.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/LDAPExplorerTool.spec b/LDAPExplorerTool.spec index c0e7263..443e607 100644 --- a/LDAPExplorerTool.spec +++ b/LDAPExplorerTool.spec @@ -2,12 +2,13 @@ Summary: A free multi-platform LDAP client Summary(pl): Wolny wieloplatformowy klient LDAP Name: LDAPExplorerTool Version: 0.6 -Release: 2 +Release: 2.1 License: BSD Group: Networking/Utilities Source0: http://dl.sourceforge.net/ldaptool/%{name}-%{version}.tar.gz # Source0-md5: 7c0fe6244887b8797f69d1e396b6a7b4 Patch0: %{name}-xrc.patch +Patch1: %{name}-wx.patch URL: http://ldaptool.sf.net/ BuildRequires: autoconf BuildRequires: automake @@ -15,7 +16,7 @@ BuildRequires: gettext-devel BuildRequires: gtk+-devel >= 1.2.7 BuildRequires: libtool BuildRequires: openldap-devel -BuildRequires: wxGTK2-devel +BuildRequires: wxGTK2-devel >= 2.6.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -36,6 +37,7 @@ platformach jak Windows, Linux, Solaris, Mac OS X... %prep %setup -q %patch0 -p0 +%patch1 -p1 %build %{__gettextize} @@ -43,8 +45,9 @@ platformach jak Windows, Linux, Solaris, Mac OS X... %{__aclocal} %{__autoconf} %{__automake} +CPPFLAGS="$(/usr/bin/wx-gtk2-ansi-config --cppflags)"; export CPPFLAGS %configure \ - --with-wx-config=/usr/bin/wxgtk2-2.4-config + --with-wx-config=/usr/bin/wx-gtk2-ansi-config %{__make} %install -- 2.44.0