]>
Commit | Line | Data |
---|---|---|
af09ce4d | 1 | Summary: An implementation of Albert Einstein's puzzle |
e5810866 | 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 | |
11 | URL: http://games.flowix.com/ | |
12 | BuildRequires: SDL-devel | |
8205ec63 | 13 | BuildRequires: SDL_mixer-devel |
14 | BuildRequires: SDL_ttf-devel | |
2a4d4b2e | 15 | BuildRequires: libstdc++-devel |
af09ce4d | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
8205ec63 | 19 | The game goal is to open all cards in square of 6x6 cards. For this, a |
20 | number of hints describing relations between card positions are given. | |
af09ce4d | 21 | |
e5810866 JR |
22 | %description -l pl.UTF-8 |
23 | Celem gry jest odsłonięcie wszystkich kart w kwadracie 6x6 za pomocą | |
24 | podpowiedzi opisujących relacje pomiędzy poszczególnymi kartami. | |
af09ce4d | 25 | |
26 | %prep | |
8205ec63 | 27 | %setup -q |
af09ce4d | 28 | %patch0 -p1 |
29 | ||
30 | %build | |
2a4d4b2e JB |
31 | %{__make} \ |
32 | CXX="%{__cxx}" \ | |
33 | OPTIMIZE="%{rpmcflags}" | |
af09ce4d | 34 | |
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %{__make} install \ | |
39 | DESTDIR=$RPM_BUILD_ROOT | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc README | |
47 | %attr(755,root,root) %{_bindir}/* | |
48 | %{_datadir}/%{name} |