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
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
%prep
%setup -q
%patch0 -p0
+%patch1 -p1
%build
%{__gettextize}
%{__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