]>
Commit | Line | Data |
---|---|---|
1445a961 ZU |
1 | Summary: Flyer is a cool and fun 2D flight simulation |
2 | Summary(hu.UTF-8): Flyer egy nagyszerű és szórakoztató 2D repülő szimulátor | |
3 | Name: flyer | |
4 | Version: 0.1 | |
5 | Release: 0.1 | |
6 | License: GPL v2 | |
7 | Group: X11/Applications/Games | |
8 | Source0: http://flyer2d.googlecode.com/files/%{name}-%{version}-src.tar.gz | |
9 | # Source0-md5: fc923a6272512f7e207661e57a908b79 | |
10 | Patch0: %{name}-box2d-include-string.patch | |
11 | Patch1: %{name}-limits.patch | |
12 | URL: http://code.google.com/p/flyer2d/ | |
13 | BuildRequires: QtOpenGL-devel | |
14 | BuildRequires: qt4-qmake | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | Flyer is a cool and fun 2D flight simulation. | |
19 | ||
20 | %description -l hu.UTF-8 | |
21 | Flyer egy nagyszerű és szórakoztató 2D repülő szimulátor | |
22 | ||
23 | %prep | |
24 | %setup -q | |
25 | %patch0 -p1 | |
26 | %patch1 -p1 | |
27 | ||
28 | %build | |
29 | qmake-qt4 | |
30 | %{__make} CPPFLAGS="-include string.h" | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | install -d $RPM_BUILD_ROOT%{_bindir} | |
35 | install bin/* $RPM_BUILD_ROOT%{_bindir} | |
36 | ||
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %files | |
41 | %defattr(644,root,root,755) | |
42 | %doc README | |
43 | %attr(755,root,root) %{_bindir}/* |