]> git.pld-linux.org Git - packages/einstein.git/blame - einstein.spec
- +pl
[packages/einstein.git] / einstein.spec
CommitLineData
af09ce4d 1Summary: An implementation of Albert Einstein's puzzle
d38d201a 2Summary(pl.UTF-8): Implementacja gry logicznej Alberta Einsteina
af09ce4d 3Name: einstein
4Version: 2.0
e1cbb6d5 5Release: 3
af09ce4d 6License: GPL
7Group: X11/Applications/Games
8Source0: http://games.flowix.com/files/einstein/%{name}-%{version}-src.tar.gz
9# Source0-md5: c1d98e761c10af63f03462ead625f80c
e1cbb6d5 10Source1: %{name}.desktop
af09ce4d 11Patch0: %{name}-makefile.patch
21553f47
AG
12Patch1: %{name}-gcc43.patch
13Patch2: %{name}-kill-warnings.patch
af09ce4d 14URL: http://games.flowix.com/
15BuildRequires: SDL-devel
8205ec63 16BuildRequires: SDL_mixer-devel
17BuildRequires: SDL_ttf-devel
2a4d4b2e 18BuildRequires: libstdc++-devel
af09ce4d 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
8205ec63 22The game goal is to open all cards in square of 6x6 cards. For this, a
23number of hints describing relations between card positions are given.
af09ce4d 24
e5810866
JR
25%description -l pl.UTF-8
26Celem gry jest odsłonięcie wszystkich kart w kwadracie 6x6 za pomocą
27podpowiedzi 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
41rm -rf $RPM_BUILD_ROOT
e1cbb6d5 42install -d $RPM_BUILD_ROOT%{_desktopdir}
af09ce4d 43
44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
46
e1cbb6d5
AG
47install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
48
af09ce4d 49%clean
50rm -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
This page took 0.057701 seconds and 4 git commands to generate.