+#
+# TODO:
+# - use shared GtkScintilla2 lib
+#
Summary: A PHP source editor for GNOME 2
-Summary(pl): Edytor kodu php dla GNOME 2
+Summary(pl): Edytor kodu PHP dla GNOME 2
Name: gphpedit
-Version: 0.9.10
-Release: 2
-License: GPL
+Version: 0.9.80
+Release: 1
+License: GPL v2+
Group: X11/Applications
Source0: http://www.gphpedit.org/download/files/%{name}-%{version}.tar.gz
-# Source0-md5: e8cbbf76284583ffbd34b570e4d707b1
+# Source0-md5: f05e6354ea64c73dd7bfe020ae15ac71
Patch0: %{name}-desktop.patch
URL: http://www.gphpedit.org/
-BuildRequires: GtkScintilla2-devel
+BuildRequires: automake
+BuildRequires: intltool
BuildRequires: libgnomeui-devel >= 2.0
BuildRequires: libgtkhtml-devel >= 2.0
+BuildRequires: libstdc++-devel
BuildRequires: pkgconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%patch0 -p1
%build
+cp /usr/share/automake/config.sub .
%configure
-
%{__make}
%install