]>
Commit | Line | Data |
---|---|---|
eb4780a9 AG |
1 | Summary: clone of duke nukem |
2 | Summary(pl.UTF-8): klon gry duke nukem | |
3 | Name: freenukum | |
4 | Version: 0.2.10 | |
5 | Release: 1 | |
6 | License: GPL v3 | |
7 | Group: X11/Applications/Games | |
8 | Source0: http://launchpad.net/freenukum/trunk/0.2/+download/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 21c6d87944518ba88060988bbf78113e | |
10 | Patch0: %{name}-as-needed.patch | |
11 | Patch1: %{name}-no-wall-werror.patch | |
12 | URL: https://launchpad.net/freenukum/ | |
13 | BuildRequires: ImageMagick-coder-png | |
14 | BuildRequires: ImageMagick-coder-svg | |
15 | BuildRequires: SDL-devel | |
16 | BuildRequires: SDL_ttf-devel | |
17 | BuildRequires: autoconf | |
18 | BuildRequires: automake | |
19 | BuildRequires: curl-devel | |
20 | BuildRequires: glib2-devel | |
21 | BuildRequires: libtool | |
22 | BuildRequires: libzip-devel | |
23 | BuildRequires: pkgconfig >= 0.9 | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | The Freenukum Jump'n Run game is a clone of the old EGA graphics based | |
28 | 2D game Duke Nukem. It uses the original Duke Nukem level and graphics | |
29 | files. | |
30 | ||
31 | %description -l pl.UTF-8 | |
32 | Gra typu Jump'n Run Freenukem to klon gry z ery kart graficznych EGA. | |
33 | Wykorzystywane są oryginalne pliki z poziomami i grafikami. | |
34 | ||
35 | %prep | |
36 | %setup -q | |
37 | %patch0 -p1 | |
38 | %patch1 -p1 | |
39 | ||
40 | %build | |
41 | %{__libtoolize} | |
42 | %{__aclocal} -I m4 | |
43 | %{__autoconf} | |
44 | %{__autoheader} | |
45 | %{__automake} | |
46 | %configure | |
47 | ||
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files | |
60 | %defattr(644,root,root,755) | |
61 | %doc AUTHORS README | |
62 | %attr(755,root,root) %{_bindir}/* | |
63 | %{_mandir}/man6/freenukum.6* | |
64 | %{_desktopdir}/freenukum.desktop | |
65 | %{_iconsdir}/*/*/*/* |