]> git.pld-linux.org Git - packages/desmume.git/blob - desmume.spec
- updated gettext BR
[packages/desmume.git] / desmume.spec
1 Summary:        Nintendo DS emulator
2 Summary(pl.UTF-8):      Emulator Nintendo DS
3 Name:           desmume
4 Version:        0.9.7
5 Release:        1
6 License:        GPL v2+
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)
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
39 %patch0 -p1
40 %patch1 -p1
41
42 %build
43 %{__aclocal}
44 %{__autoconf}
45 %{__automake}
46 %configure
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %find_lang %{name} --all-name
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
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
This page took 0.081528 seconds and 4 git commands to generate.