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