]>
Commit | Line | Data |
---|---|---|
af09ce4d | 1 | Summary: An implementation of Albert Einstein's puzzle |
d38d201a | 2 | Summary(pl.UTF-8): Implementacja gry logicznej Alberta Einsteina |
af09ce4d | 3 | Name: einstein |
4 | Version: 2.0 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: X11/Applications/Games | |
8 | Source0: http://games.flowix.com/files/einstein/%{name}-%{version}-src.tar.gz | |
9 | # Source0-md5: c1d98e761c10af63f03462ead625f80c | |
10 | Patch0: %{name}-makefile.patch | |
21553f47 AG |
11 | Patch1: %{name}-gcc43.patch |
12 | Patch2: %{name}-kill-warnings.patch | |
af09ce4d | 13 | URL: http://games.flowix.com/ |
14 | BuildRequires: SDL-devel | |
8205ec63 | 15 | BuildRequires: SDL_mixer-devel |
16 | BuildRequires: SDL_ttf-devel | |
2a4d4b2e | 17 | BuildRequires: libstdc++-devel |
af09ce4d | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
8205ec63 | 21 | The game goal is to open all cards in square of 6x6 cards. For this, a |
22 | number of hints describing relations between card positions are given. | |
af09ce4d | 23 | |
e5810866 JR |
24 | %description -l pl.UTF-8 |
25 | Celem gry jest odsłonięcie wszystkich kart w kwadracie 6x6 za pomocą | |
26 | podpowiedzi opisujących relacje pomiędzy poszczególnymi kartami. | |
af09ce4d | 27 | |
28 | %prep | |
8205ec63 | 29 | %setup -q |
af09ce4d | 30 | %patch0 -p1 |
21553f47 AG |
31 | %patch1 -p1 |
32 | %patch2 -p1 | |
af09ce4d | 33 | |
34 | %build | |
2a4d4b2e JB |
35 | %{__make} \ |
36 | CXX="%{__cxx}" \ | |
37 | OPTIMIZE="%{rpmcflags}" | |
af09ce4d | 38 | |
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %{__make} install \ | |
43 | DESTDIR=$RPM_BUILD_ROOT | |
44 | ||
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
50 | %doc README | |
51 | %attr(755,root,root) %{_bindir}/* | |
52 | %{_datadir}/%{name} |