]> git.pld-linux.org Git - packages/jag.git/blame - jag.spec
- stupidity, reversed
[packages/jag.git] / jag.spec
CommitLineData
8fbfe749 1#
2# TODO: fix text display in the game
3#
4Summary: 2d arcade-puzzle game like KDiamonds
5Summary(pl.UTF-8): Logiczno-zręcznościowa gra podobna do KDiamonds
6Name: jag
7Version: 0.3.1
8Release: 0.1
9License: GPL
10Group: X11/Applications/Games
03d8aef5 11Source0: http://jag.xlabsoft.com/files/%{name}-%{version}-src.zip
8fbfe749 12# Source0-md5: 78a408629ca9858dc8279d9c124386f7
13Patch0: %{name}-paths.patch
14URL: http://jag.xlabsoft.com
8fbfe749 15BuildRequires: OpenGL-GLU-devel
03d8aef5 16BuildRequires: OpenGL-devel
8fbfe749 17BuildRequires: QtGui-devel
18BuildRequires: QtOpenGL-devel
19BuildRequires: QtXml-devel
20BuildRequires: SDL_mixer-devel
21BuildRequires: qt4-build
22BuildRequires: qt4-qmake
23BuildRequires: sed >= 4.0
24BuildRequires: unzip
25BuildRequires: xorg-lib-libXrandr-devel
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29JAG is an arcade-puzzle 2D game similar to KDiamonds, Cradle of Rome,
30Big Kahuna Reef etc. The aim of JAG is to break all of the target
31pieces on each level, and to do this before the time runs out.
32
33%description -l pl.UTF-8
34JAG jest logiczno-zręcznościową grą podobną do KDiamonds, Cradle of
35Rome, Big Kahuna Reef itp. Celem gry jest zniszczenie wszystkich
36elementów na danym poziomie oraz zmieszczenie się w wyznaczonych
37granicach 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
45qmake-qt4
10cc5b89 46%{__make} \
47 CXX="%{__cxx}" \
48 CXXFLAGS="%{rpmcppflags} %{rpmcxxflags}" \
49 LFLAGS="%{rpmcxxflags} %{rpmldflags}"
8fbfe749 50
51%install
52rm -rf $RPM_BUILD_ROOT
53
54%{__make} install \
55 INSTALL_ROOT=$RPM_BUILD_ROOT
56
57%clean
58rm -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}
This page took 0.228881 seconds and 4 git commands to generate.