]>
Commit | Line | Data |
---|---|---|
efb070b3 | 1 | Summary: Nintendo DS emulator |
f390f899 | 2 | Summary(pl.UTF-8): Emulator Nintendo DS |
efb070b3 | 3 | Name: desmume |
0c850c91 | 4 | Version: 0.9.7 |
efb070b3 | 5 | Release: 1 |
6 | License: GPL v2+ | |
f87f4b46 | 7 | Group: Applications/Emulators |
1573a0ab | 8 | Source0: http://downloads.sourceforge.net/desmume/%{name}-%{version}.tar.gz |
0c850c91 | 9 | # Source0-md5: c33440e6a02c44248871ec2eec6a3760 |
f87f4b46 | 10 | Patch0: %{name}-desktop.patch |
f024a0e5 | 11 | Patch1: %{name}-shadowing.patch |
997a4d7e | 12 | URL: http://desmume.org/ |
1573a0ab | 13 | BuildRequires: OpenGL-GLU-devel |
14 | BuildRequires: OpenGL-devel | |
efb070b3 | 15 | BuildRequires: SDL-devel |
1573a0ab | 16 | BuildRequires: agg-devel |
0c850c91 | 17 | BuildRequires: autoconf |
18 | BuildRequires: automake | |
349b7023 | 19 | BuildRequires: gettext-tools |
dd8b044b | 20 | BuildRequires: gtk+2-devel >= 1:2.0 |
f87f4b46 | 21 | BuildRequires: gtkglext-devel |
1269e36a | 22 | BuildRequires: intltool |
dd8b044b JB |
23 | BuildRequires: libglade2-devel >= 2.0 |
24 | BuildRequires: pkgconfig | |
d125be38 | 25 | BuildRequires: rpmbuild(macros) >= 1.197 |
dd8b044b | 26 | BuildRequires: zlib-devel |
3f548d45 | 27 | BuildRequires: zziplib-devel >= 0.13.49 |
efb070b3 | 28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
29 | ||
30 | %description | |
31 | DeSmuME is a Nintendo DS emulator running demos and commercial games. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | DeSmuME jest emulatorem Nintendo DS, który uruchamia również wersje | |
35 | demonstracyjne i gry komercyjne. | |
36 | ||
37 | %prep | |
38 | %setup -q | |
f87f4b46 | 39 | %patch0 -p1 |
f024a0e5 | 40 | %patch1 -p1 |
efb070b3 | 41 | |
42 | %build | |
0c850c91 | 43 | %{__aclocal} |
44 | %{__autoconf} | |
45 | %{__automake} | |
efb070b3 | 46 | %configure |
47 | %{__make} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %{__make} install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
0c850c91 | 55 | %find_lang %{name} --all-name |
87fa2783 | 56 | |
efb070b3 | 57 | %clean |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
0c850c91 | 60 | %files -f %{name}.lang |
efb070b3 | 61 | %defattr(644,root,root,755) |
62 | %doc AUTHORS ChangeLog README | |
0c850c91 | 63 | %attr(755,root,root) %{_bindir}/desmume |
64 | %attr(755,root,root) %{_bindir}/desmume-cli | |
65 | %attr(755,root,root) %{_bindir}/desmume-glade | |
f87f4b46 | 66 | %{_desktopdir}/%{name}.desktop |
0c850c91 | 67 | %{_desktopdir}/%{name}-glade.desktop |
3f548d45 | 68 | %{_mandir}/man1/desmume*.1* |
f87f4b46 | 69 | %{_pixmapsdir}/DeSmuME.xpm |