2 # TODO: fix build with %%find_lang macro
4 Summary: Nintendo DS emulator
5 Summary(pl.UTF-8): Emulator Nintendo DS
10 Group: Applications/Emulators
11 Source0: http://downloads.sourceforge.net/desmume/%{name}-%{version}.tar.gz
12 # Source0-md5: 2b188ef0d51c05fda7fded2eba0afe62
13 Patch0: %{name}-desktop.patch
14 Patch1: %{name}-shadowing.patch
15 URL: http://desmume.org/
16 BuildRequires: OpenGL-GLU-devel
17 BuildRequires: OpenGL-devel
18 BuildRequires: SDL-devel
19 BuildRequires: agg-devel
20 BuildRequires: autoconf
21 BuildRequires: automake
22 BuildRequires: gtk+2-devel >= 1:2.0
23 BuildRequires: gtkglext-devel
24 BuildRequires: libglade2-devel >= 2.0
25 BuildRequires: pkgconfig
26 BuildRequires: rpmbuild(macros) >= 1.197
27 BuildRequires: zlib-devel
28 BuildRequires: zziplib-devel >= 0.13.49
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 DeSmuME is a Nintendo DS emulator running demos and commercial games.
34 %description -l pl.UTF-8
35 DeSmuME jest emulatorem Nintendo DS, który uruchamia również wersje
36 demonstracyjne i gry komercyjne.
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
56 #%%find_lang %{name} --all-name
59 rm -rf $RPM_BUILD_ROOT
61 #%%files -f %{name}.lang
63 %defattr(644,root,root,755)
64 %doc AUTHORS ChangeLog README
65 %attr(755,root,root) %{_bindir}/*
66 %{_desktopdir}/%{name}.desktop
67 %{_mandir}/man1/desmume*.1*
68 %{_pixmapsdir}/DeSmuME.xpm