]> git.pld-linux.org Git - packages/einstein.git/blob - einstein.spec
03e4b9200e2e170cd3a7cc9ba7c714d0ec8f7977
[packages/einstein.git] / einstein.spec
1 Summary:        An implementation of Albert Einstein's puzzle
2 Summary(pl.UTF-8):      Implementacja gry logicznej Alberta Einsteina
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 Patch1:         %{name}-gcc43.patch
12 Patch2:         %{name}-kill-warnings.patch
13 URL:            http://games.flowix.com/
14 BuildRequires:  SDL-devel
15 BuildRequires:  SDL_mixer-devel
16 BuildRequires:  SDL_ttf-devel
17 BuildRequires:  libstdc++-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
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.
23
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.
27
28 %prep
29 %setup -q
30 %patch0 -p1
31 %patch1 -p1
32 %patch2 -p1
33
34 %build
35 %{__make} \
36         CXX="%{__cxx}" \
37         OPTIMIZE="%{rpmcflags}"
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}
This page took 0.129038 seconds and 2 git commands to generate.