Summary(zh_CN): »ùÓÚgtk+µÄÁ÷³Ìͼ³ÌÐò
Name: dia
Version: 0.92.2
-Release: 3
+Release: 4
Epoch: 1
License: GPL
Group: X11/Applications/Graphics
## this for pre releases
##Source0: http://ftp.gnome.org/pub/GNOME/sources/dia/%{version}/%{name}-%{version}-%{pre}.tar.bz2
#Patch0: dia-state.patch
-Patch1: dia-am.patch
+Patch1: %{name}-am.patch
Patch2: %{name}-home_etc.patch
+Patch3: %{name}-locale-names.patch
+Patch4: %{name}-ft_includes.patch
+Patch5: %{name}-python.patch
URL: http://www.lysator.liu.se/~alla/dia/dia.html
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gettext-devel
-BuildRequires: intltool
-BuildRequires: libgnomeui-devel
+BuildRequires: intltool >= 0.21
+BuildRequires: libart_lgpl-devel
+BuildRequires: libgnomeui-devel >= 2.0.0
+BuildRequires: libpng-devel
BuildRequires: libtool
+BuildRequires: libxml2-devel >= 2.3.9
BuildRequires: libxslt-devel
+BuildRequires: popt-devel
+BuildRequires: python-devel >= 2.3
+BuildRequires: python-pygtk-devel
+Requires: python-modules >= 2.3
+Requires: python-pygtk
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
#%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+
+mv po/{no,nb}.po
%build
%{__libtoolize}
%{__autoheader}
%{__autoconf}
%{__automake}
-%configure
+%configure \
+ --enable-gnome \
+ --with-python
+
%{__make}
%install