1 Summary: An implementation of Albert Einstein's puzzle
2 Summary(pl.UTF-8): Implementacja gry logicznej Alberta Einsteina
7 Group: X11/Applications/Games
8 Source0: http://games.flowix.com/files/einstein/%{name}-%{version}-src.tar.gz
9 # Source0-md5: c1d98e761c10af63f03462ead625f80c
10 Source1: %{name}.desktop
11 Patch0: %{name}-makefile.patch
12 Patch1: %{name}-gcc43.patch
13 Patch2: %{name}-kill-warnings.patch
14 URL: http://games.flowix.com/
15 BuildRequires: SDL-devel
16 BuildRequires: SDL_mixer-devel
17 BuildRequires: SDL_ttf-devel
18 BuildRequires: libstdc++-devel
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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.
38 OPTIMIZE="%{rpmcflags}"
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_desktopdir}
45 DESTDIR=$RPM_BUILD_ROOT
47 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %attr(755,root,root) %{_bindir}/*
57 %{_desktopdir}/%{name}.desktop