]> git.pld-linux.org Git - packages/einstein.git/blob - einstein.spec
- +pl
[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:        3
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 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)
20
21 %description
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.
24
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.
28
29 %prep
30 %setup -q
31 %patch0 -p1
32 %patch1 -p1
33 %patch2 -p1
34
35 %build
36 %{__make} \
37         CXX="%{__cxx}" \
38         OPTIMIZE="%{rpmcflags}"
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_desktopdir}
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
48
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}
57 %{_desktopdir}/%{name}.desktop
This page took 0.120514 seconds and 3 git commands to generate.