-#
-# TODO: fix build with autotools (problem with intltool >= 0.40.4)
-#
Summary: Nintendo DS emulator
Summary(pl.UTF-8): Emulator Nintendo DS
Name: desmume
-Version: 0.9.6
+Version: 0.9.7
Release: 1
License: GPL v2+
Group: Applications/Emulators
Source0: http://downloads.sourceforge.net/desmume/%{name}-%{version}.tar.gz
-# Source0-md5: 982aef3a696c6a81decd2ee35bf7899a
+# Source0-md5: c33440e6a02c44248871ec2eec6a3760
Patch0: %{name}-desktop.patch
Patch1: %{name}-shadowing.patch
URL: http://desmume.org/
BuildRequires: OpenGL-devel
BuildRequires: SDL-devel
BuildRequires: agg-devel
-#BuildRequires: autoconf
-#BuildRequires: automake
+BuildRequires: autoconf
+BuildRequires: automake
BuildRequires: gtk+2-devel >= 1:2.0
BuildRequires: gtkglext-devel
BuildRequires: libglade2-devel >= 2.0
%patch1 -p1
%build
-#%%{__aclocal}
-#%%{__autoconf}
-#%%{__automake}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
%configure
%{__make}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-#%%find_lang %{name} --all-name
+%find_lang %{name} --all-name
%clean
rm -rf $RPM_BUILD_ROOT
-#%%files -f %{name}.lang
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/desmume
+%attr(755,root,root) %{_bindir}/desmume-cli
+%attr(755,root,root) %{_bindir}/desmume-glade
%{_desktopdir}/%{name}.desktop
+%{_desktopdir}/%{name}-glade.desktop
%{_mandir}/man1/desmume*.1*
%{_pixmapsdir}/DeSmuME.xpm