--- /dev/null
+--- configure.in~ 2010-09-13 15:20:15.221134903 +0100
++++ configure.in 2010-09-13 15:24:59.651039243 +0100
+@@ -970,7 +970,7 @@
+ fi ])
+
+ dnl Look for wx-config in the path
+- AC_PATH_PROG(WX_CONFIG, wx-config, no, ${WXWIDGETS_PATH})
++ AC_PATH_PROG(WX_CONFIG, wx-gtk2-unicode-config, no, ${WXWIDGETS_PATH})
+ if test "${WX_CONFIG}" = "no"; then
+ AC_MSG_WARN([wxWidgets can't be found. You can try --with-wx-config-path to give the right path to wx-config. The wxWidgets terminal will not be compiled.])
+ enable_wxwidgets_ok=no
Summary(tr.UTF-8): Matematiksel görselleştirme paketi
Summary(uk.UTF-8): Програма для побудови графіків математичних виразів та даних
Name: gnuplot
-Version: 4.4.0
-Release: 0.1
+Version: 4.4.1
+Release: 1
License: distributable (with modifications properly marked if any)
Group: Applications/Math
-Source0: http://dl.sourceforge.net/gnuplot/%{name}-%{version}.tar.gz
-# Source0-md5: e708665bd512153ad5c35252fe499059
+Source0: http://downloads.sourceforge.net/gnuplot/%{name}-%{version}.tar.gz
+# Source0-md5: 296e2904363e508bd8cb7e8ea1d267e8
Source1: %{name}.desktop
Source2: %{name}.png
Patch0: %{name}-info.patch
Patch1: %{name}-info_install.patch
Patch2: %{name}-lua.patch
+Patch3: %{name}-wx-config.patch
URL: http://gnuplot.sourceforge.net/
BuildRequires: autoconf >= 2.59-9
BuildRequires: automake
BuildRequires: cairo-devel
BuildRequires: gd-devel
BuildRequires: glib2-devel
+BuildRequires: gtk+2-devel
BuildRequires: libpng-devel >= 1.0.8
BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: texlive
BuildRequires: texlive-format-pdflatex
BuildRequires: texlive-latex
+BuildRequires: wxGTK2-unicode-devel
#BuildRequires: xemacs-lisp-programming
BuildRequires: xorg-lib-libX11-devel
BuildRequires: zlib-devel
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p0
%build
%{__libtoolize}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
- appdefaultdir=%{_prefix}/share/X11/app-defaults
+ appdefaultdir=%{_datadir}/X11/app-defaults
mv $RPM_BUILD_ROOT%{_datadir}/texmf{,-dist}
%{_infodir}/gnuplot.info*
%{_desktopdir}/gnuplot.desktop
%{_pixmapsdir}/gnuplot.png
-%{_prefix}/share/X11/app-defaults/Gnuplot
+%{_datadir}/X11/app-defaults/Gnuplot
%files latex
%defattr(644,root,root,755)