]> git.pld-linux.org Git - packages/desmume.git/blob - desmume.spec
- up to 0.9.5
[packages/desmume.git] / desmume.spec
1 #
2 # TODO: fix build with %%find_lang macro
3 #
4 Summary:        Nintendo DS emulator
5 Summary(pl.UTF-8):      Emulator Nintendo DS
6 Name:           desmume
7 Version:        0.9.5
8 Release:        1
9 License:        GPL v2+
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)
30
31 %description
32 DeSmuME is a Nintendo DS emulator running demos and commercial games.
33
34 %description -l pl.UTF-8
35 DeSmuME jest emulatorem Nintendo DS, który uruchamia również wersje
36 demonstracyjne i gry komercyjne.
37
38 %prep
39 %setup -q
40 %patch0 -p1
41 %patch1 -p1
42
43 %build
44 %{__aclocal}
45 %{__autoconf}
46 %{__automake}
47 %configure
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 #%%find_lang %{name} --all-name
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 #%%files -f %{name}.lang
62 %files
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
This page took 0.064061 seconds and 4 git commands to generate.