1 |
Name: tbe |
2 |
Version: 0.9.3.1 |
3 |
Release: %mkrel 6 |
4 |
Summary: The Butterfly Effect is a physics-based puzzle game |
5 |
Group: Games/Puzzles |
6 |
License: GPLv2 |
7 |
URL: http://the-butterfly-effect.org |
8 |
Source0: https://github.com/the-butterfly-effect/tbe/archive/v%{version}/%{name}-%{version}.tar.gz |
9 |
Patch0: %{name}-0.9.3.1-mga-i18n-update.patch |
10 |
Patch1: %{name}-0.9.3.1-mga-last-level.patch |
11 |
Patch2: %{name}-0.9.3.1-mga-description.patch |
12 |
|
13 |
BuildRequires: cmake |
14 |
BuildRequires: gettext |
15 |
BuildRequires: pkgconfig(Qt5Core) |
16 |
BuildRequires: pkgconfig(Qt5Gui) |
17 |
BuildRequires: pkgconfig(Qt5Help) |
18 |
BuildRequires: pkgconfig(Qt5Svg) |
19 |
BuildRequires: pkgconfig(Qt5Xml) |
20 |
BuildRequires: pkgconfig(Qt5Widgets) |
21 |
BuildRequires: qttools5 |
22 |
Provides: thebutterflyeffect = %{version}-%{release} |
23 |
|
24 |
%description |
25 |
The Butterfly Effect uses realistic physics simulations to combine |
26 |
lots of simple mechanical elements to achieve a simple goal in the |
27 |
most complex way possible. |
28 |
|
29 |
%prep |
30 |
%setup -q |
31 |
%autopatch -p1 |
32 |
|
33 |
%build |
34 |
%cmake -DWITH_DOCS=OFF \ |
35 |
-DBUILD_SHARED_LIBS=OFF \ |
36 |
-DCMAKE_BUILD_TYPE=Release |
37 |
%cmake_build |
38 |
|
39 |
%install |
40 |
%cmake_install |
41 |
|
42 |
%files |
43 |
%doc AUTHORS DESCRIPTION README.md installer/License imagery/README.* |
44 |
%{_datadir}/applications/%{name}.desktop |
45 |
%{_gamesbindir}/%{name} |
46 |
%{_gamesdatadir}/%{name}/ |
47 |
%{_iconsdir}/hicolor/*/apps/%{name}.png |