]>
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 | |
e1cbb6d5 | 5 | Release: 3 |
af09ce4d | 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 | |
e1cbb6d5 | 10 | Source1: %{name}.desktop |
af09ce4d | 11 | Patch0: %{name}-makefile.patch |
21553f47 AG |
12 | Patch1: %{name}-gcc43.patch |
13 | Patch2: %{name}-kill-warnings.patch | |
af09ce4d | 14 | URL: http://games.flowix.com/ |
15 | BuildRequires: SDL-devel | |
8205ec63 | 16 | BuildRequires: SDL_mixer-devel |
17 | BuildRequires: SDL_ttf-devel | |
2a4d4b2e | 18 | BuildRequires: libstdc++-devel |
af09ce4d | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
8205ec63 | 22 | The game goal is to open all cards in square of 6x6 cards. For this, a |
23 | number of hints describing relations between card positions are given. | |
af09ce4d | 24 | |
e5810866 JR |
25 | %description -l pl.UTF-8 |
26 | Celem gry jest odsłonięcie wszystkich kart w kwadracie 6x6 za pomocą | |
27 | podpowiedzi opisujących relacje pomiędzy poszczególnymi kartami. | |
af09ce4d | 28 | |
29 | %prep | |
8205ec63 | 30 | %setup -q |
af09ce4d | 31 | %patch0 -p1 |
21553f47 AG |
32 | %patch1 -p1 |
33 | %patch2 -p1 | |
af09ce4d | 34 | |
35 | %build | |
2a4d4b2e JB |
36 | %{__make} \ |
37 | CXX="%{__cxx}" \ | |
38 | OPTIMIZE="%{rpmcflags}" | |
af09ce4d | 39 | |
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
e1cbb6d5 | 42 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
af09ce4d | 43 | |
44 | %{__make} install \ | |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
e1cbb6d5 AG |
47 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
48 | ||
af09ce4d | 49 | %clean |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc README | |
55 | %attr(755,root,root) %{_bindir}/* | |
56 | %{_datadir}/%{name} | |
e1cbb6d5 | 57 | %{_desktopdir}/%{name}.desktop |