]>
Commit | Line | Data |
---|---|---|
8fbfe749 | 1 | # |
2 | # TODO: fix text display in the game | |
3 | # | |
4 | Summary: 2d arcade-puzzle game like KDiamonds | |
5 | Summary(pl.UTF-8): Logiczno-zręcznościowa gra podobna do KDiamonds | |
6 | Name: jag | |
7 | Version: 0.3.1 | |
8 | Release: 0.1 | |
9 | License: GPL | |
10 | Group: X11/Applications/Games | |
03d8aef5 | 11 | Source0: http://jag.xlabsoft.com/files/%{name}-%{version}-src.zip |
8fbfe749 | 12 | # Source0-md5: 78a408629ca9858dc8279d9c124386f7 |
13 | Patch0: %{name}-paths.patch | |
14 | URL: http://jag.xlabsoft.com | |
8fbfe749 | 15 | BuildRequires: OpenGL-GLU-devel |
03d8aef5 | 16 | BuildRequires: OpenGL-devel |
8fbfe749 | 17 | BuildRequires: QtGui-devel |
18 | BuildRequires: QtOpenGL-devel | |
19 | BuildRequires: QtXml-devel | |
20 | BuildRequires: SDL_mixer-devel | |
21 | BuildRequires: qt4-build | |
22 | BuildRequires: qt4-qmake | |
23 | BuildRequires: sed >= 4.0 | |
24 | BuildRequires: unzip | |
25 | BuildRequires: xorg-lib-libXrandr-devel | |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | JAG is an arcade-puzzle 2D game similar to KDiamonds, Cradle of Rome, | |
30 | Big Kahuna Reef etc. The aim of JAG is to break all of the target | |
31 | pieces on each level, and to do this before the time runs out. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | JAG jest logiczno-zręcznościową grą podobną do KDiamonds, Cradle of | |
35 | Rome, Big Kahuna Reef itp. Celem gry jest zniszczenie wszystkich | |
36 | elementów na danym poziomie oraz zmieszczenie się w wyznaczonych | |
37 | granicach czasu. | |
38 | ||
39 | %prep | |
40 | %setup -q -n %{name}-%{version}-src | |
edfd44eb | 41 | %{__sed} -i -e 's,\r$,,' editor/editor.pro Game.pro main.cpp |
63e469fb | 42 | %patch0 -p1 |
edfd44eb | 43 | |
8fbfe749 | 44 | %build |
45 | qmake-qt4 | |
10cc5b89 | 46 | %{__make} \ |
47 | CXX="%{__cxx}" \ | |
48 | CXXFLAGS="%{rpmcppflags} %{rpmcxxflags}" \ | |
49 | LFLAGS="%{rpmcxxflags} %{rpmldflags}" | |
8fbfe749 | 50 | |
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__make} install \ | |
55 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
62 | %doc README | |
63 | %attr(755,root,root) %{_bindir}/jag | |
10cc5b89 | 64 | %{_datadir}/games/%{name} |